gcc80: Remove throw() from protos in libstdc++ headers.
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 2 May 2018 13:32:23 +0000 (16:32 +0300)
committerzrj <zrj@dragonflybsd.org>
Mon, 14 May 2018 17:21:01 +0000 (20:21 +0300)
commitfcad8200ea5238106c89b7f120889be8d419220c
tree7762f89efcd3fe9dc67b5019024b4c353400265a
parent39964fd19e9732326053625ba8c9fa3501b0bc2a
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:
838772be3c028f0cfd9fae5da181858e4199863a
contrib/gcc-8.0/libstdc++-v3/include/c_global/cstdio
contrib/gcc-8.0/libstdc++-v3/include/c_global/cstdlib
contrib/gcc-8.0/libstdc++-v3/include/c_global/cwchar