Loading configure.ac +28 −25 Original line number Diff line number Diff line Loading @@ -1199,6 +1199,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), gccnum=`(expr $num1 "*" 100 + $num2) 2>/dev/null` AC_MSG_RESULT($gccver) if test "$gccnum" -lt "500"; then dnl we only like gcc less than 5.0, since if it is above that it is dnl likely just a compiler that looks like gcc (like icc 8.0)! dnl here's the standard setup WARN="-W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wno-format-nonliteral -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wsign-compare" if test "$gccnum" -ge "296"; then Loading @@ -1211,7 +1214,6 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), dnl gcc 3.3 and later WARN="$WARN -Wendif-labels" fi fi NEWFLAGS="" Loading @@ -1226,6 +1228,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), done CFLAGS="$CFLAGS $WARN $NEWFLAGS" fi fi dnl strip off optimizer flags Loading Loading
configure.ac +28 −25 Original line number Diff line number Diff line Loading @@ -1199,6 +1199,9 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), gccnum=`(expr $num1 "*" 100 + $num2) 2>/dev/null` AC_MSG_RESULT($gccver) if test "$gccnum" -lt "500"; then dnl we only like gcc less than 5.0, since if it is above that it is dnl likely just a compiler that looks like gcc (like icc 8.0)! dnl here's the standard setup WARN="-W -Wall -Wwrite-strings -pedantic -Wno-long-long -Wno-format-nonliteral -Wundef -Wpointer-arith -Wnested-externs -Wcast-align -Winline -Wstrict-prototypes -Wmissing-declarations -Wmissing-prototypes -Wsign-compare" if test "$gccnum" -ge "296"; then Loading @@ -1211,7 +1214,6 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), dnl gcc 3.3 and later WARN="$WARN -Wendif-labels" fi fi NEWFLAGS="" Loading @@ -1226,6 +1228,7 @@ AC_HELP_STRING([--disable-debug],[Disable debug options]), done CFLAGS="$CFLAGS $WARN $NEWFLAGS" fi fi dnl strip off optimizer flags Loading