From ab29e77aa9efc0863216e9415481a786158fd60a Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Fri, 4 Apr 2025 01:18:48 +0900 Subject: [PATCH] meson: enable -Werror=flex-array-member-not-at-end --- meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/meson.build b/meson.build index f25ad1a27ef..61fba8dc09b 100644 --- a/meson.build +++ b/meson.build @@ -380,6 +380,7 @@ possible_common_cc_flags = [ '-Wendif-labels', '-Werror=bool-compare', '-Werror=discarded-qualifiers', + '-Werror=flex-array-member-not-at-end', '-Werror=format=2', '-Werror=format-signedness', '-Werror=implicit-function-declaration', -- 2.47.3