aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-06-23 20:51:31 +0000
committerGuy Harris <guy@alum.mit.edu>2008-06-23 20:51:31 +0000
commit3235c5b4f47ce35f6fb86d55fbb56e3d96a2c035 (patch)
treeea87c4e9808c875309c8f2465f8fe2fe9301b55a
parent2a6564dea901f4911d7e22e0cbdecc2f0b77961f (diff)
Temporarily make -Wshadow not a default.
svn path=/trunk/; revision=25550
-rw-r--r--configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 52a6629b6c..2d70ea6933 100644
--- a/configure.in
+++ b/configure.in
@@ -244,6 +244,9 @@ AC_ARG_ENABLE(extra-gcc-checks,
#increases required alignment of target type' on the Solaris
#slave.
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wcast-align)
+ #Temporarily put shadow here awaiting eradication of a pile
+ #of new warnings.
+ AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshadow)
fi
],)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wall -W) /* -W is now known as -Wextra */
@@ -252,7 +255,6 @@ AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wendif-labels)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wpointer-arith)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-pointer-sign)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Warray-bounds)
-AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshadow)
#
# If we're running gcc add '-D_U_="__attribute__((unused))"' to CFLAGS as well,