aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.com>2024-12-17 07:06:10 +0300
committerrobot-contrib <robot-contrib@yandex-team.com>2024-12-17 07:23:54 +0300
commit5a9022e45221b12be2fb71480dbfe0d0fa1f856c (patch)
treea4f5a9b77e4b554a22c004987b55a429dc608cdb
parentfcbdc8d5a1a76c6d7488c2562c805f3e873a2188 (diff)
downloadydb-5a9022e45221b12be2fb71480dbfe0d0fa1f856c.tar.gz
Update contrib/restricted/boost/winapi to 1.87.0
commit_hash:7693979d4bb33fc46e799376ee61eca4abde37ab
-rw-r--r--contrib/restricted/boost/winapi/include/boost/winapi/get_proc_address.hpp13
-rw-r--r--contrib/restricted/boost/winapi/ya.make4
2 files changed, 15 insertions, 2 deletions
diff --git a/contrib/restricted/boost/winapi/include/boost/winapi/get_proc_address.hpp b/contrib/restricted/boost/winapi/include/boost/winapi/get_proc_address.hpp
index 2240930cd6..897061ac4f 100644
--- a/contrib/restricted/boost/winapi/include/boost/winapi/get_proc_address.hpp
+++ b/contrib/restricted/boost/winapi/include/boost/winapi/get_proc_address.hpp
@@ -72,6 +72,19 @@ BOOST_FORCEINLINE FARPROC_ get_proc_address(HMODULE_ hModule, LPCSTR_ lpProcName
#endif
}
+template< typename FuncPtr >
+BOOST_FORCEINLINE FuncPtr get_proc_address(HMODULE_ hModule, LPCSTR_ lpProcName)
+{
+#if defined(BOOST_GCC) && BOOST_GCC >= 80000
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wcast-function-type"
+#endif
+ return reinterpret_cast< FuncPtr >(boost::winapi::get_proc_address(hModule, lpProcName));
+#if defined(BOOST_GCC) && BOOST_GCC >= 80000
+#pragma GCC diagnostic pop
+#endif
+}
+
} // namespace winapi
} // namespace boost
diff --git a/contrib/restricted/boost/winapi/ya.make b/contrib/restricted/boost/winapi/ya.make
index be98c17617..1ee9d12893 100644
--- a/contrib/restricted/boost/winapi/ya.make
+++ b/contrib/restricted/boost/winapi/ya.make
@@ -6,9 +6,9 @@ LICENSE(BSL-1.0)
LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
-VERSION(1.86.0)
+VERSION(1.87.0)
-ORIGINAL_SOURCE(https://github.com/boostorg/winapi/archive/boost-1.86.0.tar.gz)
+ORIGINAL_SOURCE(https://github.com/boostorg/winapi/archive/boost-1.87.0.tar.gz)
PEERDIR(
contrib/restricted/boost/config