[FFmpeg-devel] [PATCH 3/3] Enable ICC warnings on unknown options, again.

Diego 'Flameeyes' Pettenò flameeyes
Thu Oct 2 16:47:56 CEST 2008


Instead of hiding warnings regarding unknown options for ICC (like
-fasm and the similar), now these options are not added to the cflags
at all, since such warnings will disallow the flag from being added.
---

 configure |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/configure b/configure
index 574e141..cfb2d67 100755
--- a/configure
+++ b/configure
@@ -1909,12 +1909,7 @@ if $cc --version | grep -q Intel; then
   check_cflags -w1
   # -wd: Disable following warnings
   # 144, 167, 556: -Wno-pointer-sign
-  # 10006: ignoring unknown option -fno-signed-zeros
-  # 10156: ignoring option '-W'; no argument required
-  check_cflags -wd144,167,556,10006,10156
-  # 11030: Warning unknown option --as-needed
-  # 10156: ignoring option '-export'; no argument required
-  check_ldflags -wd10156,11030
+  check_cflags -wd144,167,556
   # Allow to compile with optimizations
   check_ldflags -march=$cpu
 fi





More information about the ffmpeg-devel mailing list