Thanks for the report. I’ve actually applied a slightly different fix for this a little while back (see [1]), but that revision has yet to be uploaded.
The fix I applied was essentially the same as has been done for the opencl-headers package, described in [2]. This just uses __vector instead of vector to avoid conflicts with similarly named types. If you think the '-mno-altivec’ fix is preferable then I can revert my patch and apply yours instead. Otherwise I’ll just request that the latest revision be uploaded. Many thanks, James [1] https://anonscm.debian.org/cgit/pkg-opencl/oclgrind.git/commit/?id=cd9925f14b76d3867166b524b3305ae156f5ef6b <https://anonscm.debian.org/cgit/pkg-opencl/oclgrind.git/commit/?id=cd9925f14b76d3867166b524b3305ae156f5ef6b> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760310 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760310>