Module: libav
Branch: master
Commit: 9d6b2077b27980936efdc616e2f9c92a56b443fc

Author:    Mans Rullgard <m...@mansr.com>
Committer: Mans Rullgard <m...@mansr.com>
Date:      Tue Dec 20 16:32:06 2011 +0000

build: error on mixed declarations and code

Signed-off-by: Mans Rullgard <m...@mansr.com>

---

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

diff --git a/configure b/configure
index 180578d..5cb2d1c 100755
--- a/configure
+++ b/configure
@@ -3118,6 +3118,7 @@ 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

_______________________________________________
libav-commits mailing list
libav-commits@libav.org
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to