Boost C++ Libraries: Ticket #6127: lexical_cast in 1.48.0 broken for use on Android platform (wchar_t) https://svn.boost.org/trac10/ticket/6127 <p> Due to the use of wchar_t in lines 651-652 in boost/lexical_cast.hpp, compilation of translation units using the Android NDK (tested: <a class="changeset" href="https://svn.boost.org/trac10/changeset/7" title="Initial content for next-gen Boost website. ">r7</a>) fail, since wchar_t on Android is not supported. </p> <p> The following change fixes the compile errors, although I did not check for correctness. </p> <p> 651: const wchar_t minus = lcast_char_constants&lt;wchar_t&gt;::minus; </p> <p> 652: const wchar_t plus = lcast_char_constants&lt;wchar_t&gt;::plus; </p> <p> -&gt; </p> <p> 651: const CharT minus = lcast_char_constants&lt;CharT&gt;::minus; </p> <p> 652: const CharT plus = lcast_char_constants&lt;CharT&gt;::plus; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6127 Trac 1.4.3 anonymous Wed, 23 Nov 2011 20:46:44 GMT <link>https://svn.boost.org/trac10/ticket/6127#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6127#comment:1</guid> <description> <p> This patch seems to fix my problem as well (for compiling on Android, as well as OSX and iOS) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Mon, 05 Dec 2011 16:24:27 GMT</pubDate> <title>owner, status changed https://svn.boost.org/trac10/ticket/6127#comment:2 https://svn.boost.org/trac10/ticket/6127#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">nasonov</span> to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Antony Polukhin Mon, 05 Dec 2011 16:29:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6127#comment:3 https://svn.boost.org/trac10/ticket/6127#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/75813" title="Fixes #6127 (wchar_t usage outside of #ifndef BOOST_LCAST_NO_WCHAR_T )">[75813]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6127" title="#6127: Bugs: lexical_cast in 1.48.0 broken for use on Android platform (wchar_t) (closed: fixed)">#6127</a> (wchar_t usage outside of #ifndef BOOST_LCAST_NO_WCHAR_T ) </p> Ticket Antony Polukhin Mon, 05 Dec 2011 16:32:51 GMT <link>https://svn.boost.org/trac10/ticket/6127#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6127#comment:4</guid> <description> <p> Great thanks! <br /> Fixed in trunk version. As soon as fix cycles through a regression tests it will be merged to release branch. </p> </description> <category>Ticket</category> </item> </channel> </rss>