aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-09-19 15:59:28 +0000
committerYang Tse <yangsita@gmail.com>2008-09-19 15:59:28 +0000
commit51ba24991ce8072ab464bd836f8c32b284ecbac5 (patch)
treede52caf68c6090ee2d9be3e324b92ecd7f6bb511
parentdfa0fd5b3348d1f94a97960e2d3b4f7910eebfa3 (diff)
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.
-rw-r--r--ares/configure.ac4
-rw-r--r--configure.ac4
2 files changed, 8 insertions, 0 deletions
diff --git a/ares/configure.ac b/ares/configure.ac
index 666facd45..18d2d2221 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 c07052a56..c39fbd9d6 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