On Tue, 19 Jul 2022 at 12:10, Jonathan Wakely wrote: > > On Tue, 19 Jul 2022 at 11:08, Jonathan Wakely wrote: > > > > On Sun, 17 Jul 2022 at 22:13, Stephan Bergmann via Libstdc++ > > <libstd...@gcc.gnu.org> wrote: > > > > > > On 7/15/22 22:25, Marek Polacek via Gcc-patches wrote: > > > > Yeah, I guess so. But I've already pushed the patch. > > > > > > This commit obviously breaks using libstdc++ with Clang (in -std=c++2b > > > mode), which doesn't implement those new builtins. Something like the > > > below would fix that, > > > > Thanks, Stephan, I'll fix this. > > This patch doesn't work, because __has_builtin doesn't detect the new > built-ins. I have a patch that solves that, so we can make the change > to the library headers.
Should be fixed now, thanks for reporting it.