diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-12-17 03:49:55 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-12-17 04:13:54 +0300 |
commit | 961355e37505c70e0b4847a4df4d92be1a30a704 (patch) | |
tree | 61d4be2a6b49f0253fbae1db7b41d6f2788d69eb /contrib | |
parent | 2b44b34396b769d7789de7bfdc22154b55400bdd (diff) | |
download | ydb-961355e37505c70e0b4847a4df4d92be1a30a704.tar.gz |
Intermediate changes
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/restricted/boost/spirit/ya.make | 4 | ||||
-rw-r--r-- | contrib/restricted/boost/variant2/include/boost/variant2/variant.hpp | 19 | ||||
-rw-r--r-- | contrib/restricted/boost/variant2/ya.make | 4 |
3 files changed, 14 insertions, 13 deletions
diff --git a/contrib/restricted/boost/spirit/ya.make b/contrib/restricted/boost/spirit/ya.make index a03ac260d0..364b88da08 100644 --- a/contrib/restricted/boost/spirit/ya.make +++ b/contrib/restricted/boost/spirit/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.83.0) +VERSION(1.84.0) -ORIGINAL_SOURCE(https://github.com/boostorg/spirit/archive/boost-1.83.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/spirit/archive/boost-1.84.0.tar.gz) PEERDIR( contrib/restricted/boost/array diff --git a/contrib/restricted/boost/variant2/include/boost/variant2/variant.hpp b/contrib/restricted/boost/variant2/include/boost/variant2/variant.hpp index f0e8feffce..aec8966249 100644 --- a/contrib/restricted/boost/variant2/include/boost/variant2/variant.hpp +++ b/contrib/restricted/boost/variant2/include/boost/variant2/variant.hpp @@ -18,13 +18,11 @@ #include <boost/assert/source_location.hpp> #include <boost/config.hpp> #include <boost/config/workaround.hpp> -#include <boost/cstdint.hpp> #include <cstddef> #include <type_traits> #include <exception> -#include <initializer_list> #include <utility> -#include <functional> // std::hash +#include <typeindex> // std::hash #include <iosfwd> #include <cstdint> #include <cerrno> @@ -691,8 +689,11 @@ template<class T1, class... T> union variant_storage_impl<mp11::mp_true, T1, T.. # pragma GCC diagnostic push // False positive in at least GCC 7 and GCC 10 ASAN triggered by monostate (via result<void>) # pragma GCC diagnostic ignored "-Wmaybe-uninitialized" +#if __GNUC__ >= 12 +// False positive in at least GCC 12 and GCC 13 ASAN and -Og triggered by monostate (via result<void>) +# pragma GCC diagnostic ignored "-Wuninitialized" +#endif #endif - *this = variant_storage_impl( mp11::mp_size_t<I>(), std::forward<A>(a)... ); #if defined(BOOST_GCC) && (__GNUC__ >= 7) @@ -2319,8 +2320,8 @@ namespace detail inline std::size_t hash_value_impl_( mp11::mp_true, std::size_t index, std::size_t value ) { - boost::ulong_long_type hv = ( boost::ulong_long_type( 0xCBF29CE4 ) << 32 ) + 0x84222325; - boost::ulong_long_type const prime = ( boost::ulong_long_type( 0x00000100 ) << 32 ) + 0x000001B3; + unsigned long long hv = 0xCBF29CE484222325ull; + unsigned long long const prime = 0x100000001B3ull; hv ^= index; hv *= prime; @@ -2497,16 +2498,16 @@ template<class V> struct tag_invoke_L2 boost::json::value const& v; typename boost::json::result_for<V, boost::json::value>::type& r; - template<class I> void operator()( I i ) const + template<class I> void operator()( I /*i*/ ) const { if( !r ) { - using Ti = mp11::mp_at_c<V, i>; + using Ti = mp11::mp_at_c<V, I::value>; auto r2 = boost::json::try_value_to<Ti>( v ); if( r2 ) { - r.emplace( in_place_index_t<i>{}, std::move( *r2 ) ); + r.emplace( in_place_index_t<I::value>{}, std::move( *r2 ) ); } } } diff --git a/contrib/restricted/boost/variant2/ya.make b/contrib/restricted/boost/variant2/ya.make index 9eb2a10040..76920a5d60 100644 --- a/contrib/restricted/boost/variant2/ya.make +++ b/contrib/restricted/boost/variant2/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.83.0) +VERSION(1.84.0) -ORIGINAL_SOURCE(https://github.com/boostorg/variant2/archive/boost-1.83.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/variant2/archive/boost-1.84.0.tar.gz) PEERDIR( contrib/restricted/boost/assert |