This path is known to make use of VLAs, so we need to disable warnings issued for VLAs to prevent the build from breaking.
Signed-off-by: Andre Muezerie <andre...@linux.microsoft.com> --- app/test-acl/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/test-acl/meson.build b/app/test-acl/meson.build index c0dc4b221a..6e0bd982ac 100644 --- a/app/test-acl/meson.build +++ b/app/test-acl/meson.build @@ -9,3 +9,11 @@ endif sources = files('main.c') deps += ['acl', 'net'] + +extra_flags = ['-Wno-vla'] + +foreach arg: extra_flags + if cc.has_argument(arg) + cflags += arg + endif +endforeach -- 2.47.0.vfs.0.3