[FFmpeg-cvslog] configure: Fail on missing prototypes in check_oc.

Thilo Borgmann git at videolan.org
Wed Apr 9 13:36:03 CEST 2014


ffmpeg | branch: master | Thilo Borgmann <thilo.borgmann at mail.de> | Wed Apr  9 11:18:14 2014 +0200| [c740e083bc46f5380367627852a262f049a5e717] | committer: Michael Niedermayer

configure: Fail on missing prototypes in check_oc.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c740e083bc46f5380367627852a262f049a5e717
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 1a4bf40..507a0e9 100755
--- a/configure
+++ b/configure
@@ -807,7 +807,7 @@ check_oc(){
     log check_oc "$@"
     cat > $TMPM
     log_file $TMPM
-    check_cmd $cc $CPPFLAGS $CFLAGS "$@" $CC_C $(cc_o $TMPO) $TMPM
+    check_cmd $cc -Werror=missing-prototypes $CPPFLAGS $CFLAGS "$@" $CC_C $(cc_o $TMPO) $TMPM
 }
 
 check_cpp(){



More information about the ffmpeg-cvslog mailing list