]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: enable -Wgnu-variable-sized-type-not-at-end again 37499/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 16 May 2025 17:18:32 +0000 (02:18 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Jun 2025 04:13:14 +0000 (13:13 +0900)
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.

meson.build

index f8e7fcade2b33f1e64f1dfcd51fd5c98d1d2e62e..f31cdca6ab0fbfd87f00a81e6991844d1bc8ff8c 100644 (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