Checks
Context | Check | Description |
---|---|---|
ci/checkpatch | success | coding style OK |
Commit Message
Andre Muezerie
Jan. 14, 2025, 2:32 a.m. UTC
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 <andremue@linux.microsoft.com>
---
lib/pipeline/meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/pipeline/meson.build b/lib/pipeline/meson.build index fd5e0dc6bb..4027a26e61 100644 --- a/lib/pipeline/meson.build +++ b/lib/pipeline/meson.build @@ -7,6 +7,14 @@ if is_windows subdir_done() endif +extra_flags = ['-Wno-vla'] + +foreach arg: extra_flags + if cc.has_argument(arg) + cflags += arg + endif +endforeach + sources = files( 'rte_pipeline.c', 'rte_port_in_action.c',