[libcxx-commits] [libcxx] [libc++] Introduce the notion of a minimum header version (PR #166074)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 10 08:14:41 PST 2025
================
@@ -11,6 +11,7 @@
#cmakedefine _LIBCPP_ABI_VERSION @_LIBCPP_ABI_VERSION@
#cmakedefine _LIBCPP_ABI_NAMESPACE @_LIBCPP_ABI_NAMESPACE@
+#cmakedefine _LIBCPP_AVAILABILITY_MINIMUM_HEADER_VERSION @_LIBCPP_AVAILABILITY_MINIMUM_HEADER_VERSION@
#cmakedefine01 _LIBCPP_ABI_FORCE_ITANIUM
#cmakedefine01 _LIBCPP_ABI_FORCE_MICROSOFT
----------------
ldionne wrote:
Similarly, we should have a diagnostic in `__configuration/availability.h` that warns (or errors out) when a deployment target that is not supported is used.
https://github.com/llvm/llvm-project/pull/166074
More information about the libcxx-commits
mailing list