]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
tests: Add more Werror=... flags for clang
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sat, 22 Apr 2023 15:55:39 +0000 (17:55 +0200)
configure.ac

index 0b7831da05daccdfbfdb38462549011be54642ae..088e8f3b5dd9a89290f7e8fc36375e04ca38fdff 100644 (file)
@@ -135,6 +135,7 @@ TEST_EXTRA_CFLAGS="-Werror=init-self \
 -Werror=empty-body \
 -Werror=comment \
 -Werror=strict-overflow \
+-Werror=shift-overflow \
 -Wformat=2 \
 -Werror=format-security \
 -Werror=format-nonliteral \
@@ -154,6 +155,7 @@ TEST_EXTRA_CFLAGS="-Werror=init-self \
 -Werror=logical-not-parentheses \
 -Werror=address \
 -Werror=array-bounds \
+-Werror=array-parameter \
 -Werror=array-parameter=2 \
 -Werror=enum-conversion"