git: gcc80: Remove throw() from protos in libstdc++ headers.
zrj at crater.dragonflybsd.org
Mon May 14 10:31:11 PDT 2018
Author: zrj <rimvydas.jasinskas at gmail.com>
Date: Wed May 2 16:32:23 2018 +0300
gcc80: Remove throw() from protos in libstdc++ headers.
The throw() as dynamic exception specificators was deprecated in c++11
and removed in c++17 (empty was made as an alias to noexcept(true)).
Our libc headers does not have the __attribute__(__nothrow__) markups.
To make libstdc++ fully usable for clangs on DragonFly it makes sense
to just remove the throw() additions in c++ language binding headers.
Previously in gcc50 we were excluding them just for __clang__ case as in:
Summary of changes:
contrib/gcc-8.0/libstdc++-v3/include/c_global/cstdio | 8 +++-----
contrib/gcc-8.0/libstdc++-v3/include/c_global/cstdlib | 18 +++++++++---------
contrib/gcc-8.0/libstdc++-v3/include/c_global/cwchar | 6 +++---
3 files changed, 15 insertions(+), 17 deletions(-)
DragonFly BSD source repository
More information about the Commits