aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Prichard <rprichard@google.com>2023-09-26 20:16:58 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-09-26 20:16:58 +0000
commitab8037663333e93f211c0c17eeeed7beb5bc6fb7 (patch)
tree0e363efcd4c3d7e24c97cf7efa52c54623e9d66e
parent095bebf2873433296d88a9708565fe9115872d1f (diff)
parentcfea2cada359d9e9d853efe92b0924be4a7a34d5 (diff)
downloadvsomeip-ab8037663333e93f211c0c17eeeed7beb5bc6fb7.tar.gz
Merge "Define BOOST_NO_CXX98_FUNCTION_BASE for new libc++" into mainplatform-tools-34.0.5
-rw-r--r--third_party/boost/config/include/boost/config/stdlib/libcpp.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp b/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp
index ed51c058..001e7c3c 100644
--- a/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp
+++ b/third_party/boost/config/include/boost/config/stdlib/libcpp.hpp
@@ -162,4 +162,13 @@
# define BOOST_NO_CXX14_HDR_SHARED_MUTEX
#endif
+#if _LIBCPP_VERSION >= 15000
+//
+// Unary function is now deprecated in C++11 and later:
+//
+#if __cplusplus >= 201103L
+#define BOOST_NO_CXX98_FUNCTION_BASE
+#endif
+#endif
+
// --- end ---