DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] Revert "build: disable gcc 10 zero-length-bounds warning"
@ 2024-10-11 17:57 Stephen Hemminger
  2024-10-11 18:57 ` Morten Brørup
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Stephen Hemminger @ 2024-10-11 17:57 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger, Bruce Richardson

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 <stephen@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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-10-17 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-10-11 17:57 [PATCH] Revert "build: disable gcc 10 zero-length-bounds warning" Stephen Hemminger
2024-10-11 18:57 ` Morten Brørup
2024-10-14  7:58 ` Bruce Richardson
2024-10-17 17:52   ` Thomas Monjalon
2024-10-14  9:33 ` Kevin Traynor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).