[libcxx-commits] [libcxx] [libc++] Fix initialization-order-fiasco with iostream.cpp constructors (PR #126995)
Vitaly Buka via libcxx-commits
libcxx-commits at lists.llvm.org
Sat Feb 15 13:01:43 PST 2025
================
@@ -38,13 +38,20 @@ union stream_data {
#define CHAR_MANGLING_wchar_t "_W"
#define CHAR_MANGLING(CharT) CHAR_MANGLING_##CharT
+#ifdef _LIBCPP_COMPILER_CLANG_BASED
+# define STRING_DATA_CONSTINIT constinit
----------------
vitalybuka wrote:
Can we land this one in meantime?
https://github.com/llvm/llvm-project/pull/126995
More information about the libcxx-commits
mailing list