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]

stdio.h vs. bits/stdio.h header brokeness?


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?

Franz.


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