diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:54:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-04 07:54:42 +0000 |
commit | f7dee3b84631ab4c7fb384dd3f6bfd0e34e0ce49 (patch) | |
tree | fe6fbf63676c83e0079b49bdd5b2f97be3b68e85 /ares | |
parent | a7b504559863a9ccb71d6114974b7f7268b6f3e0 (diff) |
we use the more aggressive compiler warnings
Diffstat (limited to 'ares')
-rw-r--r-- | ares/configure.ac | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ares/configure.ac b/ares/configure.ac index 45c010939..448faecb8 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -31,10 +31,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), CPPFLAGS="$CPPFLAGS -DCURLDEBUG" CFLAGS="$CFLAGS -g" if test "$GCC" = "yes"; then - CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs" - - dnl here's a more aggressive set to use: - dnl CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wfloat-equal -Wsign-compare -Wunreachable-code" + CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wshadow -Wfloat-equal -Wsign-compare -Wunreachable-code" fi dnl strip off optimizer flags NEWFLAGS="" |