Re: [Boost-bugs] [Boost C++ Libraries] #5040: future.hpp in boost::thread does not compile with /clr

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-11 05:40:27


#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:
----------------------------------------------------+-----------------------
Changes (by viboes):

 * cc: viboes (added)

Comment:

 Currently the type is defined as

             typedef std::vector<registered_waiter>::size_type count_type;

 Please could you verify which types is this on your platform?

 Could you try changing

                     for(count_type i=0;i<count;++i)
 by
                     for(std::ptrdiff_t i=0;i<count;++i)

 to see if the patch solve the issue?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5040#comment:1>
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