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

Andreas Schwab schwab@linux-m68k.org
Sun Apr 19 13:24:58 GMT 2026


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.

-- 
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."


More information about the Libstdc++ mailing list