mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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>
This commit is contained in:
parent
07eb7e20af
commit
c07d56a684
1
configure
vendored
1
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user