Browse code

Disable 'attribute "foo" ignored' warnings from icc

ICC lies about the version of gcc it emulates, which results
in unsupported attributes sometimes being used. The warning
is an annoyance and should be disabled.

Signed-off-by: Mans Rullgard <mans@mansr.com>

Mans Rullgard authored on 2011/03/23 20:24:10
Showing 1 changed files
... ...
@@ -2987,10 +2987,11 @@ if enabled icc; then
2987 2987
     check_cflags -w1
2988 2988
     # -wd: Disable following warnings
2989 2989
     # 144, 167, 556: -Wno-pointer-sign
2990
+    # 1292: attribute "foo" ignored
2990 2991
     # 10006: ignoring unknown option -fno-signed-zeros
2991 2992
     # 10148: ignoring unknown option -Wno-parentheses
2992 2993
     # 10156: ignoring option '-W'; no argument required
2993
-    check_cflags -wd144,167,556,10006,10148,10156
2994
+    check_cflags -wd144,167,556,1292,10006,10148,10156
2994 2995
     # 11030: Warning unknown option --as-needed
2995 2996
     # 10156: ignoring option '-export'; no argument required
2996 2997
     check_ldflags -wd10156,11030