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

David Edelsohn dje.gcc@gmail.com
Sat Dec 16 23:06:23 GMT 2023


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.

Thanks, David


>
>         Jakub
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20231216/cce0b375/attachment.htm>


More information about the Libstdc++ mailing list