r275201 - in /branches/gcc-8-branch/libstdc++-v...
redi@gcc.gnu.org
redi@gcc.gnu.org
Fri Aug 30 16:12:00 GMT 2019
Author: redi
Date: Fri Aug 30 16:12:33 2019
New Revision: 275201
URL: https://gcc.gnu.org/viewcvs?rev=275201&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:
branches/gcc-8-branch/libstdc++-v3/ChangeLog
branches/gcc-8-branch/libstdc++-v3/include/std/ostream
More information about the Libstdc++-cvs
mailing list