Re: [v3] proposed fix for libstdc++/49204 causes abi_check failure

2012-01-31 Thread Jonathan Wakely
A bit later than I originally planned, but this is now committed, as attached. 2012-02-01 Jonathan Wakely PR libstdc++/49204 * include/std/future (__future_base::_State_base::wait()): Use lambda expression for predicate and remove redundant test. (__future_base:

Re: [v3] proposed fix for libstdc++/49204 causes abi_check failure

2012-01-21 Thread Jonathan Wakely
On 20 January 2012 11:23, Paolo Carlini wrote: > Hi, > >> Here's a different, partial fix for PR 49204, changing the timed waiting >> functions to return future_status, but not returning >> future_status::deferred, as that requires the ABI change detailed above. >> This doesn't change the library A

Re: [v3] proposed fix for libstdc++/49204 causes abi_check failure

2012-01-20 Thread Paolo Carlini
Hi, Here's a different, partial fix for PR 49204, changing the timed waiting functions to return future_status, but not returning future_status::deferred, as that requires the ABI change detailed above. This doesn't change the library ABI, but might still be too big a change for 4.7 at this st

Re: [v3] proposed fix for libstdc++/49204 causes abi_check failure

2012-01-19 Thread Jonathan Wakely
On 31 December 2011 17:33, Jonathan Wakely wrote: > I want to commit the attached patch: > >        PR libstdc++/49204 >        * include/std/future (__future_base::_State_base::wait()): Call >        _M_complete_async instead of _M_run_deferred. >        (__future_base::_State_base::wait_for()): C

[v3] proposed fix for libstdc++/49204 causes abi_check failure

2011-12-31 Thread Jonathan Wakely
I want to commit the attached patch: PR libstdc++/49204 * include/std/future (__future_base::_State_base::wait()): Call _M_complete_async instead of _M_run_deferred. (__future_base::_State_base::wait_for()): Call _M_has_deferred and return future_status.