From 7091a812720bf737cf16e6a48a5e7201eeed4645 Mon Sep 17 00:00:00 2001 From: rlar Date: Sat, 30 Apr 2011 12:31:33 +0000 Subject: [PATCH] re-enable unused-parameter Warnings --- ChangeLog | 4 ++++ configure.ac | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 55c880dd7..a11063751 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2011-04-30 Robert Larice + * configure.ac : + re-enable unused-parameter Warnings + 2011-04-30 Robert Larice * **/* : various cleanups diff --git a/configure.ac b/configure.ac index 99432874a..55f3cb4c6 100644 --- a/configure.ac +++ b/configure.ac @@ -205,7 +205,7 @@ dnl the above AC_PROG_CC may set CFLAGS to "-O2 -g" if test "$enable_debug" = "no"; then if test "x$GCC" = "xyes"; then 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 AC_MSG_WARN(Removing debugging option!) CFLAGS="$ext_CFLAGS -O2" @@ -213,7 +213,7 @@ if test "$enable_debug" = "no"; then else AC_DEFINE(NGDEBUG,1,[Compile with debug info]) 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 CFLAGS="$ext_CFLAGS -g" fi