[libcxx-commits] [libcxx] [libcxxabi] [libc++] Introduce the notion of a minimum header version (PR #166074)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 25 22:48:49 PDT 2026


================
@@ -25,4 +27,6 @@ class _LIBCPP_EXPORTED_FROM_ABI bad_any_cast : public bad_cast {
 
 const char* bad_any_cast::what() const noexcept { return "bad any cast"; }
 
+#endif
+
 _LIBCPP_END_NAMESPACE_LFTS
----------------
philnik777 wrote:

The only case where you don't care is when you don't care about ABI stability at all, so I think setting `LIBCXX_ABI_UNSTABLE` should be the way to do that, but since that doesn't work yet setting a large number is probably the way to go for now.

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


More information about the libcxx-commits mailing list