[FFmpeg-devel] [PATCH] Silence useless icc warnings

Carl Eugen Hoyos cehoyos
Sat May 10 11:37:02 CEST 2008


Attached patch silences most icc warnings.
Please comment.

Thank you, Carl Eugen
-------------- next part --------------
Index: configure
--- configure	(revision 13104)
+++ configure	(working copy)
@@ -1815,6 +1815,13 @@
 check_cflags -fno-math-errno
 check_cflags -fno-signed-zeros
+# add flags to silence some icc warnings
+if test `basename $cc` = "icc"; then
+  check_cflags -w1
+  check_cflags -wd144,167,556,10006,10156
+  check_ldflags -wd10156,11030
 # PIC flags for shared library objects where they are needed
 if enabled shared; then
     # LIBOBJFLAGS may have already been set in the OS configuration

More information about the ffmpeg-devel mailing list