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

Bruce Richardson bruce.richardson at intel.com
Wed Nov 20 09:58:42 CET 2024


On Tue, Nov 19, 2024 at 05:54:43PM -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>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list