This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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] |
On Fri, May 03, Thorsten Kukuk wrote: > > 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 ()' The append patch fixes the problem for me. 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
Attachment:
glibc-2.2.5.sparc-throw.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |