1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

meson: use -Werror=strict-flex-arrays

This commit is contained in:
Frantisek Sumsal 2023-05-30 10:30:15 +02:00
parent 13bb569b75
commit 6405afdaf5

View 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