Skip to content
Snippets Groups Projects
Commit c07d56a6 authored by Mans Rullgard's avatar Mans Rullgard
Browse files

build: error on variable-length arrays


With all the VLAs gone, make sure they never come back.

Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 07eb7e20
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment