|
Boost : |
Subject: Re: [boost] [1.54] [thread] MSVC build broken
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2013-06-15 07:17:52
Le 15/06/13 13:08, Vicente J. Botet Escriba a écrit :
> Le 15/06/13 13:02, Vicente J. Botet Escriba a écrit :
>> Le 15/06/13 12:23, Andrey Semashev a écrit :
>>> Hi,
>>>
>>> I've noticed that my Boost.Log tests on MSVC are failing massively. The build
>>> log hints that Boost.Thread might be the culprit, and its tests are also
>>> failing on MSVC with the following error:
>>>
>>> ..\boost/thread/future.hpp(1127) : error C2248:
>>> 'boost::unique_lock<Mutex>::operator =' : cannot access private member
>>> declared in class 'boost::unique_lock<Mutex>'
>>> with
>>> [
>>> Mutex=boost::mutex
>>> ]
>>> ..\boost/thread/lock_types.hpp(110) : see declaration of
>>> 'boost::unique_lock<Mutex>::operator ='
>>> with
>>> [
>>> Mutex=boost::mutex
>>> ]
>>>
>>> This is happening on release branch. Could this be fixed?
>>>
>>>
>> Hi,
>>
>> I have no access to a windows machine now.
>>
>> There were this change set
>> https://svn.boost.org/trac/boost/changeset/84750 that could be related.
>>
>> Please could you try to revert this and let me know if this is the
>> source of the problems?
>>
>>
> BTW,
> I see that there is an error for versions 8 and 9 but no error for
> version 10 and 11.
> With which versions are you finding the error?
>
Please, could you try by changing
#if defined(BOOST_MSVC)
by
#if defined(BOOST_MSVC) && _MSC_VER >= 1600
Vicente
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk