Re: [dpdk-dev] [PATCH] net/mlx5: fix build on PPC64

2018-11-08 Thread Shahaf Shuler
Wednesday, November 7, 2018 11:10 PM, Thomas Monjalon: > Subject: Re: [PATCH] net/mlx5: fix build on PPC64 > > 07/11/2018 20:05, dwilder: > > On 2018-11-07 08:00, Thomas Monjalon wrote: > > > The AltiVec header file breaks boolean type: > > > > > > error: incompatible types when initializing type

Re: [dpdk-dev] [PATCH] net/mlx5: fix build on PPC64

2018-11-07 Thread Thomas Monjalon
07/11/2018 20:05, dwilder: > On 2018-11-07 08:00, Thomas Monjalon wrote: > > The AltiVec header file breaks boolean type: > > > > error: incompatible types when initializing type > > '__vector _bool int' {aka '_vector(4) __bool int'} using type 'int' > > > > If __APPLE_ALTIVEC__ is defined, then

Re: [dpdk-dev] [PATCH] net/mlx5: fix build on PPC64

2018-11-07 Thread dwilder
On 2018-11-07 08:00, Thomas Monjalon wrote: The AltiVec header file breaks boolean type: error: incompatible types when initializing type '__vector _bool int' {aka '_vector(4) __bool int'} using type 'int' If __APPLE_ALTIVEC__ is defined, then bool type is redefined and conflicts with stdbool.h

[dpdk-dev] [PATCH] net/mlx5: fix build on PPC64

2018-11-07 Thread Thomas Monjalon
The AltiVec header file breaks boolean type: error: incompatible types when initializing type '__vector _bool int' {aka '_vector(4) __bool int'} using type 'int' If __APPLE_ALTIVEC__ is defined, then bool type is redefined and conflicts with stdbool.h. There is no good solution to fix it for the