]> git.sesse.net Git - ffmpeg/commitdiff
configure: suppress "enumerated type mixed with another type" for icc
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 3 Jan 2013 14:57:42 +0000 (15:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 16 Jan 2013 13:00:39 +0000 (14:00 +0100)
icc should not complain when 2 enum values are combined (for example when
used as flags)
Adding casts to suppress these would not help code quality

Reviewed-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
configure

index 6b36ead7d77b1f32a22e18fbb2a005cca7efb0ec..863e6f6250ac0a52ff4df7dbe8d76038e05614c0 100755 (executable)
--- a/configure
+++ b/configure
@@ -4073,12 +4073,13 @@ if enabled icc; then
     check_cflags -w1
     # -wd: Disable following warnings
     # 144, 167, 556: -Wno-pointer-sign
+    # 188: enumerated type mixed with another type
     # 1292: attribute "foo" ignored
     # 1419: external declaration in primary source file
     # 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,1292,1419,10006,10148,10156
+    check_cflags -wd144,167,188,556,1292,1419,10006,10148,10156
     # 11030: Warning unknown option --as-needed
     # 10156: ignoring option '-export'; no argument required
     check_ldflags -wd10156,11030