More warnings in debug mode.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@715 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2006-09-16 15:56:26 +00:00
parent 74c69f2a47
commit 02ee180072
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ AC_ARG_ENABLE(debug,
AC_MSG_CHECKING([whether to compile in debug mode])
if test "x$debug" = "xyes" ; then
# -O0 turns off all optimizations; this is necessary for accurate debugging
WZ_CFLAGS="${WZ_CFLAGS} -g3 -O0 -Wall -DDEBUG"
WZ_CFLAGS="${WZ_CFLAGS} -g3 -O0 -Wall -Wextra -Wwrite-strings -Wcast-qual -Wmissing-declarations -Wstrict-prototypes -Wold-style-definition -DDEBUG"
AC_MSG_RESULT([yes])
else
WZ_CFLAGS="${WZ_CFLAGS} -DNDEBUG"