configure: Add more warnings to CFLAGS in debug mode

Michael
This commit is contained in:
Michael Adam 2009-08-04 23:39:53 +02:00
parent 04b19ac8b4
commit c409e0f9d8

View File

@ -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