Mismatch between newlib and glibc regarding fileno

Joseph Myers josmyers@redhat.com
Mon Feb 12 18:14:51 GMT 2024


On Mon, 12 Feb 2024, Corinna Vinschen wrote:

> How is it possible that with -std=c++98, everything and the kitchen sink
> is enabled?  Is that really correct?!?

See <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11196> (though 
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2082> is older).  Much of 
the standard C++ library implementation is in the headers, which makes it 
tricky to implement without _GNU_SOURCE when the C++ library wants to use 
(internally) lots of features not in ISO C.

-- 
Joseph S. Myers
josmyers@redhat.com



More information about the Newlib mailing list