This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

<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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]