J Price <j.pr...@bristol.ac.uk> wrote on 08/12/2015 19:14:00:

> From: J Price <j.pr...@bristol.ac.uk>
> To: Fernando Seiti Furusato/Brazil/IBM@IBMBR
> Cc: Andreas Beckmann <a...@debian.org>, 806...@bugs.debian.org, Breno 
Henrique
> Leitao/Brazil/IBM@IBMBR
> Date: 08/12/2015 19:14
> Subject: Re: Bug#806965: oclgrind: FTBFS on ppc64el -- conflict with 
altivec 
> keyword bool
> 
> You're right - this needs to be done in common.h for this to work
> (since common.h uses the bool keyword), but common.h is installed by
> the -dev package, so this goes against the idea of not messing with
> macros in public headers.

Oh, I should have noticed that.

> 
> Reading some other bug reports (e.g. [1]) suggests that compiling with
> `-std=gnu++11` instead of `-std=c++11` also fixes the problem. Is this
> a viable workaround? This would be a simple patch to CMakeLists.txt.

In case this question was directed to me -- it is viable in the sense that 
it
works. Just tested it here and it built.

Thanks and regards.

Fernando

Reply via email to