From: Yang Tse Date: Fri, 19 Sep 2008 15:59:28 +0000 (+0000) Subject: icc adjustments: X-Git-Tag: curl-7_19_1~322 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=51ba24991ce8072ab464bd836f8c32b284ecbac5;p=thirdparty%2Fcurl.git icc adjustments: Disable remark #981: operands are evaluated in unspecified order Function calls which are triggering this remark, today, do not depend on the order of evaluation of its arguments. Disable remark #1469: "cc" clobber ignored Remark triggered on htons() and ntohs() due to glibc header files. --- diff --git a/ares/configure.ac b/ares/configure.ac index 666facd45d..18d2d22216 100644 --- a/ares/configure.ac +++ b/ares/configure.ac @@ -241,6 +241,10 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then dnl #165: too few arguments in function call dnl #266: function declared implicitly CPPFLAGS="$CPPFLAGS -we 140,147,165,266" + dnl Disable some remarks + dnl #981: operands are evaluated in unspecified order + dnl #1469: "cc" clobber ignored + CPPFLAGS="$CPPFLAGS -wd 981,1469" dnl Disable use of ANSI C aliasing rules in optimizations CFLAGS="$CFLAGS -no-ansi-alias" else diff --git a/configure.ac b/configure.ac index c07052a562..c39fbd9d66 100644 --- a/configure.ac +++ b/configure.ac @@ -315,6 +315,10 @@ if test "$curl_cv_have_def___INTEL_COMPILER" = "yes"; then dnl #165: too few arguments in function call dnl #266: function declared implicitly CPPFLAGS="$CPPFLAGS -we 140,147,165,266" + dnl Disable some remarks + dnl #981: operands are evaluated in unspecified order + dnl #1469: "cc" clobber ignored + CPPFLAGS="$CPPFLAGS -wd 981,1469" dnl Disable use of ANSI C aliasing rules in optimizations CFLAGS="$CFLAGS -no-ansi-alias" else