From: Yang Tse Date: Sun, 20 Jul 2008 17:18:29 +0000 (+0000) Subject: Adjust DEC/Compaq C compiler settings X-Git-Tag: upstream/1.10.0~791 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4ef94e065fda6cbec6f95fdb0f4a3ae1d1ab8492;p=platform%2Fupstream%2Fc-ares.git Adjust DEC/Compaq C compiler settings --- diff --git a/configure.ac b/configure.ac index fbcb851..66f44f4 100644 --- a/configure.ac +++ b/configure.ac @@ -239,10 +239,10 @@ if test "$curl_cv_have_def___DECC" = "yes" || AC_MSG_RESULT([yes]) dnl Select strict ANSI C compiler mode CFLAGS="$CFLAGS -std1" + dnl Select a higher warning level than default level2 + CFLAGS="$CFLAGS -msg_enable level3" dnl Generate warnings for missing function prototypes 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