diff options
author | Mans Rullgard <mans@mansr.com> | 2012-10-03 23:00:44 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-10-05 22:33:32 +0100 |
commit | c07d56a684372e5001eb6ab927708082f1df9c21 (patch) | |
tree | 71776b9fd13f098ca6ab6b3d775c5ef529bcfc80 | |
parent | 07eb7e20af63a244d9e1813626fac38a84e8c869 (diff) | |
download | ffmpeg-c07d56a684372e5001eb6ab927708082f1df9c21.tar.gz |
build: error on variable-length arrays
With all the VLAs gone, make sure they never come back.
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |