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

Bruce Richardson bruce.richardson at intel.com
Wed Nov 20 10:01:12 CET 2024


On Tue, Nov 19, 2024 at 07:13:18PM -0800, Andre Muezerie wrote:
> From: Tyler Retzlaff <roretzla at linux.microsoft.com>
> 
> 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 <roretzla at linux.microsoft.com>
> ---
Resending from v9:

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list