Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5040: future.hpp in boost::thread does not compile with /clr
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-23 11:45:26
#5040: future.hpp in boost::thread does not compile with /clr
----------------------------------------------------+-----------------------
Reporter: Colin Powers <colin.powers@â¦> | Owner: anthonyw
Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
Version: Boost 1.45.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------------+-----------------------
Comment (by colin.powers@â¦):
typedef std::vector<registered_waiter>::size_type count_type;
takes me to this definition:
typedef typename _Alloc::size_type size_type;
However I'm not sure how much further I can dig there.
Altering the for loops as you suggested on lines 420 and 433, along with
altering the type of count on line 414 to be std::ptrdiff_t as well, gets
rid of the errors. count had to change type to avoid signed/unsigned
errors.
I can then compile but get the following warning which causes an error at
runtime:
warning LNK4248: unresolved typeref token (0100001E) for
'boost.detail.win32._SECURITY_ATTRIBUTES'; image may not run
However I imagine this is a separate issue and therefore not relevant to
this ticket.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5040#comment:2> 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:06 UTC