From: Daniel Stenberg <daniel@haxx.se>
Date: Fri, 18 Jan 2002 13:00:13 +0000 (+0000)
Subject: playing with more strict gcc warnings with --enable-debug
X-Git-Tag: curl-7_9_3~15
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e4cd4cf3f30a49cbc0b789afa03b639aa1796eba;p=curl

playing with more strict gcc warnings with --enable-debug
---

diff --git a/configure.in b/configure.in
index ea23bf901..ba7d0c3d6 100644
--- a/configure.in
+++ b/configure.in
@@ -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)