aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-07-12 00:30:24 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-07-31 17:07:10 +0100
commit72cd15b20a887bed9b0b1f4196be99fe052247b4 (patch)
tree2a6530a0e43f98671d9d9b65c10cfca8617b21cc /gcc
parent74b5101cc9e297f7c530642553e3498d4d705cf4 (diff)
downloadgcc-72cd15b20a887bed9b0b1f4196be99fe052247b4.zip
gcc-72cd15b20a887bed9b0b1f4196be99fe052247b4.tar.gz
gcc-72cd15b20a887bed9b0b1f4196be99fe052247b4.tar.bz2
libstdc++: Support P2510R3 "Formatting pointers" as a DR for C++20
We already enable this for -std=gnu++20 but we can do it for -std=c++20 too. Both libc++ and MSVC also treat this change as a DR for C++20. Now that the previous change to the value of __cpp_lib_format is supported, we can finally update it to 202304 to indicate support for this feature too. libstdc++-v3/ChangeLog: * include/bits/version.def (format): Update value for P2510R3. * include/bits/version.h: Regenerate. * include/std/format (_GLIBCXX_P2518R3): Remove misspelled macro and check __glibcxx_format instead. * testsuite/std/format/functions/format.cc: Check value of the __cpp_lib_format macro for formatting pointers support. * testsuite/std/format/parse_ctx.cc: Likewise.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions