[FFmpeg-devel] [PATCH 15/28] mingw workaround

Mans Rullgard mans
Wed Jun 30 11:09:43 CEST 2010


From: Cory Fields <theuni-nospam- at xbmc.org>

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

diff --git a/configure b/configure
index 4dd9ed7..27ebfe9 100755
--- a/configure
+++ b/configure
@@ -2642,7 +2642,8 @@ check_cflags -Wcast-qual
 check_cflags -Wwrite-strings
 check_cflags -Wtype-limits
 check_cflags -Wundef
-check_cflags -Wmissing-prototypes
+# some gcc compilers (mingw 4.2.1-sjlj) are b0rk so for now skip this
+# check_cflags -Wmissing-prototypes
 enabled extra_warnings && check_cflags -Winline
 
 # add some linker flags
@@ -2701,7 +2702,8 @@ elif enabled ccc; then
 elif enabled gcc; then
     check_cflags -fno-tree-vectorize
     check_cflags -Werror=implicit-function-declaration
-    check_cflags -Werror=missing-prototypes
+# some gcc compilers (mingw 4.2.1-sjlj) are b0rk so for now skip this
+#    check_cflags -Werror=missing-prototypes
 elif enabled clang; then
     check_cflags -Qunused-arguments
 elif enabled armcc; then
-- 
1.7.1.1




More information about the ffmpeg-devel mailing list