diff options
author | Jörg Mayer <jmayer@loplof.de> | 2004-01-24 16:48:12 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2004-01-24 16:48:12 +0000 |
commit | 6e59f95cebdf2d1dc748d7f1ee06264a95fee03b (patch) | |
tree | 0938206fac53aeeeca1fd6d0fcc604cc347c5fb5 /wiretap/configure.in | |
parent | 65f18bb833c0259fa3705b6f3147f95354d4a101 (diff) | |
download | wireshark-6e59f95cebdf2d1dc748d7f1ee06264a95fee03b.tar.gz wireshark-6e59f95cebdf2d1dc748d7f1ee06264a95fee03b.tar.bz2 wireshark-6e59f95cebdf2d1dc748d7f1ee06264a95fee03b.zip |
Fix all fixable warnings
Move addional warnings from extra-gcc-checks to normal compilation flags
svn path=/trunk/; revision=9826
Diffstat (limited to 'wiretap/configure.in')
-rw-r--r-- | wiretap/configure.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wiretap/configure.in b/wiretap/configure.in index 1e39c8fd65..83e0f5a665 100644 --- a/wiretap/configure.in +++ b/wiretap/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.51 2004/01/10 16:51:07 obiot Exp $ +# $Id: configure.in,v 1.52 2004/01/24 16:48:12 jmayer Exp $ dnl dnl Process this file with autoconf 2.13 or later to produce a dnl configure script; 2.12 doesn't generate a "configure" script that @@ -44,12 +44,12 @@ AC_ARG_WITH(extra-gcc-checks, [ if test $withval != no then - ethereal_extra_gcc_flags=" -Wcast-align -Wbad-function-cast -pedantic" + ethereal_extra_gcc_flags=" " fi ],) AC_MSG_CHECKING(to see if we can add '-Wall -W -Wcast-qual$ethereal_extra_gcc_flags' to CFLAGS) if test x$GCC != x ; then - CFLAGS="-D_U_=\"__attribute__((unused))\" -Wall -W -Wcast-qual$ethereal_extra_gcc_flags $CFLAGS" + CFLAGS="-D_U_=\"__attribute__((unused))\" -Wall -W -Wcast-qual -Wcast-align -Wbad-function-cast -pedantic$ethereal_extra_gcc_flags $CFLAGS" AC_MSG_RESULT(yes) else CFLAGS="-D_U_=\"\" $CFLAGS" |