playing with more strict gcc warnings with --enable-debug
authorDaniel Stenberg <daniel@haxx.se>
Fri, 18 Jan 2002 13:00:13 +0000 (13:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 18 Jan 2002 13:00:13 +0000 (13:00 +0000)
configure.in

index ea23bf9..ba7d0c3 100644 (file)
@@ -69,7 +69,7 @@ AC_ARG_ENABLE(debug,
   *)   AC_MSG_RESULT(yes)
 
     CPPFLAGS="$CPPFLAGS -DMALLOCDEBUG"
-    CFLAGS="-W -Wall -Wwrite-strings -pedantic -g" 
+    CFLAGS="-W -Wall -Wwrite-strings -pedantic -Wundef -Wpointer-arith -Wcast-align -Wnested-externs -g" 
        ;;
   esac ],
        AC_MSG_RESULT(no)