> -----Original Message-----
> From: Thomas Monjalon <[email protected]>
> Sent: Wednesday, May 25, 2022 12:53 PM
> To: [email protected]
> Cc: [email protected]; [email protected]; [email protected];
> David Christensen <[email protected]>
> Subject: [PATCH] eal/ppc: undefine AltiVec keyword vector
> 
> The AltiVec header file is defining "vector", except in C++ build.
> The keyword "vector" may conflict easily.
> As a rule, it is better to use the alternative keyword "__vector".
> 
> The DPDK header file rte_altivec.h takes care of undefining "vector",
> so the applications and dependencies are free to define the name "vector".
> 
> This is a compatibility breakage for applications which were using
> the keyword "vector" for its AltiVec meaning.
> 
> Signed-off-by: Thomas Monjalon <[email protected]>
> ---

Build passes with latest rdma-core master (36395896) on Ubuntu 20.04.4.

Tested-by: Ali Alnubani <[email protected]>

Thanks,
Ali

Reply via email to