The zero length array warning can be re-enabled.
The zero length marker fields are now removed by
commit 9e152e674c77 ("mbuf: remove marker fields")
in DPDK 24.03.

This reverts commit cfacbcb5a23bc26cb913528c372adddabbb33ca1.

Signed-off-by: Stephen Hemminger <step...@networkplumber.org>
---
 config/meson.build | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/config/meson.build b/config/meson.build
index 8c8b019c25..38f25f9ce3 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -330,10 +330,7 @@ warning_flags = [
         '-Wno-packed-not-aligned',
         '-Wno-missing-field-initializers',
 ]
-if cc.get_id() == 'gcc' and cc.version().version_compare('>=10.0')
-# FIXME: Bugzilla 396
-    warning_flags += '-Wno-zero-length-bounds'
-endif
+
 if not dpdk_conf.get('RTE_ARCH_64')
 # for 32-bit, don't warn about casting a 32-bit pointer to 64-bit int - it's 
fine!!
     warning_flags += '-Wno-pointer-to-int-cast'
-- 
2.45.2

Reply via email to