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

This commit is contained in:
Thomas Schmitt 2011-05-22 16:35:22 +02:00
parent 2b8d47ddd8
commit 777f74ea0b
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,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