From 6405afdaf5b87ad378c474820b4222853ddcca26 Mon Sep 17 00:00:00 2001 From: Frantisek Sumsal Date: Tue, 30 May 2023 10:30:15 +0200 Subject: [PATCH] meson: use -Werror=strict-flex-arrays --- meson.build | 1 + 1 file changed, 1 insertion(+) 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