]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
icc adjustments:
authorYang Tse <yangsita@gmail.com>
Fri, 19 Sep 2008 15:59:28 +0000 (15:59 +0000)
committerYang Tse <yangsita@gmail.com>
Fri, 19 Sep 2008 15:59:28 +0000 (15:59 +0000)
  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.

ares/configure.ac
configure.ac

index 666facd45d9a90821e6b4e8642176204c2e6526b..18d2d22216a390189815c38603ef4f45c1e79e36 100644 (file)
@@ -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
index c07052a562cbd5135b473af7462ca57e7bf3ea4e..c39fbd9d66cdb7c6ff3b19302652e511e502e2a7 100644 (file)
@@ -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