diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-07-13 00:55:58 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-07-13 00:55:58 +0000 |
commit | f7b50ca7544eb3776486375fb15b416a5e88d87b (patch) | |
tree | 7296d508f19728911cce7937d426784768575b2e /wiretap/configure.in | |
parent | 82a553e9c9275c9074b087b63e976ef63259dba9 (diff) | |
download | wireshark-f7b50ca7544eb3776486375fb15b416a5e88d87b.tar.gz wireshark-f7b50ca7544eb3776486375fb15b416a5e88d87b.tar.bz2 wireshark-f7b50ca7544eb3776486375fb15b416a5e88d87b.zip |
From Joerg Mayer:
* gcc 3.0 warning fixes:
- text2pcap.c: The number of characters to scan should probably not be 0
- wiretap/csids.c: using preincrement on a variable used on both
sides of an assignment might be undefined by the C99(?) standard
* turn on additional warnings for epan and wiretap too
- epan/configure.in
- wiretap/configure.in
* Fix some warnings (missing includes, signed/unsigned, missing
initializers) found by turning on the warnings
- all other files :-)
svn path=/trunk/; revision=3709
Diffstat (limited to 'wiretap/configure.in')
-rw-r--r-- | wiretap/configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/configure.in b/wiretap/configure.in index b9d42b581b..88c23375c8 100644 --- a/wiretap/configure.in +++ b/wiretap/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.27 2001/06/27 07:47:50 guy Exp $ +# $Id: configure.in,v 1.28 2001/07/13 00:55:57 guy 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 @@ -29,7 +29,7 @@ AC_SUBST(FLEX_PATH) # If we're running gcc, add '-Wall' to CFLAGS. AC_MSG_CHECKING(to see if we can add '-Wall' to CFLAGS) if test x$GCC != x ; then - CFLAGS="-Wall $CFLAGS" + CFLAGS="-Wall -W -Wno-unused $CFLAGS" AC_MSG_RESULT(yes) else AC_MSG_RESULT(no) |