mirror of https://github.com/moparisthebest/curl
ignore the icc warning 981 "operands are evaluated in unspecified order"
This commit is contained in:
parent
c39c55cb2d
commit
78e0ba82b0
|
@ -507,13 +507,14 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
|
||||||
dnl this is icc, not gcc.
|
dnl this is icc, not gcc.
|
||||||
|
|
||||||
dnl ICC warnings we ignore:
|
dnl ICC warnings we ignore:
|
||||||
dnl * 279 warns on static conditions in while expressions
|
|
||||||
dnl * 269 warns on our "%Od" printf formatters for curl_off_t output:
|
dnl * 269 warns on our "%Od" printf formatters for curl_off_t output:
|
||||||
dnl "invalid format string conversion"
|
dnl "invalid format string conversion"
|
||||||
|
dnl * 279 warns on static conditions in while expressions
|
||||||
|
dnl * 981 warns on "operands are evaluated in unspecified order"
|
||||||
dnl * 1419 warns on "external declaration in primary source file"
|
dnl * 1419 warns on "external declaration in primary source file"
|
||||||
dnl which we know and do on purpose.
|
dnl which we know and do on purpose.
|
||||||
|
|
||||||
WARN="-wd279,269,1419"
|
WARN="-wd279,269,1419,981"
|
||||||
|
|
||||||
if test "$gccnum" -gt "600"; then
|
if test "$gccnum" -gt "600"; then
|
||||||
dnl icc 6.0 and older doesn't have the -Wall flag
|
dnl icc 6.0 and older doesn't have the -Wall flag
|
||||||
|
|
Loading…
Reference in New Issue