aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
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 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