From: Yang Tse Date: Sat, 19 Jul 2008 11:27:45 +0000 (+0000) Subject: Adjust DEC/Compaq C compiler settings X-Git-Tag: curl-7_19_0~353 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3f84e373acb2a2a33f64c3332e3a93b3f1fbe7d7;p=thirdparty%2Fcurl.git Adjust DEC/Compaq C compiler settings --- diff --git a/ares/configure.ac b/ares/configure.ac index 2f7f6c96c6..fbcb8513a9 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -239,10 +239,12 @@ if test "$curl_cv_have_def___DECC" = "yes" || AC_MSG_RESULT([yes]) dnl Select strict ANSI C compiler mode CFLAGS="$CFLAGS -std1" - dnl Generate verbose messages for errors and warnings - CFLAGS="$CFLAGS -verbose" 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 AC_MSG_RESULT([no]) fi diff --git a/configure.ac b/configure.ac index 278f75fa43..b3cc6c23f1 100644 --- a/configure.ac +++ b/configure.ac @@ -306,10 +306,12 @@ if test "$curl_cv_have_def___DECC" = "yes" || AC_MSG_RESULT([yes]) dnl Select strict ANSI C compiler mode CFLAGS="$CFLAGS -std1" - dnl Generate verbose messages for errors and warnings - CFLAGS="$CFLAGS -verbose" 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 AC_MSG_RESULT([no]) fi