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

master
Thomas Schmitt 12 years ago
parent 4d10375cb9
commit cd606177c6
  1. 2
      configure.ac
  2. 2
      xorriso/configure_ac.txt
  3. 2
      xorriso/xorriso_timestamp.h

@ -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

@ -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

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

Loading…
Cancel
Save