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

This commit is contained in:
Thomas Schmitt 2011-05-22 14:37:06 +00:00
parent b2263411ba
commit dce54b4245
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -1 +1 @@
#define Xorriso_timestamP "2011.05.20.175842" #define Xorriso_timestamP "2011.05.22.143652"