Boost logo

Boost :

Subject: Re: [boost] [thread] warning in trunk
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-11-08 02:46:16


Le 08/11/12 02:14, Nigel Pattinson a écrit :
> 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
>
>
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 ;-).

Best,
Vicente


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