http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51654
--- Comment #3 from Mathias Gaunard <mathias at gaunard dot com> 2011-12-22 15:54:20 UTC --- The workarounds #undef vector or compiling with -Dvector=vector seem to work. But shouldn't this not be necessary when altivec.h is not included?