summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-07-20 17:18:29 +0000
committerYang Tse <yangsita@gmail.com>2008-07-20 17:18:29 +0000
commit4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492 (patch)
tree5cd7e4cfe86e8fe3350ea0994fa2323e48f07e75 /configure.ac
parentabbde56a86c31decae246a9eef16a018aa9841db (diff)
downloadc-ares-4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492.tar.gz
c-ares-4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492.tar.bz2
c-ares-4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492.zip
Adjust DEC/Compaq C compiler settings
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index fbcb851..66f44f4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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