diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-02-26 12:40:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-02-26 12:40:09 +0000 |
commit | 85af357d8100c3321abf5bd44d5383a4d676a761 (patch) | |
tree | bb381176867c60ab6ba8bad8a0ee0c62791609da | |
parent | d687eed33e33019eb6c0d534b5c097c78c4b1731 (diff) |
Make icc ignore "invalid format string conversion" warnings as well. They
appear because of our home-grown option '%Od' for the curl_off_t output.
-rw-r--r-- | acinclude.m4 | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 1e9e5f625..d69a181bf 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -506,14 +506,15 @@ AC_DEFUN([CURL_CC_DEBUG_OPTS], if test "$ICC" = "yes"; then dnl this is icc, not gcc. - dnl Warning 279 warns on static conditions in while expressions, - dnl ignore that. + 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" - WARN="-wd279" + WARN="-wd279,269" if test "$gccnum" -gt "600"; then - dnl icc 6.0 and older doesn't have the -Wall flag, although it does - dnl have -wd<n> + dnl icc 6.0 and older doesn't have the -Wall flag WARN="-Wall $WARN" fi else dnl $ICC = yes |