Adjust DEC/Compaq C compiler settings
authorYang Tse <yangsita@gmail.com>
Sun, 20 Jul 2008 17:18:29 +0000 (17:18 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 20 Jul 2008 17:18:29 +0000 (17:18 +0000)
configure.ac

index fbcb851..66f44f4 100644 (file)
@@ -239,10 +239,10 @@ if test "$curl_cv_have_def___DECC" = "yes" ||
   AC_MSG_RESULT([yes])
   dnl Select strict ANSI C compiler mode
   CFLAGS="$CFLAGS -std1"
+  dnl Select a higher warning level than default level2
+  CFLAGS="$CFLAGS -msg_enable level3"
   dnl Generate warnings for missing function prototypes
   CFLAGS="$CFLAGS -warnprotos"
-  dnl Select highest warning level
-  CFLAGS="$CFLAGS -msg_enable level6"
   dnl Change some warnings into fatal errors
   CFLAGS="$CFLAGS -msg_fatal toofewargs,toomanyargs"
 else