Added options -Wextra -Wno-unused-parameter for gcc

This commit is contained in:
Thomas Schmitt 2011-05-22 14:31:54 +00:00
parent f85cb8269f
commit 46357869fc

View File

@ -296,7 +296,7 @@ if test x$enable_debug != xyes; then
CFLAGS="-DNDEBUG $CFLAGS"
else
if test x$GCC = xyes; then
CFLAGS="-g -pedantic -Wall $CFLAGS"
CFLAGS="-g -pedantic -Wall -Wextra -Wno-unused-parameter $CFLAGS"
fi
CFLAGS="-DDEBUG $CFLAGS"
fi