From 46357869fcacae53475a5f18bf092538be084e9c Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sun, 22 May 2011 14:31:54 +0000 Subject: [PATCH] Added options -Wextra -Wno-unused-parameter for gcc --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f3a4882..8b17b81 100644 --- a/configure.ac +++ b/configure.ac @@ -296,7 +296,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