[PATCH] PR libstdc++/81469 deprecate std::uncaught_exception for C++17

Nathan Sidwell nathan@acm.org
Thu Sep 28 23:39:00 GMT 2017


On 09/28/2017 11:52 AM, Jakub Jelinek wrote:
> Hi!
> 
> On Wed, Sep 20, 2017 at 05:35:26PM +0100, Jonathan Wakely wrote:
>> C++17 deprecates uncaught_exception in favour of uncaught_exceptions,
>> so this adds the attribute.
>>
>> 	PR libstdc++/81469
>> 	* libsupc++/exception (uncaught_exception): Deprecate for C++17.
>> 	* testsuite/18_support/exception_ptr/62258.cc: Add -Wno-deprecated.
>> 	* testsuite/18_support/uncaught_exception/14026.cc: Likewise.
>>
>> Tested powerpc64le-linux, committed to trunk.
> 
> This broke a couple of tests with make check-c++-all, the following patch
> should fix that.
> 
> Regtested on x86_64-linux and i686-linux, including make check-c++-all, ok
> for trunk?

ok, thanks

nathan
-- 
Nathan Sidwell



More information about the Libstdc++ mailing list