Skip to content
Snippets Groups Projects
Commit 3f84e373 authored by Yang Tse's avatar Yang Tse
Browse files

Adjust DEC/Compaq C compiler settings

parent ac6d6ec2
No related branches found
No related tags found
No related merge requests found
...@@ -239,10 +239,12 @@ if test "$curl_cv_have_def___DECC" = "yes" || ...@@ -239,10 +239,12 @@ if test "$curl_cv_have_def___DECC" = "yes" ||
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
dnl Select strict ANSI C compiler mode dnl Select strict ANSI C compiler mode
CFLAGS="$CFLAGS -std1" CFLAGS="$CFLAGS -std1"
dnl Generate verbose messages for errors and warnings
CFLAGS="$CFLAGS -verbose"
dnl Generate warnings for missing function prototypes dnl Generate warnings for missing function prototypes
CFLAGS="$CFLAGS -warnprotos" 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 else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
......
...@@ -306,10 +306,12 @@ if test "$curl_cv_have_def___DECC" = "yes" || ...@@ -306,10 +306,12 @@ if test "$curl_cv_have_def___DECC" = "yes" ||
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
dnl Select strict ANSI C compiler mode dnl Select strict ANSI C compiler mode
CFLAGS="$CFLAGS -std1" CFLAGS="$CFLAGS -std1"
dnl Generate verbose messages for errors and warnings
CFLAGS="$CFLAGS -verbose"
dnl Generate warnings for missing function prototypes dnl Generate warnings for missing function prototypes
CFLAGS="$CFLAGS -warnprotos" 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 else
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment