Просмотр исходного кода

Make implicit function declarations an error

Originally committed as revision 23823 to svn://svn.ffmpeg.org/ffmpeg/trunk
Måns Rullgård 14 лет назад
Родитель
Сommit
765e61349c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      configure

+ 1 - 1
configure

@@ -2697,7 +2697,7 @@ elif enabled ccc; then
     add_cflags -msg_disable unreachcode
     add_cflags -msg_disable unreachcode
 elif enabled gcc; then
 elif enabled gcc; then
     check_cflags -fno-tree-vectorize
     check_cflags -fno-tree-vectorize
-    check_cflags -Werror=implicit
+    check_cflags -Werror=implicit-function-declaration
     check_cflags -Werror=missing-prototypes
     check_cflags -Werror=missing-prototypes
 elif enabled clang; then
 elif enabled clang; then
     check_cflags -Qunused-arguments
     check_cflags -Qunused-arguments