re-enable unused-parameter Warnings
This commit is contained in:
parent
55638c8023
commit
7091a81272
|
|
@ -1,3 +1,7 @@
|
||||||
|
2011-04-30 Robert Larice
|
||||||
|
* configure.ac :
|
||||||
|
re-enable unused-parameter Warnings
|
||||||
|
|
||||||
2011-04-30 Robert Larice
|
2011-04-30 Robert Larice
|
||||||
* **/* :
|
* **/* :
|
||||||
various cleanups
|
various cleanups
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ dnl the above AC_PROG_CC may set CFLAGS to "-O2 -g"
|
||||||
if test "$enable_debug" = "no"; then
|
if test "$enable_debug" = "no"; then
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
AC_MSG_WARN(Removing debugging option!)
|
AC_MSG_WARN(Removing debugging option!)
|
||||||
CFLAGS="$ext_CFLAGS -O2 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wnested-externs -Wold-style-definition -Wredundant-decls -Wno-unused-parameter -s"
|
CFLAGS="$ext_CFLAGS -O2 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wnested-externs -Wold-style-definition -Wredundant-decls -s"
|
||||||
else
|
else
|
||||||
AC_MSG_WARN(Removing debugging option!)
|
AC_MSG_WARN(Removing debugging option!)
|
||||||
CFLAGS="$ext_CFLAGS -O2"
|
CFLAGS="$ext_CFLAGS -O2"
|
||||||
|
|
@ -213,7 +213,7 @@ if test "$enable_debug" = "no"; then
|
||||||
else
|
else
|
||||||
AC_DEFINE(NGDEBUG,1,[Compile with debug info])
|
AC_DEFINE(NGDEBUG,1,[Compile with debug info])
|
||||||
if test "x$GCC" = "xyes"; then
|
if test "x$GCC" = "xyes"; then
|
||||||
CFLAGS="$ext_CFLAGS -g -O0 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wnested-externs -Wold-style-definition -Wredundant-decls -Wno-unused-parameter"
|
CFLAGS="$ext_CFLAGS -g -O0 -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wnested-externs -Wold-style-definition -Wredundant-decls"
|
||||||
else
|
else
|
||||||
CFLAGS="$ext_CFLAGS -g"
|
CFLAGS="$ext_CFLAGS -g"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue