diff options
author | Yang Tse <yangsita@gmail.com> | 2008-08-03 03:14:05 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2008-08-03 03:14:05 +0000 |
commit | 74d77cb1408fd0fad619859e07f6014cc82069ea (patch) | |
tree | 2b48d35bfdf5141cc1ed88a6b5f8166cec5ff8ad | |
parent | 7ad3abfd05fc6a0fa60a75c15d7bc414efc7b22f (diff) |
Adjust DEC/Compaq C compiler settings.
-rw-r--r-- | ares/configure.ac | 2 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac index 53cbe6a6a..f31896cce 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 3c40a1a79..2cd527d9e 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 |