Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8552: Error compiling libboost_thread for android
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-11-18 14:50:03
#8552: Error compiling libboost_thread for android
-------------------------------+-------------------------
Reporter: Radke | Owner: danieljames
Type: Bugs | Status: new
Milestone: To Be Determined | Component: hash
Version: Boost 1.53.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------
Comment (by anonymous):
Not sure what I can do much for a four year old android bug report. I'm
not seeing this in the regression test results for android with recent
versions.
My guess is that in config `BOOST_NO_STD_WSTRING` was not defined, but
`BOOST_NO_INTRINSIC_WCHAR_T` was defined, meaning that the code thinks
there is a `std::wstring`, but no `wchar_t`. That results in hash defining
a hash function for `std::wstring`, but it fails to compile because it
can't hash the characters. I'll put in a change to only define a hash
function for `std::wstring` when `wchar_t` is available, but I'm not sure
if it'll do any good.
I suppose another possibility would be to write special case code for
strings so that it doesn't need a hash function for characters, but I'd
rather not do that, as I don't want to add new functionality at this
point.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8552#comment:4> 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:20 UTC