git: gcc80: Remove throw() from protos in libstdc++ headers.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon May 14 10:31:11 PDT 2018


commit fcad8200ea5238106c89b7f120889be8d419220c
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:
    838772be3c028f0cfd9fae5da181858e4199863a

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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fcad8200ea5238106c89b7f120889be8d419220c


-- 
DragonFly BSD source repository


More information about the Commits mailing list