Sfoglia il codice sorgente

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
master
sam 15 anni fa
parent
commit
8bf0131c9f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      configure.ac

+ 1
- 0
configure.ac Vedi File

@@ -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")



Caricamento…
Annulla
Salva