r263593 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Thu Aug 16 16:56:00 GMT 2018
Author: redi
Date: Thu Aug 16 16:56:40 2018
New Revision: 263593
URL: https://gcc.gnu.org/viewcvs?rev=263593&root=gcc&view=rev
Log:
Avoid deprecation warning with -Wsystem-headers
C++17 says to use std::uncaught_exceptions() here instead of
std::uncaught_exception() but since we only care whether the result is
non-zero (and we aren't planning to remove the deprecated version) we
can just keep using std::uncaught_exception() and suppress the warning.
* include/std/ostream (basic_ostream::sentry::~sentry): Suppress
deprecation warnings for using uncaught_exception().
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/ostream
More information about the Libstdc++-cvs
mailing list