This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: <altivec.h> not happy with 3.4 on powerpc-apple-darwin7.2.0
Andrew Pinski's patch
<http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01808.html> fixed
particular the problem I was having. I'm not qualified to say whether
your patch might fix other issues I'll find later, though :)
-tim
On Jan 18, 2004, at 3:22 PM, Ziemowit Laski wrote:
Tim,
I have a patch that fixes this issue, among with many others. Alas,
no one has deigned to review it, much less approve it:
http://gcc.gnu.org/ml/gcc-patches/2004-01/msg01111.html
--Zem
On 18 Jan 2004, at 11.31, Timothy J. Wood wrote:
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