Boost C++ Libraries: Ticket #9247: locale - build failure with recommended icu configuration https://svn.boost.org/trac10/ticket/9247 <p> Configuring icu as recommended here:<br /> <a class="ext-link" href="http://source.icu-project.org/repos/icu/icu/trunk/readme.html#RecBuild"><span class="icon">​</span>http://source.icu-project.org/repos/icu/icu/trunk/readme.html#RecBuild</a> <br />More precisely, build fails if icu::<a class="missing wiki">UnicodeString</a> contructors are declared explicit. The attach patch fixes build errors. </p> <p> All fixes in formatter.cpp constructs <a class="missing wiki">UnicodeStrings</a> from invariant strings (invariant characters defined here: <a class="ext-link" href="http://icu-project.org/apiref/icu4c/platform_8h.html#a7fb0b0fede299f9d74973b15e79d3085"><span class="icon">​</span>http://icu-project.org/apiref/icu4c/platform_8h.html#a7fb0b0fede299f9d74973b15e79d3085</a>). Previously all these constructors would involve an extra overhead as they were depending on the conversion framework. </p> <p> 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. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9247 Trac 1.4.3 hvemha@… Sun, 13 Oct 2013 16:46:26 GMT attachment set https://svn.boost.org/trac10/ticket/9247 https://svn.boost.org/trac10/ticket/9247 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">locale_icu_fix.patch</span> </li> </ul> Ticket