Ticket #6127 (closed Bugs: fixed)
lexical_cast in 1.48.0 broken for use on Android platform (wchar_t)
|Reported by:||michael-hofmann@…||Owned by:||apolukhin|
|Milestone:||To Be Determined||Component:||lexical_cast|
|Keywords:||lexical_cast wchar_t android||Cc:|
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;
- Owner changed from nasonov to apolukhin
- Status changed from new to assigned
- Status changed from assigned to closed
- Resolution set to fixed