[libcxx-commits] [libcxx] [libc++] Deprecate removed features macros. (PR #77879)

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 11 23:15:43 PST 2024


================
@@ -16,6 +16,17 @@
 #  pragma GCC system_header
 #endif
 
+#if defined(_LIBCPP_ENABLE_CXX17_REMOVED_FEATURES) && !defined(_LIBCPP_DISABLE_DEPRECATION_WARNINGS)
----------------
mordante wrote:

note putting this in a different place in this header does not always generate the diagnostic. Since this is a short-living change I haven't investigated further.

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


More information about the libcxx-commits mailing list