[libcxx-commits] [libcxx] [libc++] Mark xopen_source test unsupported on OpenBSD (PR #233710)

Brad Smith via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 20 03:27:22 PDT 2026


================
@@ -17,6 +17,12 @@
 # additions to provide a conforming library at all.
 # UNSUPPORTED: freebsd
 
+# OpenBSD's <sys/cdefs.h> honors _XOPEN_SOURCE strictly: 500 and 600 hide the POSIX.1-2008
+# locale API (locale_t, uselocale(), LC_*_MASK), and every value below 800 hides asprintf(),
+# which is only exposed for POSIX.1-2024 or __BSD_VISIBLE. libc++'s locale support needs all
+# of these from its public headers (e.g. money_put uses __locale::__asprintf).
+# UNSUPPORTED: openbsd
----------------
brad0 wrote:

Sure.

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


More information about the libcxx-commits mailing list