From a0ec111c92964fd3bc48a032d383eaa1109f20ce Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Wed, 26 Feb 2020 19:09:07 -0500 Subject: [PATCH] [libc++] Temporarily disable availability markup for the C++20 Synchronization library The markup wasn't quite right, and that broke compilation with availability markup enabled. I'm disabling it until I have time to fix it properly to get the CI mostly green again. --- libcxx/include/__config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcxx/include/__config b/libcxx/include/__config index 6cd12669..b14cc84 100644 --- a/libcxx/include/__config +++ b/libcxx/include/__config @@ -1435,7 +1435,7 @@ _LIBCPP_FUNC_VIS extern "C" void __sanitizer_annotate_contiguous_container( # define _LIBCPP_AVAILABILITY_TO_CHARS \ _LIBCPP_AVAILABILITY_FILESYSTEM # define _LIBCPP_AVAILABILITY_SYNC \ - __attribute__((availability(unavailable, message="The C++20 Synchronization Library requires runtime support that hasn't been shipped on Apple platforms yet!"))) + /*FIXME:mark this as unavailable on Apple platforms*/ #else # define _LIBCPP_AVAILABILITY_SHARED_MUTEX # define _LIBCPP_AVAILABILITY_BAD_VARIANT_ACCESS -- 2.7.4