summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2022-03-21 08:59:23 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2022-03-21 09:06:43 +0100
commit7f84443cdcdb991f9ae0fa251a3268aa2ac98608 (patch)
tree482367dbb9f363464f85a9499b55c36dbd8e232f
parentde1aa5de4b51be23773ae67bea20718c770383dd (diff)
downloadvala-7f84443cdcdb991f9ae0fa251a3268aa2ac98608.tar.gz
tests: Add more Werror=... flags
-rw-r--r--configure.ac15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 3a1daad0a..3ec646c3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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-local-addr \
@@ -125,20 +126,34 @@ TEST_EXTRA_CFLAGS="-Werror=init-self \
-Werror=return-type \
-Werror=sequence-point \
-Werror=uninitialized \
+-Werror=init-self \
+-Werror=int-in-bool-context \
-Werror=int-to-pointer-cast \
-Werror=pointer-to-int-cast \
-Werror=compare-distinct-pointer-types \
+-Werror=empty-body \
+-Werror=comment \
+-Werror=strict-overflow \
-Wformat=2 \
-Werror=format-security \
-Werror=format-nonliteral \
+-Werror=format-overflow=2 \
+-Werror=format-truncation=2 \
-Werror=int-conversion \
-Werror=duplicated-branches \
-Werror=duplicated-cond \
-Werror=declaration-after-statement \
-Werror=maybe-uninitialized \
+-Werror=missing-braces \
+-Werror=missing-declarations \
-Werror=missing-prototypes \
-Werror=strict-prototypes \
+-Werror=bool-compare \
+-Werror=tautological-pointer-compare \
+-Werror=logical-not-parentheses \
+-Werror=address \
-Werror=array-bounds \
+-Werror=array-parameter=2 \
-Werror=enum-conversion"
TEST_CFLAGS=