mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Adjust DEC/Compaq C compiler settings
This commit is contained in:
parent
facc5f7ec5
commit
71525352f0
@ -239,10 +239,10 @@ 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 Select a higher warning level than default level2
|
||||||
|
CFLAGS="$CFLAGS -msg_enable level3"
|
||||||
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
|
dnl Change some warnings into fatal errors
|
||||||
CFLAGS="$CFLAGS -msg_fatal toofewargs,toomanyargs"
|
CFLAGS="$CFLAGS -msg_fatal toofewargs,toomanyargs"
|
||||||
else
|
else
|
||||||
|
@ -306,10 +306,10 @@ 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 Select a higher warning level than default level2
|
||||||
|
CFLAGS="$CFLAGS -msg_enable level3"
|
||||||
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
|
dnl Change some warnings into fatal errors
|
||||||
CFLAGS="$CFLAGS -msg_fatal toofewargs,toomanyargs"
|
CFLAGS="$CFLAGS -msg_fatal toofewargs,toomanyargs"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user