aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-04-22 23:47:56 +0000
committerGuy Harris <guy@alum.mit.edu>2007-04-22 23:47:56 +0000
commitaff8dc680daaf1bcf75a45670ad3aa21771e95f2 (patch)
tree2ad2407240a607b3f60d694ff5d433e180d0506e /wiretap
parent8ff9801ec152d3a34df0111ace12c9eb6fd1c689 (diff)
Turn on almost all warnings for Wiretap - if any of them cause problems
on some platforms due to unfixable problems (e.g., crappy vendor headers), we can move them back to the "extra" list. Put those warnings in the order in which they appear in the GCC man page on my machine. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. svn path=/trunk/; revision=21514
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/configure.in17
1 files changed, 9 insertions, 8 deletions
diff --git a/wiretap/configure.in b/wiretap/configure.in
index e7dd32febb..117135bab9 100644
--- a/wiretap/configure.in
+++ b/wiretap/configure.in
@@ -32,18 +32,19 @@ AC_ARG_ENABLE(extra-gcc-checks,
[
if test $enableval != no
then
- AC_WIRETAP_GCC_CFLAGS_CHECK(-Wcast-qual)
- AC_WIRETAP_GCC_CFLAGS_CHECK(-Wcast-align)
- AC_WIRETAP_GCC_CFLAGS_CHECK(-Wbad-function-cast)
- AC_WIRETAP_GCC_CFLAGS_CHECK(-pedantic)
- AC_WIRETAP_GCC_CFLAGS_CHECK(-Wstrict-prototypes)
- AC_WIRETAP_GCC_CFLAGS_CHECK(-Wmissing-declarations)
- AC_WIRETAP_GCC_CFLAGS_CHECK(-Wwrite-strings)
+ AC_WIRETAP_GCC_CFLAGS_CHECK(-pedantic)
+ AC_WIRETAP_GCC_CFLAGS_CHECK(-Wno-long-long)
fi
],)
AC_WIRETAP_GCC_CFLAGS_CHECK(-Wall -W)
-AC_WIRETAP_GCC_CFLAGS_CHECK(-Wpointer-arith)
AC_WIRETAP_GCC_CFLAGS_CHECK(-Wdeclaration-after-statement)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wpointer-arith)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wbad-function-cast)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wcast-qual)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wcast-align)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wwrite-strings)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wstrict-prototypes)
+AC_WIRETAP_GCC_CFLAGS_CHECK(-Wmissing-declarations)
AC_WIRETAP_GCC_CFLAGS_CHECK(-Wno-pointer-sign)
#