]> granicus.if.org Git - curl/commitdiff
When using the icc compiler, we also ignore remark #1418 "external definition
authorDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 10:58:57 +0000 (10:58 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 6 May 2004 10:58:57 +0000 (10:58 +0000)
with no prior declaration" since this is a habit we have in the code.

acinclude.m4

index a582a4eec225660c0e4265d975868cc5b2550e45..08f2a43b8475432abe1f44ed9dced94c12ed10f6 100644 (file)
@@ -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