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

build: error on mixed declarations and code


Signed-off-by: default avatarMans Rullgard <mans@mansr.com>
parent 514294e8
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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