aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2012-12-04 19:03:51 +0000
committerBill Meier <wmeier@newsguy.com>2012-12-04 19:03:51 +0000
commit12f5acaefbf1cf56ed774898e5a69b8373f04fba (patch)
treeb909e0d7c8d946b13dac283ef81f0c620f59e442 /configure.ac
parent224666c60ed362d7f4a7b119638e6d903aa84006 (diff)
Enable gcc -Wshadow for default *nix builds;
AFAIK, all GTK Wireshark non-dirty sources now compile without [-Wshadow] warnings. (Altho I haven't tried the QT build or other possible build variants), hopefully any remaining [-Wshadow] warnings for non-dirty source can be fixed as they occur. (Obviously this change can be reverted if there are many issues). So: let's see if any of the automated builds break; :) svn path=/trunk/; revision=46376
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index fff0778ad0..c629ce247b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -411,10 +411,6 @@ AC_ARG_ENABLE(extra-gcc-checks,
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wmissing-prototypes)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wmissing-declarations)
#
- # epan/dissectors/packet-afs.c blocks this one for now.
- #
- AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshadow)
- #
# More cleanup needed for this on LP64.
#
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshorten-64-to-32)
@@ -430,6 +426,7 @@ AC_WIRESHARK_GCC_CFLAGS_CHECK(-Warray-bounds)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wcast-align)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wformat-security)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wold-style-definition, C)
+AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wshadow)
AC_WIRESHARK_GCC_CFLAGS_CHECK(-Wno-error=unused-but-set-variable) ## for now
#
# Use the faster pre gcc 4.5 floating point precision if available;