From 03f16f21bc62044e08634c8058bfdbbbfc99cc7b Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 28 May 2009 01:54:43 +0000 Subject: [PATCH] Add -Wextra to the list of compilation warnings. We're no longer warning-free, but there's not much to fix. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3534 92316355-f0b4-4df1-b90c-862c8a59935f --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 1111cbf..dc6736c 100644 --- a/configure.ac +++ b/configure.ac @@ -97,8 +97,8 @@ AC_SUBST(PIPI_TYPES) # Optimizations CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer" # Code qui fait des warnings == code de porc == deux baffes dans ta gueule -CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" -CXXFLAGS="${CXXFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare" +CFLAGS="${CFLAGS} -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" +CXXFLAGS="${CXXFLAGS} -Wall -Wextra -Wpointer-arith -Wcast-align -Wcast-qual -Wshadow -Wsign-compare" AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")