[PATCH v15 26/60] app/test-crypto-perf: disable warning about use of VLAs
Andre Muezerie
andremue at linux.microsoft.com
Tue Jan 14 02:22:38 CET 2025
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 at linux.microsoft.com>
---
app/test-crypto-perf/meson.build | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/app/test-crypto-perf/meson.build b/app/test-crypto-perf/meson.build
index 7b02b518f0..cf41a22a75 100644
--- a/app/test-crypto-perf/meson.build
+++ b/app/test-crypto-perf/meson.build
@@ -23,3 +23,11 @@ deps += ['cryptodev', 'net', 'security']
if dpdk_conf.has('RTE_CRYPTO_SCHEDULER')
deps += 'crypto_scheduler'
endif
+
+extra_flags = ['-Wno-vla']
+
+foreach arg: extra_flags
+ if cc.has_argument(arg)
+ cflags += arg
+ endif
+endforeach
--
2.47.0.vfs.0.3
More information about the dev
mailing list