git: libstdc++ (5.0): Modify to allow clang 3.6+ to used C99 functions

John Marino marino at crater.dragonflybsd.org
Sun Nov 15 04:23:51 PST 2015


commit 838772be3c028f0cfd9fae5da181858e4199863a
Author: John Marino <draco at marino.st>
Date:   Sun Nov 15 13:17:13 2015 +0100

    libstdc++ (5.0): Modify to allow clang 3.6+ to used C99 functions
    
    The "throw()" attributes in libstdc++ are unique to GCC, so when clang 3.6+
    tries to use them, a prototype mismatch error comes up.  This modification
    allows clang to use the entire libstdc++.

Summary of changes:
 contrib/gcc-5.0/README.DRAGONFLY                      |  9 +++++++++
 contrib/gcc-5.0/libstdc++-v3/include/bits/c++config   |  6 ++++++
 contrib/gcc-5.0/libstdc++-v3/include/c_global/cstdio  |  6 +++---
 contrib/gcc-5.0/libstdc++-v3/include/c_global/cstdlib | 18 +++++++++---------
 contrib/gcc-5.0/libstdc++-v3/include/c_global/cwchar  |  6 +++---
 contrib/gcc-5.0/libstdc++-v3/include/c_std/cstdio     |  6 +++---
 contrib/gcc-5.0/libstdc++-v3/include/c_std/cstdlib    | 18 +++++++++---------
 contrib/gcc-5.0/libstdc++-v3/include/c_std/cwchar     |  6 +++---
 8 files changed, 45 insertions(+), 30 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/838772be3c028f0cfd9fae5da181858e4199863a


-- 
DragonFly BSD source repository



More information about the Commits mailing list