[Boost-bugs] [Boost C++ Libraries] #9247: locale - build failure with recommended icu configuration

Subject: [Boost-bugs] [Boost C++ Libraries] #9247: locale - build failure with recommended icu configuration
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-13 16:45:28


#9247: locale - build failure with recommended icu configuration
------------------------------+---------------------
 Reporter: hvemha@… | Owner: artyom
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: locale
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Configuring icu as recommended here:[[Br]]
 http://source.icu-project.org/repos/icu/icu/trunk/readme.html#RecBuild
 [[Br]]More precisely, build fails if icu::UnicodeString contructors are
 declared explicit.
 The attach patch fixes build errors.

 All fixes in formatter.cpp constructs UnicodeStrings from invariant
 strings (invariant characters defined here: http://icu-
 project.org/apiref/icu4c/platform_8h.html#a7fb0b0fede299f9d74973b15e79d3085).
 Previously all these constructors would involve an extra overhead as they
 were depending on the conversion framework.

 The change in time_zone.cpp still depends on the conversion framework
 (behavior not changed). I do not think it is possible to guarantee that
 the provided string only includes invariant characters. In this case, the
 resulting string is undefined.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9247>
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:14 UTC