summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-04 23:39:53 +0200
committerMichael Adam <obnox@samba.org>2009-08-04 23:47:26 +0200
commitc409e0f9d86f8b2a0dc73a59a5b13a9e2375d23f (patch)
tree49c70d932325a55e91665b64959a57580d79478e
parent04b19ac8b4448e5ec6890d19163b5483a627b847 (diff)
downloadtinyproxy-c409e0f9d86f8b2a0dc73a59a5b13a9e2375d23f.tar.gz
tinyproxy-c409e0f9d86f8b2a0dc73a59a5b13a9e2375d23f.zip
configure: Add more warnings to CFLAGS in debug mode
Michael
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 540d0ba..14be70a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -246,6 +246,7 @@ if test x"$debug_enabled" = x"yes" ; then
CFLAGS="-Wshadow -Wcast-qual -Wcast-align -Wstrict-prototypes $CFLAGS"
CFLAGS="-Wmissing-prototypes -Wmissing-declarations $CFLAGS"
CFLAGS="-Wpointer-arith -Waggregate-return -Wnested-externs $CFLAGS"
+ CFLAGS="-Wwrite-strings -Wcomment -Wextra -Wc++-compat $CFLAGS"
fi
CFLAGS="-Wall -g $CFLAGS"
else