diff options
author | Yang Tse <yangsita@gmail.com> | 2008-07-20 17:18:29 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-07-20 17:18:29 +0000 |
commit | 71525352f07559fea84c626cfb912597983a6881 (patch) | |
tree | 49f32f57082eb4a2242a4f7d65206d9925f2deeb | |
parent | facc5f7ec5212c2da93ab1a467da2f8987748e69 (diff) |
Adjust DEC/Compaq C compiler settings
-rw-r--r-- | ares/configure.ac | 4 | ||||
-rw-r--r-- | configure.ac | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ares/configure.ac b/ares/configure.ac index fbcb8513a..66f44f45a 100644 --- a/ares/configure.ac +++ b/ares/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 diff --git a/configure.ac b/configure.ac index b3cc6c23f..25e747d95 100644 --- a/configure.ac +++ b/configure.ac @@ -306,10 +306,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 |