https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127220

--- Comment #6 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Steve Sudit from comment #5)
> Moreover, this incompatibility has significant consequences: with clang in
> C++26 mode, no format string with a dynamic width or precision compiles at
> all, and LLVM 73232 has been open since 2023 with no fix in sight.

I feel for you but really why not propose a fix on the clang side instead of
working around the bug in libstdc++?

Because it seems like this and the other one will be run into much more. 
Especially with more and more of C++23/26/29 being implemented on the GCC side
of things.  

Even memory with std::unique_ptr now fails in some cases that should work. 
That is listed in https://github.com/llvm/llvm-project/issues/73232 .

Basically your suggested fix won't fix that code which is user code even.

Reply via email to