Hi Christian
I am new to the list thus was unable to reply directly to your post:
[PATCH v2] ppc64: fix compilation of when AltiVec is enabled
I reproduce the build error on my ppc64le box and verified that your V2
patch corrects the build failure on both RHEL 7.5 and Ubuntu 18.04.
Thanks for the patch, apologies for the very slow response.
PS: I ran this past our Power tools team. For now the best practice is
to #undef bool, vector, pixel after including altivec.h when compiled
for C++ or ANSI C11. A patch to gcc for this issue has been proposed
to solve this issue, but it needs to be validated on a Linux
distribution. If this works out it will show up in GCC 9.
Regards
David