On Wed, Aug 27, 2025 at 04:14:06PM -0700, Stephen Hemminger wrote: > When using constructs like: > RTE_MIN(x, RTE_MIN(y, z)) > the compiler would generate warnings about overlapping definitions > of the variables in the macro. This is safe so add pragma support > to silence the problem. > > Signed-off-by: Stephen Hemminger <step...@networkplumber.org> Acked-by: Bruce Richardson <bruce.richard...@intel.com>
- [RFC 0/8] Avoid overlapping declarations Stephen Hemminger
- [RFC 1/8] test/ring: avoid shadow variable usage Stephen Hemminger
- Re: [RFC 1/8] test/ring: avoid shadow variable ... Bruce Richardson
- [RFC 2/8] test/table: replace conflicting variable ... Stephen Hemminger
- [RFC 3/8] eal: add macro to disable shadow warnings Stephen Hemminger
- Re: [RFC 3/8] eal: add macro to disable shadow ... Bruce Richardson
- [RFC 4/8] eal: avoid shadowed variable aligned_end Stephen Hemminger
- [RFC 5/8] eal: avoid shadowed variables in trace co... Stephen Hemminger
- [RFC 6/8] ethdev: avoid shadowed variable warnings Stephen Hemminger
- Re: [RFC 6/8] ethdev: avoid shadowed variable w... Andrew Rybchenko
- [RFC 8/8] pcapng: avoid shadow declaration warning Stephen Hemminger
- [RFC 7/8] telemetry: avoid potential name conflict ... Stephen Hemminger
- Re: [RFC 7/8] telemetry: avoid potential name c... Bruce Richardson