[libcxx-commits] [libcxx] [openmp] [libc++] basic_ios<wchar_t> cannot store fill character WCHAR_MAX (PR #89305)

Xing Xue via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jul 4 15:45:50 PDT 2024


================
@@ -108,6 +116,10 @@
 #  if defined(__FreeBSD__) && __FreeBSD__ < 14
 #    define _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
 #  endif
+// AIX and 64-bit MVS must use _FillHelper for ABI backward compatibility.
+#  if defined(_AIX) || (defined(__MVS__) && defined(__64BIT__))
+#    define _LIBCXX_IOS_USE_FILL_HELPER
+#  endif
----------------
xingxue-ibm wrote:

Great, thanks for the suggestion!

https://github.com/llvm/llvm-project/pull/89305


More information about the libcxx-commits mailing list