aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-04-03 02:45:04 +0000
committerYang Tse <yangsita@gmail.com>2007-04-03 02:45:04 +0000
commit305e03905fa4a308de2ed492995045108e8370b7 (patch)
treecd5a3d1389babcee819b4f0a4cb276b39d2b69fa
parent161be66c8970084e5e7970353a1aef12a5f03022 (diff)
Cleanup. Warnings related with FD_SET, FD_ISSET, and FD_ZERO macros
are not icc 9.0 specific.
-rw-r--r--acinclude.m410
-rw-r--r--ares/acinclude.m410
2 files changed, 0 insertions, 20 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 1b730cf9c..1f98acd7d 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1743,16 +1743,6 @@ 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"
diff --git a/ares/acinclude.m4 b/ares/acinclude.m4
index 33ee8d136..7ba0fc60f 100644
--- a/ares/acinclude.m4
+++ b/ares/acinclude.m4
@@ -1350,16 +1350,6 @@ 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"