[FFmpeg-devel] [RFC] Silence icc warnings
Carl Eugen Hoyos
cehoyos
Thu May 8 11:12:30 CEST 2008
Hi!
Attached is a patch that silences nearly all icc warnings.
Unfortunately, it produces new warnings for gcc;-(
What would be a good way of dealing with this issue?
Carl Eugen
-------------- next part --------------
Index: configure
===================================================================
--- configure (revision 13076)
+++ configure (working copy)
@@ -1794,12 +1794,15 @@
check_cflags -Wcast-qual
check_cflags -Wwrite-strings
check_cflags -Wtype-limits
+check_cflags -wd144,167,556,10006,10156
+check_cflags -w1
enabled extra_warnings && check_cflags -Winline
# add some linker flags
check_ldflags -Wl,--warn-common
check_ldflags $LDLATEFLAGS
check_ldflags -Wl,-Bsymbolic
+check_ldflags -wd10156,11030
if enabled small; then
check_cflags -Os # not all compilers support -Os
More information about the ffmpeg-devel
mailing list