[libcxx-commits] [libcxx] [libc++] Remove _LIBCPP_DISABLE_AVAILABILITY macro (PR #112952)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Oct 21 07:38:50 PDT 2024
================
@@ -85,6 +85,9 @@ Deprecations and Removals
- The function ``__libcpp_verbose_abort()`` is now ``noexcept``, to match ``std::terminate()``. (The combination of
``noexcept`` and ``[[noreturn]]`` has special significance for function effects analysis.)
+- The ``_LIBCPP_DISABLE_AVAILABILITY`` macro that was used to force-disable availability markup has now been removed.
+ Whether availability markup is used by the library is now solely controlled at configuration-time.
----------------
ldionne wrote:
Ugh. That's very very unsupported though. You can't use headers and a dylib from mismatched configurations, that's literally asking for problems. What if the Apple SDK headers were configured to use a different ABI configuration, for example?
@h-vetinari is that really what you're doing? I'd be willing to chat with you to understand your use case and see how it can be supported, however it seems like your current setup might not be something we can support as-is. I'm sure there's a proper way to support your use case though.
https://github.com/llvm/llvm-project/pull/112952
More information about the libcxx-commits
mailing list