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

This commit is contained in:
Thomas Schmitt 2011-05-22 14:37:06 +00:00
parent 4d10375cb9
commit cd606177c6
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"
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

View File

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

View File

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