Re: Mismatch between newlib and glibc regarding fileno

Joseph Myers <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.