From: Yang Tse Date: Sun, 3 Aug 2008 03:14:05 +0000 (+0000) Subject: Adjust DEC/Compaq C compiler settings. X-Git-Tag: curl-7_19_0~232 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=74d77cb1408fd0fad619859e07f6014cc82069ea;p=thirdparty%2Fcurl.git Adjust DEC/Compaq C compiler settings. --- diff --git a/ares/configure.ac b/ares/configure.ac index 53cbe6a6a1..f31896ccee 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -236,6 +236,8 @@ if test "$curl_cv_have_def___DECC" = "yes" || AC_MSG_RESULT([yes]) dnl Select strict ANSI C compiler mode CFLAGS="$CFLAGS -std1" + dnl Turn off optimizer ANSI C aliasing rules + CFLAGS="$CFLAGS -noansi_alias" dnl Select a higher warning level than default level2 CFLAGS="$CFLAGS -msg_enable level3" dnl Generate warnings for missing function prototypes diff --git a/configure.ac b/configure.ac index 3c40a1a790..2cd527d9e7 100644 --- a/configure.ac +++ b/configure.ac @@ -303,6 +303,8 @@ if test "$curl_cv_have_def___DECC" = "yes" || AC_MSG_RESULT([yes]) dnl Select strict ANSI C compiler mode CFLAGS="$CFLAGS -std1" + dnl Turn off optimizer ANSI C aliasing rules + CFLAGS="$CFLAGS -noansi_alias" dnl Select a higher warning level than default level2 CFLAGS="$CFLAGS -msg_enable level3" dnl Generate warnings for missing function prototypes