[RFC 3/8] eal: add macro to disable shadow warnings
Bruce Richardson
bruce.richardson at intel.com
Thu Aug 28 09:43:44 CEST 2025
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 <stephen at networkplumber.org>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list