From: Yu Watanabe Date: Fri, 16 May 2025 17:18:32 +0000 (+0900) Subject: meson: enable -Wgnu-variable-sized-type-not-at-end again X-Git-Tag: v258-rc1~365^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e311402d4a0e45e1499014820abe7e2210ab8c3b;p=thirdparty%2Fsystemd.git meson: enable -Wgnu-variable-sized-type-not-at-end again Follow-up for ab29e77aa9efc0863216e9415481a786158fd60a. For gcc, flex-array-member-not-at-end was enabled by the commit, but the option for clang with the same effect was still disabled. Let's reenable it. Prompted by #37497. --- diff --git a/meson.build b/meson.build index f8e7fcade2b..f31cdca6ab0 100644 --- a/meson.build +++ b/meson.build @@ -489,7 +489,6 @@ endif if cc.get_id() == 'clang' possible_common_cc_flags += [ '-Wno-typedef-redefinition', - '-Wno-gnu-variable-sized-type-not-at-end', ] endif