]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: enable -Werror=flex-array-member-not-at-end 36993/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 3 Apr 2025 16:18:48 +0000 (01:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 4 Apr 2025 11:54:53 +0000 (20:54 +0900)
meson.build

index f25ad1a27ef8b3ed205983b8ca9c7029839c9d31..61fba8dc09b6322326088b2e050a176e1211f2a5 100644 (file)
@@ -380,6 +380,7 @@ possible_common_cc_flags = [
         '-Wendif-labels',
         '-Werror=bool-compare',
         '-Werror=discarded-qualifiers',
+        '-Werror=flex-array-member-not-at-end',
         '-Werror=format=2',
         '-Werror=format-signedness',
         '-Werror=implicit-function-declaration',