]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
testrunner: Add more -Werror=* flags
authorRico Tzschichholz <ricotz@ubuntu.com>
Sat, 11 Jul 2020 16:29:42 +0000 (18:29 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 11 Jul 2020 16:29:42 +0000 (18:29 +0200)
configure.ac

index ee52f0440704e45955d839baf40cd2eda5be7a00..87dbf8cfd6c153bdbc216d09a17ffe1574f5d5b1 100644 (file)
@@ -118,6 +118,7 @@ AC_SUBST(COVERAGE_LIBS)
 # Check supported compiler flags used in testrunner.sh
 TEST_EXTRA_CFLAGS="-Werror=init-self \
 -Werror=implicit \
+-Werror=implicit-fallthrough \
 -Werror=pointer-arith \
 -Werror=redundant-decls \
 -Werror=return-type \
@@ -126,6 +127,7 @@ TEST_EXTRA_CFLAGS="-Werror=init-self \
 -Werror=int-to-pointer-cast \
 -Werror=pointer-to-int-cast \
 -Werror=compare-distinct-pointer-types \
+-Werror=empty-body \
 -Wformat=2 \
 -Werror=format-security \
 -Werror=format-nonliteral \
@@ -134,8 +136,11 @@ TEST_EXTRA_CFLAGS="-Werror=init-self \
 -Werror=duplicated-cond \
 -Werror=declaration-after-statement \
 -Werror=maybe-uninitialized \
+-Werror=missing-braces \
+-Werror=missing-declarations \
 -Werror=missing-prototypes \
 -Werror=strict-prototypes \
+-Werror=address \
 -Werror=array-bounds \
 -Werror=enum-conversion"