[Mesa-dev] [Bug 68504] 9.2-rc1 clover fails to build on ppc: cannot convert 'bool' to '__vector(4) __bool int' in return

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 25 14:33:24 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=68504

Francisco Jerez <currojerez at riseup.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #4 from Francisco Jerez <currojerez at riseup.net> ---
(In reply to comment #3)
> It appears that inclusion of altivec.h in cl_platform.h causes "bool" to be
> redefined to "__attribute__((altivec(bool__))) unsigned", but only with
> -std=c++XY
> 
> Not including altivec.h or using -std=gnu++11 makes the error go away.

Uhm, that shouldn't happen...  Can you please file a GCC bug about this?  A
compiler optimization shouldn't break code that is otherwise correct and
working...

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130825/173a33f0/attachment.html>


More information about the mesa-dev mailing list