Make implicit function declarations an error
authorMåns Rullgård <mans@mansr.com>
Sun, 27 Jun 2010 14:16:54 +0000 (14:16 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 27 Jun 2010 14:16:54 +0000 (14:16 +0000)
Originally committed as revision 23823 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index c2690db..642dfde 100755 (executable)
--- a/configure
+++ b/configure
@@ -2697,7 +2697,7 @@ elif enabled ccc; then
     add_cflags -msg_disable unreachcode
 elif enabled gcc; then
     check_cflags -fno-tree-vectorize
     add_cflags -msg_disable unreachcode
 elif enabled gcc; then
     check_cflags -fno-tree-vectorize
-    check_cflags -Werror=implicit
+    check_cflags -Werror=implicit-function-declaration
     check_cflags -Werror=missing-prototypes
 elif enabled clang; then
     check_cflags -Qunused-arguments
     check_cflags -Werror=missing-prototypes
 elif enabled clang; then
     check_cflags -Qunused-arguments