From df8aae9742ad72d78ad7c846deba6a87e3d979fa Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Tue, 6 Dec 2005 12:32:46 +0100 Subject: [PATCH] Add -Wunused-parameter to the gcc 4.* args kahmalo reported that it spits out warnings for gcc version 4.1.0 20050716 (experimental). --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 387172676..e786cb8f0 100644 --- a/configure.in +++ b/configure.in @@ -1241,7 +1241,7 @@ if test "x$ac_cv_prog_gcc" = "xyes"; then 4.*) # Do not show warnings related to (char * | unsigned char *) type # difference. - CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign" + CFLAGS="$CFLAGS -fno-strict-aliasing -Wno-pointer-sign -Wunused-parameter" ;; *) # These should be ok using -Werror