[PATCH] remove wrappers for GCC < 4.8

Bruce Richardson bruce.richardson at intel.com
Thu Aug 24 11:00:10 CEST 2023


On Thu, Aug 24, 2023 at 10:30:34AM +0200, David Marchand wrote:
> As we made our move to C11, GCC requirements has been bumped.
> Wrappers for old versions of GCC can be dropped.
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>
> ---
>  lib/eal/arm/include/rte_byteorder.h     | 19 -------------------
>  lib/eal/arm/include/rte_vect.h          | 12 ------------
>  lib/eal/include/generic/rte_byteorder.h |  2 --
>  lib/eal/include/rte_debug.h             |  4 ----
>  lib/eal/ppc/include/rte_byteorder.h     |  9 ---------
>  lib/eal/x86/include/rte_byteorder.h     |  8 --------
>  lib/eal/x86/include/rte_vect.h          |  9 +--------
>  lib/log/rte_log.h                       |  4 ----
>  8 files changed, 1 insertion(+), 66 deletions(-)
> 
I think there are checks for GCC_VERSION > 40306 (i.e. gcc 4.3) in
rte_lru_x86.h that can be removed too. Otherwise,

Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the dev mailing list