From 8bf0131c9fe2f59fe4a768b4521b3a4cca3f6f1c Mon Sep 17 00:00:00 2001 From: sam Date: Mon, 25 May 2009 00:16:38 +0000 Subject: [PATCH] Add C++ warnings to the build process. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@3519 92316355-f0b4-4df1-b90c-862c8a59935f --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index a50ab6d..1111cbf 100644 --- a/configure.ac +++ b/configure.ac @@ -98,6 +98,7 @@ AC_SUBST(PIPI_TYPES) 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" AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")