From: Pekka Paalanen Date: Thu, 22 Mar 2012 09:30:35 +0000 (+0200) Subject: configure: add -Wextra -Wno-unused-parameter X-Git-Tag: 0.94.90~129 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e81a0b157c7c8d7c02a8519ac56f3d601a8b287;p=profile%2Fivi%2Fwayland.git configure: add -Wextra -Wno-unused-parameter This adds more gcc warnings that should be useful, and suppresses the unused parameter warnings that are not wanted. Most importantly, this change enables warnings about comparison between signed and unsigned. Signed-off-by: Pekka Paalanen --- diff --git a/configure.ac b/configure.ac index 094da67..194850c 100644 --- a/configure.ac +++ b/configure.ac @@ -23,7 +23,7 @@ PKG_PROG_PKG_CONFIG() PKG_CHECK_MODULES(FFI, [libffi]) if test "x$GCC" = "xyes"; then - GCC_CFLAGS="-Wall -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden" + GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter -g -Wstrict-prototypes -Wmissing-prototypes -fvisibility=hidden" fi AC_SUBST(GCC_CFLAGS)