Re: [PATCH v10 18/21] build: enable vla warnings on Windows built code

2024-11-20 Thread Bruce Richardson
On Tue, Nov 19, 2024 at 07:13:18PM -0800, Andre Muezerie wrote: > From: Tyler Retzlaff > > MSVC does not support optional C11 VLAs. When building for Windows > enable -Wvla so that mingw and clang also fail if a VLA is used. > > Signed-off-by: Tyler Retzlaff > --- Resending from v9: Acked-by:

[PATCH v10 18/21] build: enable vla warnings on Windows built code

2024-11-19 Thread Andre Muezerie
From: Tyler Retzlaff MSVC does not support optional C11 VLAs. When building for Windows enable -Wvla so that mingw and clang also fail if a VLA is used. Signed-off-by: Tyler Retzlaff --- config/meson.build | 4 1 file changed, 4 insertions(+) diff --git a/config/meson.build b/config/meso