mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
Cleanup. Warnings related with FD_SET, FD_ISSET, and FD_ZERO macros
are not icc 9.0 specific.
This commit is contained in:
parent
161be66c89
commit
305e03905f
10
acinclude.m4
10
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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user