From 5256b25aff3da8feefde7c9fe58c49b2ce54f3e8 Mon Sep 17 00:00:00 2001 From: Matt Staveley-Taylor Date: Fri, 29 Nov 2024 00:56:27 +0100 Subject: [PATCH] options: ignore clang warnings for VLAs in C++ --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index ab1fa1dfe2..251176e1cb 100644 --- a/meson.build +++ b/meson.build @@ -448,7 +448,7 @@ if not headers_only ] if c_compiler.get_id() == 'clang' - libc_cpp_args += ['-fno-sanitize=function'] + libc_cpp_args += ['-fno-sanitize=function', '-Wno-vla-cxx-extension'] ld_cpp_args += ['-fno-sanitize=function'] endif