[FFmpeg-devel] [PATCH] configure: suppress "enumerated type mixed with another type" for icc
Michael Niedermayer
michaelni at gmx.at
Thu Jan 3 15:59:28 CET 2013
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
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
configure | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
index 32f7eb1..de3d37f 100755
--- a/configure
+++ b/configure
@@ -4059,12 +4059,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
--
1.7.9.5
More information about the ffmpeg-devel
mailing list