Browse Source

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
master
sam 15 years ago
parent
commit
03f16f21bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      configure.ac

+ 2
- 2
configure.ac View File

@@ -97,8 +97,8 @@ AC_SUBST(PIPI_TYPES)
# Optimizations # Optimizations
CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer" CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer"
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule # 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") AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm")




Loading…
Cancel
Save