meson: enable -Wgnu-variable-sized-type-not-at-end again

Follow-up for ab29e77aa9.

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.
This commit is contained in:
Yu Watanabe
2025-05-17 02:18:32 +09:00
parent fda47cd92b
commit e311402d4a

View File

@@ -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