From c07d56a684372e5001eb6ab927708082f1df9c21 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Wed, 3 Oct 2012 23:00:44 +0100 Subject: [PATCH] build: error on variable-length arrays With all the VLAs gone, make sure they never come back. Signed-off-by: Mans Rullgard --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index cd72f36..34680d4 100755 --- a/configure +++ b/configure @@ -3504,6 +3504,7 @@ elif enabled gcc; then check_cflags -Werror=implicit-function-declaration check_cflags -Werror=missing-prototypes check_cflags -Werror=declaration-after-statement + check_cflags -Werror=vla elif enabled llvm_gcc; then check_cflags -mllvm -stack-alignment=16 elif enabled clang; then -- 2.7.4