[vala/0.54] tests: Add more Werror=... flags



commit 46e1c853648bbf1753d36d9c5c10a7ca54419e44
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Feb 12 12:58:22 2022 +0100

    tests: Add more Werror=... flags

 configure.ac | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index 9d09f4dd8..b3be6ad58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -126,13 +126,19 @@ 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 \
@@ -142,9 +148,12 @@ TEST_EXTRA_CFLAGS="-Werror=init-self \
 -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=


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]