Skip to content

Commit 0d42d9a

Browse files
committed
[libcxx][FreeBSD] Add comments for unsupported xopen_source.gen.py test
FreeBSD _XOPEN_SOURCE doesn't fullfill some requirements in libcxx. As a result, it breaks test since trying to find the declaration of functions.
1 parent f6eb7c5 commit 0d42d9a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

libcxx/test/extensions/posix/xopen_source.gen.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@
1616
# recent value of _XOPEN_SOURCE.
1717
# UNSUPPORTED: LIBCXX-AIX-FIXME
1818

19-
# This test fails on FreeBSD for an unknown reason.
20-
# UNSUPPORTED: LIBCXX-FREEBSD-FIXME
19+
# FreeBSD maps _XOPEN_SOURCE=500 to __ISO_C_VISIBLE=1990 (see <sys/_visible.h>), which hides
20+
# everything C99 added to the C library, even in C++ mode. libc++ needs some of those
21+
# additions to provide a conforming library at all.
22+
# UNSUPPORTED: freebsd
2123

2224
# RUN: %{python} %s %{libcxx-dir}/utils
2325
# END.

0 commit comments

Comments
 (0)