]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: use -Werror=strict-flex-arrays
authorFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 30 May 2023 08:30:15 +0000 (10:30 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Tue, 30 May 2023 08:31:25 +0000 (10:31 +0200)
meson.build

index 8262f5ff76b592fc7bc1ecefc0b741c2a932e99c..c64c4b8ac265ea5e00378699d78ac12f1aeda43f 100644 (file)
@@ -376,6 +376,7 @@ possible_common_cc_flags = [
         '-Werror=return-type',
         '-Werror=shift-count-overflow',
         '-Werror=shift-overflow=2',
+        '-Werror=strict-flex-arrays',
         '-Werror=undef',
         '-Wfloat-equal',
         # gperf prevents us from enabling this because it does not emit fallthrough