https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109162
--- Comment #18 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The releases/gcc-15 branch has been updated by Tomasz Kaminski <tkami...@gcc.gnu.org>: https://gcc.gnu.org/g:17e0decc1dbf827747aebfa0573cc8e50969ae3f commit r15-9589-g17e0decc1dbf827747aebfa0573cc8e50969ae3f Author: Tomasz KamiÅski <tkami...@redhat.com> Date: Tue Apr 22 09:56:42 2025 +0200 libstdc++: Define __cpp_lib_format_ranges in format header [PR109162] As P2286R8 and P2585R1 as now fully implemented, we now define __cpp_lib_format_ranges feature test macro with __cpp_lib_format_ranges. This macro is provided only in <format>. Uses of internal __glibcxx_format_ranges are also updated. PR libstdc++/109162 libstdc++-v3/ChangeLog: * include/bits/version.def (format_ranges): Remove no_stdname and update value. * include/bits/version.h: Regenerate. * src/c++23/std.cc.in: Replace __glibcxx_format_ranges with __cpp_lib_format_ranges. * testsuite/std/format/formatter/lwg3944.cc: Likewise. * testsuite/std/format/parse_ctx.cc: Likewise. * testsuite/std/format/string.cc: Likewise. * testsuite/std/format/ranges/feature_test.cc: New test. Reviewed-by: Jonathan Wakely <jwak...@redhat.com> Signed-off-by: Tomasz KamiÅski <tkami...@redhat.com> (cherry picked from commit 049fefd7e1501ac9dcc66a5ef6c34cea0331dc43)