From 32a83973356e58bf01ba01f8e73eccbd9b121d58 Mon Sep 17 00:00:00 2001 From: robot-contrib Date: Tue, 15 Aug 2023 10:08:43 +0300 Subject: Update contrib/restricted/boost/ratio to 1.83.0 --- contrib/restricted/boost/ratio/include/boost/ratio/config.hpp | 8 ++++++-- .../boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp | 2 +- contrib/restricted/boost/ratio/ya.make | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp index 29f7e0c1c3b..1c3dd3c0711 100644 --- a/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp +++ b/contrib/restricted/boost/ratio/include/boost/ratio/config.hpp @@ -11,6 +11,7 @@ #include #include +#include #include @@ -25,7 +26,7 @@ #if !defined BOOST_RATIO_VERSION -#define BOOST_RATIO_VERSION 1 +#define BOOST_RATIO_VERSION 2 #else #if BOOST_RATIO_VERSION!=1 && BOOST_RATIO_VERSION!=2 #error "BOOST_RATIO_VERSION must be 1 or 2" @@ -91,7 +92,10 @@ #define BOOST_RATIO_DENOMINATOR_IS_OUT_OF_RANGE "ratio denominator is out of range" #endif +#if defined(BOOST_RATIO_EXTENSIONS) -//#define BOOST_RATIO_EXTENSIONS +BOOST_PRAGMA_MESSAGE("Support for BOOST_RATIO_EXTENSIONS is deprecated and will be removed when Boost.Ratio is implemented in terms of .") + +#endif #endif // header diff --git a/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp b/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp index 8341a960569..1f7362e6de7 100644 --- a/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp +++ b/contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp @@ -15,7 +15,7 @@ defined(BOOST_NO_CXX11_NOEXCEPT) || \ defined(BOOST_NO_CXX11_HDR_RATIO) -BOOST_PRAGMA_MESSAGE("C++03 support is deprecated in Boost.Ratio 1.82 and will be removed in Boost.Ratio 1.84.") +BOOST_PRAGMA_MESSAGE("C++03 support was deprecated in Boost.Ratio 1.82 and will be removed in Boost.Ratio 1.84.") #endif diff --git a/contrib/restricted/boost/ratio/ya.make b/contrib/restricted/boost/ratio/ya.make index 7378f59b5a9..4f65a6b1de5 100644 --- a/contrib/restricted/boost/ratio/ya.make +++ b/contrib/restricted/boost/ratio/ya.make @@ -6,9 +6,9 @@ LICENSE(BSL-1.0) LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -VERSION(1.82.0) +VERSION(1.83.0) -ORIGINAL_SOURCE(https://github.com/boostorg/ratio/archive/boost-1.82.0.tar.gz) +ORIGINAL_SOURCE(https://github.com/boostorg/ratio/archive/boost-1.83.0.tar.gz) PEERDIR( contrib/restricted/boost/config -- cgit v1.3