This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Failure with g++ and math.h on SPARC.
- From: Thorsten Kukuk <kukuk at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 3 May 2002 10:21:38 +0200
- Subject: Failure with g++ and math.h on SPARC.
- Organization: SuSE GmbH, Nuernberg, Germany
Hi,
If I try to compile C++ code, which includes "math.h",
with "g++ -pedantic" on SPARC it aborts always with:
/usr/include/bits/mathinline.h:216: declaration of `double fdim(double, double)
' throws different exceptions
/usr/include/bits/mathcalls.h:313: than previous declaration `double
fdim(double, double) throw ()'
/usr/include/bits/mathinline.h:223: declaration of `float fdimf(float, float)'
throws different exceptions
/usr/include/bits/mathcalls.h:313: than previous declaration `float
fdimf(float, float) throw ()'
Something goes wrong here, but I don't understand the header files.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B