[vala/staging] testrunner: Add more -Werror=* flags



commit 1e4228e3e1ff6240ca1865b589dcf446af4dfa3c
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Sat Jul 11 18:29:42 2020 +0200

    testrunner: Add more -Werror=* flags

 configure.ac | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/configure.ac b/configure.ac
index ee52f0440..87dbf8cfd 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-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"
 


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