Revert "build: error on mixed declarations and code"
authorNicolas George <nicolas.george@normalesup.org>
Thu, 29 Dec 2011 15:30:19 +0000 (16:30 +0100)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 29 Dec 2011 15:30:19 +0000 (16:30 +0100)
This reverts commit 9d6b2077b27980936efdc616e2f9c92a56b443fc.

This error is annoying while debugging, and if someone disables it for
convenience, it raises the odds of leaving ffmpeg unbuildable by default.

configure

index d0f546b..e97bcae 100755 (executable)
--- a/configure
+++ b/configure
@@ -3318,7 +3318,6 @@ elif enabled gcc; then
     check_cflags -fno-tree-vectorize
     check_cflags -Werror=implicit-function-declaration
     check_cflags -Werror=missing-prototypes
-    check_cflags -Werror=declaration-after-statement
 elif enabled llvm_gcc; then
     check_cflags -mllvm -stack-alignment=16
 elif enabled clang; then