Boost logo

Boost :

Subject: Re: [boost] [thread][config] VC10RC fails compiling when using thread library (BOOST_NO_RVALUE_REFERENCES)
From: Ian Emmons (iemmons_at_[hidden])
Date: 2010-02-18 08:32:42

On Feb 18, 2010, at 3:34 AM, Anthony Williams wrote:
> Zachary Turner <divisortheory_at_[hidden]> writes:
>> It would be nice for them to be available in situations that arent
>> affected by this bug. Is there a workaround that can be applied for
>> this one case?
> I could put an "if not MSVC 10" test around the boost::thread
> constructor.

Perhaps a better solution would be to create a config macro HAS_MSVC_BUG_525239 and use that to control compilation of the boost::thread
constructor. That way, if Microsoft fixes the bug in a service pack, the better code can be used even though it's still MSVC 10.

Boost list run by bdawes at, gregod at, cpdaniel at, john at