Boost logo

Boost :

Subject: Re: [boost] [thread] warning in trunk
From: Nigel Pattinson (nigel.pattinson_at_[hidden])
Date: 2012-11-07 20:14:00


Vicente Botet wrote
>
> Vicente Botet wrote
>>
>> Gennadiy Rozenal wrote
>>> Hi,
>>>
>>> Can anyone clean this one:
>>>
>>> boost/thread/future.hpp(378) : warning C4913: user defined binary
>>> operator ','
>>> exists but no overload could convert all operands, default built-in
>>> binary
>>> operator ',' used
>> I don't understand why this warning appear, and I will understand it.
>> Anyway, could you create a ticket? Patches welcome.
>>
>> Best,
>> Vicente
> Sorry I meant I *want to* understand it.

We have also encountered this. We are using MSVC 2008 (9.0). The comma
operator in question is the one in boost/utility/result_of.hpp at line 74 -
if I comment that line out everything compiles fine. It is just a warning,
so rather than changing result_of.hpp our current workaround is just to
disable the warning around the inclusion of future.hpp .

Hope this helps
Nigel

--
View this message in context: http://boost.2283326.n4.nabble.com/thread-warning-in-trunk-tp4638136p4638343.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk