Subject: Re: [boost] [thread] warning in trunk
From: Jeff Flinn (Jeffrey.Flinn_at_[hidden])
Date: 2012-11-08 07:52:38
On 11/8/2012 2:46 AM, Vicente J. Botet Escriba wrote:
> Le 08/11/12 02:14, Nigel Pattinson a écrit :
>> Vicente Botet wrote
>>> Vicente Botet wrote
>>>> Gennadiy Rozenal wrote
>>>>> 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
>>>>> operator ',' used
>>>> I don't understand why this warning appear, and I will understand it.
>>>> Anyway, could you create a ticket? Patches welcome.
>>> 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
>> 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
> Thanks Nigel.
> I don't why MSVC don't signal the concerned file/line.
> Gennadly, if you have not created yet the ticket, maybe you can create
> it associate to the Utility library ;-).
I've added Ticket #7663 to utility as you've asked summarizing this thread.
I'm getting "...\boost_1_52_0\boost/thread/future.hpp(293): warning
C4913: user defined binary operator ',' exists but no overload could
convert all operands, default built-in binary operator ',' used
with VC2012 and boost_1_52_0 release.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk