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 Thu, May 08, Franz Sirl wrote: > Hi, > > with current glibc CVS and gcc-3.3pre I get a lot of g++ testsuite warnings > when I run the g++ testsuite with -O2 on powerpc-linux. > The reason is that various functions (eg. vprintf, getchar, > getc_unlocked,...) from stdio.h differ in their exception specifications > between stdio.h and bits/stdio.h, in bits/stdio.h they are declared with > __THROW, in stdio.h declared without __THROW. > > Which one is the correct declaration? According to the ChangeLog, the one in bits/stdio.h must be wrong. I append a patch to fix this. 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.3.bits.stdio.h.diff
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |