Skip to content

Commit f445d88

Browse files
committed
Revert "Check and enable -Wshadow by default."
This reverts commit fd5654c. This is still causing too many warnings for some compiler combinations, forget it for now.
1 parent e0477f6 commit f445d88

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

configure.ac

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,6 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
203203
AX_CHECK_COMPILE_FLAG([-Wextra],[CXXFLAGS="$CXXFLAGS -Wextra"],,[[$CXXFLAG_WERROR]])
204204
AX_CHECK_COMPILE_FLAG([-Wformat],[CXXFLAGS="$CXXFLAGS -Wformat"],,[[$CXXFLAG_WERROR]])
205205
AX_CHECK_COMPILE_FLAG([-Wformat-security],[CXXFLAGS="$CXXFLAGS -Wformat-security"],,[[$CXXFLAG_WERROR]])
206-
AX_CHECK_COMPILE_FLAG([-Wshadow],[CXXFLAGS="$CXXFLAGS -Wshadow"],,[[$CXXFLAG_WERROR]])
207206

208207
## Some compilers (gcc) ignore unknown -Wno-* options, but warn about all
209208
## unknown options if any other warning is produced. Test the -Wfoo case, and

0 commit comments

Comments
 (0)