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-eventdev/meson.build | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/test-eventdev/meson.build b/app/test-eventdev/meson.build index ab8769c755..0eec3ca90f 100644 --- a/app/test-eventdev/meson.build +++ b/app/test-eventdev/meson.build @@ -23,3 +23,11 @@ sources = files( 'test_pipeline_queue.c', ) deps += 'eventdev' + +extra_flags = ['-Wno-vla'] + +foreach arg: extra_flags + if cc.has_argument(arg) + cflags += arg + endif +endforeach -- 2.47.0.vfs.0.3