From 9d6b2077b27980936efdc616e2f9c92a56b443fc Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Tue, 20 Dec 2011 16:32:06 +0000 Subject: build: error on mixed declarations and code Signed-off-by: Mans Rullgard --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 180578db7e..5cb2d1c0ae 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 -- cgit v1.2.3