Commit 9eded0fe authored by Martin Storsjö's avatar Martin Storsjö

configure: Check for -Werror parameters on clang

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 116ae728
...@@ -3549,6 +3549,8 @@ elif enabled llvm_gcc; then ...@@ -3549,6 +3549,8 @@ elif enabled llvm_gcc; then
elif enabled clang; then elif enabled clang; then
check_cflags -mllvm -stack-alignment=16 check_cflags -mllvm -stack-alignment=16
check_cflags -Qunused-arguments check_cflags -Qunused-arguments
check_cflags -Werror=implicit-function-declaration
check_cflags -Werror=missing-prototypes
elif enabled armcc; then elif enabled armcc; then
# 2523: use of inline assembler is deprecated # 2523: use of inline assembler is deprecated
add_cflags -W${armcc_opt},--diag_suppress=2523 add_cflags -W${armcc_opt},--diag_suppress=2523
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment