[committed] libstdc++: Add comments to non-obvious parts of std::print internals

Jonathan Wakely jwakely.gcc@gmail.com
Sun Apr 19 15:36:08 GMT 2026


On Sun, 19 Apr 2026, 14:25 Andreas Schwab, <schwab@linux-m68k.org> wrote:

> On Apr 17 2026, Jonathan Wakely wrote:
>
> > diff --git a/libstdc++-v3/include/bits/print.h
> b/libstdc++-v3/include/bits/print.h
> > index 67a5a1729135..ab3ff9996126 100644
> > --- a/libstdc++-v3/include/bits/print.h
> > +++ b/libstdc++-v3/include/bits/print.h
> > @@ -58,7 +58,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
> >
> >  namespace __format
> >  {
> > -#if _GLIBCXX_USE_STDIO_LOCKING && _GLIBCXX_USE_GLIBC_STDIO_EXT
> > +#if _GLIBCXX_USE_STDIO_LOCKING && _GLIBCXX_USE_GLBC_STDIO_EXT
>
> That's surely not intented.
>

Indeed! Somebody else pointed it out and I have a fix ready to commit



> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
> "And now for something completely different."
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20260419/695a58cf/attachment.htm>


More information about the Libstdc++ mailing list