[FFmpeg-cvslog] Revert "build: error on mixed declarations and code"

Nicolas George git at videolan.org
Thu Dec 29 17:28:23 CET 2011


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Thu Dec 29 16:30:19 2011 +0100| [377dfa3d9915fed6c21a6e14525b825f32380540] | committer: Nicolas George

Revert "build: error on mixed declarations and code"

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.

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

 configure |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index d0f546b..e97bcae 100755
--- 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



More information about the ffmpeg-cvslog mailing list