Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80963 - in branches/release: boost/ratio libs/ratio libs/ratio/doc
From: vicente.botet_at_[hidden]
Date: 2012-10-11 18:49:46


Author: viboes
Date: 2012-10-11 18:49:45 EDT (Thu, 11 Oct 2012)
New Revision: 80963
URL: http://svn.boost.org/trac/boost/changeset/80963

Log:
Thread: Merge 80946,80947
Properties modified:
   branches/release/boost/ratio/ (props changed)
   branches/release/libs/ratio/ (props changed)
Text files modified:
   branches/release/boost/ratio/config.hpp | 11 +++++++++++
   branches/release/libs/ratio/doc/ratio.qbk | 4 ----
   2 files changed, 11 insertions(+), 4 deletions(-)

Modified: branches/release/boost/ratio/config.hpp
==============================================================================
--- branches/release/boost/ratio/config.hpp (original)
+++ branches/release/boost/ratio/config.hpp 2012-10-11 18:49:45 EDT (Thu, 11 Oct 2012)
@@ -12,6 +12,17 @@
 #include <boost/config.hpp>
 #include <boost/cstdint.hpp>
 
+
+#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5) || !defined(__GXX_EXPERIMENTAL_CXX0X__)
+# if ! defined BOOST_NO_CXX11_U16STRING
+# define BOOST_NO_CXX11_U16STRING
+# endif
+# if ! defined BOOST_NO_CXX11_U32STRING
+# define BOOST_NO_CXX11_U32STRING
+# endif
+#endif
+
+
 #if !defined BOOST_RATIO_VERSION
 #define BOOST_RATIO_VERSION 1
 #else

Modified: branches/release/libs/ratio/doc/ratio.qbk
==============================================================================
--- branches/release/libs/ratio/doc/ratio.qbk (original)
+++ branches/release/libs/ratio/doc/ratio.qbk 2012-10-11 18:49:45 EDT (Thu, 11 Oct 2012)
@@ -1867,10 +1867,6 @@
 
 * [@http://svn.boost.org/trac/boost/ticket/7478 #7478] Compiles fails with compilers supporting char16_t and char32_t fails if the library doesn't provides std::u16string and std::u32string.
 
-Currently there are no macros BOOST_NO_CXX11_U16STRING and BOOST_NO_CXX11_U32STRING signaling that the standard library doesn't provides std::u16string or std::u32string. The committed change avoids the compile error when Boost.Config will provide these macros. In the mean time the user needs to define them explicitly while using Boost.Ratio in these conditions.
-
-
-
 [endsect]
 
 [section [*Version 1.0.3, August 1, 2012 - 1.51] ]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk