stdio.h vs. bits/stdio.h header brokeness?
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Thu May 8 09:45:00 GMT 2003
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.
More information about the Libc-alpha
mailing list