aboutsummaryrefslogtreecommitdiff
path: root/ares
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 /ares
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.
Diffstat (limited to 'ares')
-rw-r--r--ares/configure.ac4
1 files changed, 4 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