aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2023-06-10 13:56:39 +0300
committerthegeorg <thegeorg@yandex-team.com>2023-06-10 13:56:39 +0300
commit826c296285ccfa60ea2b311f2e67f8954e8074fe (patch)
tree09702855435a09f5c23018f92cfd445c91cd1309
parent824bccde520021cc23441f3f0d01bdd791ff6790 (diff)
downloadydb-826c296285ccfa60ea2b311f2e67f8954e8074fe.tar.gz
Move backward compatibility define to libcxx's own wrappers_config
So this define will not be applied when building with `-DUSE_STL_SYSTEM`.
-rw-r--r--contrib/libs/cxxsupp/libcxx/include/__wrappers_config7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__wrappers_config b/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
index d085598195..40a56485fb 100644
--- a/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
+++ b/contrib/libs/cxxsupp/libcxx/include/__wrappers_config
@@ -34,7 +34,14 @@
#define _LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS
#define _LIBCPP_NO_AUTO_LINK
#define _LIBCPP_DISABLE_DEPRECATION_WARNINGS
+
+// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1957
+#define _LIBCPP_ENABLE_CXX17_REMOVED_FEATURES
+
+// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1955
#define _LIBCPP_ENABLE_CXX20_REMOVED_ALLOCATOR_MEMBERS
+
+// should be removed in https://st.yandex-team.ru/IGNIETFERRO-1956
#define _LIBCPP_ENABLE_CXX20_REMOVED_TYPE_TRAITS
#define _LIBCPP_REMOVE_TRANSITIVE_INCLUDES