summaryrefslogtreecommitdiffstats
path: root/contrib/restricted/boost
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2023-08-15 10:08:43 +0300
committerrobot-contrib <[email protected]>2023-08-15 12:53:03 +0300
commit32a83973356e58bf01ba01f8e73eccbd9b121d58 (patch)
tree28a4f212c7f1002735452e5da32d58db25ddbf1f /contrib/restricted/boost
parent284fd8a4a978caecc4f350d5fbe64bf27ab021df (diff)
Update contrib/restricted/boost/ratio to 1.83.0
Diffstat (limited to 'contrib/restricted/boost')
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/config.hpp8
-rw-r--r--contrib/restricted/boost/ratio/include/boost/ratio/detail/requires_cxx11.hpp2
-rw-r--r--contrib/restricted/boost/ratio/ya.make4
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 <boost/ratio/detail/requires_cxx11.hpp>
#include <boost/config.hpp>
+#include <boost/config/pragma_message.hpp>
#include <boost/cstdint.hpp>
@@ -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 <ratio>.")
+
+#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