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]

Re: libstdc++-v3 and newlib


Joel Sherrill <joel.sherrill@OARcorp.com> writes:

| I am trying to compile the latest CVS code for sparc-rtems (similar
| to sparc-elf) and am getting this:
| 
| ../../../../../cvs-objs/gcc/egcs/libstdc++-v3/libmath/complex-stub.h:84:
| declaration
|    of C function `double cabs(__complex__ double)' conflicts with
| /usr2/test-gcc/install/sparc-rtems/include/math.h:112: previous
| declaration 
|    `double cabs()' here
| ../../../../../cvs-objs/gcc/egcs/libstdc++-v3/libmath/complex-stub.h:87:
| declaration
|    of C function `float cabsf(__complex__ float)' conflicts with
| /usr2/test-gcc/install/sparc-rtems/include/math.h:182: previous
| declaration 
|    `float cabsf()' here
| make[3]: *** [complex.lo] Error 1
| make[3]: Leaving directory
| `/opt/test-gcc/build-objs/b-gcc/sparc-rtems/libstdc++-v3/src'

Fixed with:

	http://gcc.gnu.org/ml/libstdc++/2000-11/msg00394.html

-- Gaby
CodeSourcery, LLC                       http://www.codesourcery.com

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