Subject: [Boost-bugs] [Boost C++ Libraries] #6127: lexical_cast in 1.48.0 broken for use on Android platform (wchar_t)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-16 16:23:46
#6127: lexical_cast in 1.48.0 broken for use on Android platform (wchar_t)
------------------------------------------+---------------------------------
Reporter: michael-hofmann@⦠| Owner: nasonov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.48.0 | Severity: Problem
Keywords: lexical_cast wchar_t android |
------------------------------------------+---------------------------------
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: r7) fail,
since wchar_t on Android is not supported.
The following change fixes the compile errors, although I did not check
for correctness.
651: const wchar_t minus = lcast_char_constants<wchar_t>::minus;
652: const wchar_t plus = lcast_char_constants<wchar_t>::plus;
->
651: const CharT minus = lcast_char_constants<CharT>::minus;
652: const CharT plus = lcast_char_constants<CharT>::plus;
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6127> 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:07 UTC