Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.45: thread/condition_variable.hpp: unused variable 'res' warning, gcc 4.2
From: Dean Michael Berris (mikhailberis_at_[hidden])
Date: 2011-01-06 18:39:56


On Fri, Jan 7, 2011 at 6:54 AM, Anthony Williams <anthony.ajw_at_[hidden]> wrote:
> Dean Michael Berris <mikhailberis_at_[hidden]> writes:
>
>>
>> I actually have a patch for this:
>> https://svn.boost.org/trac/boost/ticket/4818 which I don't think has
>> been merged into (or acted upon) yet.
>
> I've changed it to throw rather than assert, for consistency with
> condition_variable_any. This should get rid of the warning too.
>

Cool! Thanks Anthony! (even though my patch didn't solve it) :-D

-- 
Dean Michael Berris
about.me/deanberris

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net