[Boost-bugs] [Boost C++ Libraries] #7478: Compiles fails with compilers supporting char16_t and char32_t fails if the library don't provides std::u16string and std::u32string

Subject: [Boost-bugs] [Boost C++ Libraries] #7478: Compiles fails with compilers supporting char16_t and char32_t fails if the library don't provides std::u16string and std::u32string
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-07 13:30:40


#7478: Compiles fails with compilers supporting char16_t and char32_t fails if the
library don't provides std::u16string and std::u32string
------------------------------+---------------------------------------------
 Reporter: viboes | Owner: viboes
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: ratio
  Version: Boost 1.51.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 {{{
 In file included from ratio_io/ratio_io_pass.cpp:16:
 ../../../boost/ratio/ratio_io.hpp:130:17: error: no type named 'u16string'
 in namespace 'std'
     static std::u16string symbol() {return std::u16string(1, u'a');}
            ~~~~~^

 fatal error: too many errors emitted, stopping now [-ferror-limit=]
 20 errors generated.

     "/Users/viboes/clang/clang+llvm-3.1-x86_64-apple-darwin11/bin/clang++"
 -x c++ -std=c++11 -O0 -g -Wextra -Wno-long-long -pedantic -O0 -fno-inline
 -Wall -pedantic -g -DBOOST_ALL_NO_LIB=1 -DBOOST_ENABLE_WARNINGS
 -DBOOST_MPL_NEXT_PRIOR_EXT -DBOOST_RATIO_USES_MPL_ASSERT
 -DBOOST_RATIO_VERSION=2 -I"../../.." -c -o
 "../../../bin.v2/libs/ratio/test/ratio_io_pass.test/clang-
 darwin-3.1x/debug/ratio_io/ratio_io_pass.o" "ratio_io/ratio_io_pass.cpp"

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7478>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC