[committed] libstdc++: Implement C++23 <print> header [PR107760]

Jonathan Wakely jwakely@redhat.com
Sun Dec 17 00:04:16 GMT 2023


On Sun, 17 Dec 2023 at 00:02, Jonathan Wakely <jwakely@redhat.com> wrote:
>
> On Sat, 16 Dec 2023 at 23:06, David Edelsohn <dje.gcc@gmail.com> wrote:
> >
> > On Sat, Dec 16, 2023 at 4:44 PM Jakub Jelinek <jakub@redhat.com> wrote:
> >>
> >> On Sat, Dec 16, 2023 at 04:24:13PM -0500, David Edelsohn wrote:
> >> > AIX stdio.h defines fileno as a macro although there is a symbol in libc.
> >> >
> >> > I think that print.cc at least needs to
> >> >
> >> >
> >> > #undef fileno
> >> >
> >> >
> >> > before the usage.
> >>
> >> Or (::fileno)(f) ?
> >
> >
> > Yes, that also avoids the error.
>
> Yup, I've just tested it. I'll push that change in the morning.

Actually I just pushed it now. The functions in that file are only
actually used on Windows, so if they build on linux and AIX, that's
good enough.



More information about the Libstdc++ mailing list