summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-15 14:02:32 +0000
committerYang Tse <yangsita@gmail.com>2007-02-15 14:02:32 +0000
commit3c769f98e8fe55bf160ed7f62e7526f3d42f0276 (patch)
treefa3ab8863532e2d41a7e1c19bb0286a9b33ae2f6 /acinclude.m4
parentab3790b683e46865dc6ceb03b5b015fc85bbefbf (diff)
downloadc-ares-3c769f98e8fe55bf160ed7f62e7526f3d42f0276.tar.gz
c-ares-3c769f98e8fe55bf160ed7f62e7526f3d42f0276.tar.bz2
c-ares-3c769f98e8fe55bf160ed7f62e7526f3d42f0276.zip
icc 9.0 when compiling its generated code for its own FD_SET,
FD_ISSET, and FD_ZERO macros emits warnings #1469 and #593. So for icc 9.0 we also ignore warnings #1469 and #593. * 593 warns on "variable __d0 was set but never used" * 1469 warns on "cc clobber ignored"
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 10 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 5c9132a..66a3c20 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1350,6 +1350,16 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
WARN="-wd279,269,981,1418,1419"
+ if test "$gccnum" -eq "900"; then
+ dnl icc 9.0 when compiling its generated code for its own FD_SET,
+ dnl FD_ISSET, and FD_ZERO macros emits warnings #1469 and #593.
+ dnl So for icc 9.0 we also ignore warnings #1469 and #593.
+ dnl * 593 warns on "variable __d0 was set but never used"
+ dnl * 1469 warns on "cc clobber ignored"
+ dnl
+ WARN="$WARN,593,1469"
+ fi
+
if test "$gccnum" -gt "600"; then
dnl icc 6.0 and older doesn't have the -Wall flag
WARN="-Wall $WARN"