libstdc++-v3 and newlib

Gabriel Dos Reis gdr@codesourcery.com
Sun Nov 26 07:25:00 GMT 2000


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


More information about the Gcc mailing list