configure: suppress "enumerated type mixed with another type" for icc
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>
This commit is contained in:
parent
cae11e4031
commit
f0cf017dee
3
configure
vendored
3
configure
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user