mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
When using the icc compiler, we also ignore remark #1418 "external definition
with no prior declaration" since this is a habit we have in the code.
This commit is contained in:
parent
58387b91f9
commit
bde6c6685e
@ -669,10 +669,11 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS],
|
||||
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 * 1418 "external definition with no prior declaration"
|
||||
dnl * 1419 warns on "external declaration in primary source file"
|
||||
dnl which we know and do on purpose.
|
||||
|
||||
WARN="-wd279,269,1419,981"
|
||||
WARN="-wd279,269,981,1418,1419
|
||||
|
||||
if test "$gccnum" -gt "600"; then
|
||||
dnl icc 6.0 and older doesn't have the -Wall flag
|
||||
|
Loading…
Reference in New Issue
Block a user