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

2019-09-02 Thread Raslan Darawsheh
Hi, > -Original Message- > From: dev On Behalf Of Christian Ehrhardt > Sent: Tuesday, August 13, 2019 2:29 PM > To: dev > Cc: Luca Boccassi ; Thomas Monjalon > ; Frank Heimes ; > Christian Ehrhardt > Subject: [dpdk-dev] [PATCH 1/1] net/mlx4: fix build on PPC64

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

2019-09-01 Thread Matan Azrad
Hi > From: dev On Behalf Of Christian Ehrhardt > 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

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

2019-08-29 Thread David Christensen
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 whole project without breaking something els

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

2019-08-28 Thread Christian Ehrhardt
On Wed, Aug 14, 2019 at 1:49 AM David Christensen wrote: > > On 8/13/19 4:28 AM, Christian Ehrhardt 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 __

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

2019-08-13 Thread David Christensen
On 8/13/19 4:28 AM, Christian Ehrhardt 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

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

2019-08-13 Thread Christian Ehrhardt
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