diff --git a/meson.build b/meson.build index 8262f5ff76..c64c4b8ac2 100644 --- a/meson.build +++ b/meson.build @@ -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