https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107712
--- Comment #1 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:2f5c071860ba3f8ef67d0b9d8291a73766ce0a44 commit r13-4109-g2f5c071860ba3f8ef67d0b9d8291a73766ce0a44 Author: Jonathan Wakely <jwak...@redhat.com> Date: Wed Nov 16 13:48:39 2022 +0000 libstdc++: Adjust <format> for Clang compatibility [PR107712] Clang doesn't define __builtin_toupper, so use std::toupper. Also add some (not actually required since C++20) typename keywords to help Clang versions up to and including 15. libstdc++-v3/ChangeLog: PR libstdc++/107712 * include/std/format (__format::__formatter_int::format): Use std::toupper when __builtin_toupper isn't available. (basic_format_arg::handle): Add 'typename'. * include/std/complex (complex<T>): Add 'typename'.