Skip to content
Snippets Groups Projects
Commit 78e0ba82 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ignore the icc warning 981 "operands are evaluated in unspecified order"

parent c39c55cb
No related branches found
No related tags found
No related merge requests found
......@@ -507,13 +507,14 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
dnl this is icc, not gcc.
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 "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 which we know and do on purpose.
WARN="-wd279,269,1419"
WARN="-wd279,269,1419,981"
if test "$gccnum" -gt "600"; then
dnl icc 6.0 and older doesn't have the -Wall flag
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment