This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51654] C++ preprocessor bug with -maltivec and typedefs involving 'vector'
- From: "mathias at gaunard dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Dec 2011 15:54:20 +0000
- Subject: [Bug target/51654] C++ preprocessor bug with -maltivec and typedefs involving 'vector'
- Auto-submitted: auto-generated
- References: <bug-51654-4@http.gcc.gnu.org/bugzilla/>
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?