> -----Original Message-----
> From: Ali Alnubani
> Sent: Wednesday, May 25, 2022 2:09 PM
> To: Thomas Monjalon <tho...@monjalon.net>; dev@dpdk.org
> Cc: m...@ashroe.eu; david.march...@redhat.com; techbo...@dpdk.org;
> David Christensen <d...@linux.vnet.ibm.com>
> Subject: RE: [PATCH] eal/ppc: undefine AltiVec keyword vector
> 
> > -----Original Message-----
> > From: Thomas Monjalon <tho...@monjalon.net>
> > Sent: Wednesday, May 25, 2022 12:53 PM
> > To: dev@dpdk.org
> > Cc: m...@ashroe.eu; david.march...@redhat.com; techbo...@dpdk.org;
> > David Christensen <d...@linux.vnet.ibm.com>
> > 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 <tho...@monjalon.net>
> > ---
> 
> Build passes with latest rdma-core master (36395896) on Ubuntu 20.04.4.

Compiler: powerpc64le-linux-gnu-gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0

> 
> Tested-by: Ali Alnubani <alia...@nvidia.com>
> 
> Thanks,
> Ali

Reply via email to