From: Yang Tse Date: Sun, 3 Aug 2008 03:14:05 +0000 (+0000) Subject: Adjust DEC/Compaq C compiler settings. X-Git-Tag: upstream/1.10.0~756 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=abf47388f96794523efc0b1520b7d31a9c11a5fe;p=platform%2Fupstream%2Fc-ares.git Adjust DEC/Compaq C compiler settings. --- diff --git a/configure.ac b/configure.ac index 53cbe6a..f31896c 100644 --- a/configure.ac +++ b/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