]> 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>
Sun, 5 Feb 2023 18:33:15 +0000 (19:33 +0100)
configure.ac

index 0d0edaccf152918de23717b819a650b86972e6bb..7989f6ea4c73f870af58c76230e98a00f6971fcf 100644 (file)
@@ -134,6 +134,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 \
@@ -153,6 +154,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"