[FFmpeg-cvslog] Disable 'attribute "foo" ignored' warnings from icc

Mans Rullgard git at videolan.org
Thu Mar 24 03:43:42 CET 2011


ffmpeg | branch: master | Mans Rullgard <mans at mansr.com> | Wed Mar 23 11:24:10 2011 +0000| [91bcad197175bf82610ea52498854b5b0ed73de0] | committer: Mans Rullgard

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 at mansr.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=91bcad197175bf82610ea52498854b5b0ed73de0
---

 configure |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index bde1dad..316b849 100755
--- a/configure
+++ b/configure
@@ -2987,10 +2987,11 @@ if enabled icc; then
     check_cflags -w1
     # -wd: Disable following warnings
     # 144, 167, 556: -Wno-pointer-sign
+    # 1292: attribute "foo" ignored
     # 10006: ignoring unknown option -fno-signed-zeros
     # 10148: ignoring unknown option -Wno-parentheses
     # 10156: ignoring option '-W'; no argument required
-    check_cflags -wd144,167,556,10006,10148,10156
+    check_cflags -wd144,167,556,1292,10006,10148,10156
     # 11030: Warning unknown option --as-needed
     # 10156: ignoring option '-export'; no argument required
     check_ldflags -wd10156,11030




More information about the ffmpeg-cvslog mailing list