04/05/2022 22:40, David Christensen:
> On 5/3/22 5:03 AM, Thomas Monjalon wrote:
> > The keyword "vector" may conflict easily.
> > As a rule, it is better to use the alternative keyword "__vector".
> > 
> > Signed-off-by: Thomas Monjalon <tho...@monjalon.net>
> 
> Reviewed-by: David Christensen <d...@linux.vnet.ibm.com>

Applied with a longer explanation:

    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",
    so we will be able to #undef vector after including AltiVec header.
    
    Later it may become possible to #undef vector in rte_altivec.h
    with a compatibility breakage.



Reply via email to