mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
meson: use -Werror=strict-flex-arrays
This commit is contained in:
parent
13bb569b75
commit
6405afdaf5
|
@ -376,6 +376,7 @@ possible_common_cc_flags = [
|
||||||
'-Werror=return-type',
|
'-Werror=return-type',
|
||||||
'-Werror=shift-count-overflow',
|
'-Werror=shift-count-overflow',
|
||||||
'-Werror=shift-overflow=2',
|
'-Werror=shift-overflow=2',
|
||||||
|
'-Werror=strict-flex-arrays',
|
||||||
'-Werror=undef',
|
'-Werror=undef',
|
||||||
'-Wfloat-equal',
|
'-Wfloat-equal',
|
||||||
# gperf prevents us from enabling this because it does not emit fallthrough
|
# gperf prevents us from enabling this because it does not emit fallthrough
|
||||||
|
|
Loading…
Reference in a new issue