]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Fix value of __cpp_lib_constexpr_charconv
authorJonathan Wakely <jwakely@redhat.com>
Mon, 17 Oct 2022 08:38:02 +0000 (09:38 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 17 Oct 2022 08:39:37 +0000 (09:39 +0100)
libstdc++-v3/ChangeLog:

* include/std/charconv (__cpp_lib_constexpr_charconv): Define to
correct value.
* include/std/version (__cpp_lib_constexpr_charconv): Likewise.
* testsuite/20_util/to_chars/constexpr.cc: Check correct value.
* testsuite/20_util/to_chars/version.cc: Likewise.

libstdc++-v3/include/std/charconv
libstdc++-v3/include/std/version
libstdc++-v3/testsuite/20_util/to_chars/constexpr.cc
libstdc++-v3/testsuite/20_util/to_chars/version.cc

index 4b6cc83a567c06d0a835303c6e73b0e40ce114d7..7aefdd3298c3d85d47a4c931326b80b0c8c6aa89 100644 (file)
@@ -51,7 +51,7 @@
 #endif
 
 #if __cplusplus > 202002L
-# define __cpp_lib_constexpr_charconv 202202L
+# define __cpp_lib_constexpr_charconv 202207L
 #endif
 
 namespace std _GLIBCXX_VISIBILITY(default)
index bec9e7aa7927162db502182099294a92be99ab14..3c7c440bd808451d416a9a2d904d8d49ac24fab1 100644 (file)
 #if __cplusplus > 202002L
 // c++23
 #define __cpp_lib_byteswap 202110L
-#define __cpp_lib_constexpr_charconv 202202L
+#define __cpp_lib_constexpr_charconv 202207L
 #define __cpp_lib_constexpr_typeinfo 202106L
 #if __cpp_concepts >= 202002L
 # define __cpp_lib_expected 202202L
index 30c591659eeb72d3215bf9e1f92eb99f56be7af6..10855b737c70c40653793f2145e224dd5f5338a2 100644 (file)
@@ -5,7 +5,7 @@
 
 #ifndef __cpp_lib_constexpr_charconv
 # error "Feature-test macro for constexpr charconv missing in <charconv>"
-#elif __cpp_lib_constexpr_charconv != 202202L
+#elif __cpp_lib_constexpr_charconv != 202207L
 # error "Feature-test macro for constexpr charconv has wrong value in <charconv>"
 #endif
 
index af06e1bf054e3a9930f2259b418a869accd96cfb..25b1e0036e8ab333ea7c71e7be03cf33cd7e1491 100644 (file)
@@ -11,6 +11,6 @@
 
 #ifndef __cpp_lib_constexpr_charconv
 # error "Feature-test macro for constexpr charconv missing in <version>"
-#elif __cpp_lib_constexpr_charconv != 202202L
+#elif __cpp_lib_constexpr_charconv != 202207L
 # error "Feature-test macro for constexpr charconv has wrong value in <version>"
 #endif