J Price <[email protected]> wrote on 08/12/2015 15:30:55:

> From: J Price <[email protected]>
> To: Fernando Seiti Furusato/Brazil/IBM@IBMBR
> Cc: [email protected], Andreas Beckmann <[email protected]>, Breno 
Henrique
> Leitao/Brazil/IBM@IBMBR
> Date: 08/12/2015 15:31
> Subject: Re: Bug#806965: oclgrind: FTBFS on ppc64el -- conflict with 
altivec 
> keyword bool

> Since bool is just a macro, can't we just #undef it after including
> altivec.h? I was envisioning something like this inside cl_platform.h
> (around line 334):
> 
> #include <altivec.h>
> #undef vector
> #undef bool
> #undef pixel
> typedef __vector unsigned char      __cl_uchar16;
> // etc
> 

You are right, James.
That worked like a charm.
I did that and it completed with no errors :)

Reply via email to