This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
<altivec.h> not happy with 3.4 on powerpc-apple-darwin7.2.0
- From: "Timothy J. Wood" <tjw at omnigroup dot com>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 18 Jan 2004 11:31:39 -0800
- Subject: <altivec.h> not happy with 3.4 on powerpc-apple-darwin7.2.0
Configured thusly:
../gcc/configure --prefix="$PREFIX" --enable-languages="c,c++,objc"
Compiling just:
#include <altivec.h>
with:
$PREFIX/bin/c++ -O3 -maltivec x.cpp -S -o x.s
yields zillions of errors of the form:
In file included from x.cpp:2:
/Volumes/Space/Users/bungi/Source-head/GNU/gcc/gcc-3.4/install/bin/../
lib/gcc/powerpc-apple-darwin7.2.0/3.4.0/include/altivec.h:124: error:
declaration of C function `float __vector__ vec_ctf(int __vector__,
char)' conflicts with
/Volumes/Space/Users/bungi/Source-head/GNU/gcc/gcc-3.4/install/bin/../
lib/gcc/powerpc-apple-darwin7.2.0/3.4.0/include/altivec.h:123: error:
previous declaration `float __vector__ vec_ctf(unsigned int __vector__,
char)' here
...
-tim