tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

nested_exception.h vs. clang



Hi!

When compiling some packages with clang (the version installed by
HAVE_LLVM and MKLLVM), they fail with:

In file included from /usr/include/g++/exception:151:
/usr/include/g++/nested_exception.h:122:61: error: redefinition of default 
argument
    __throw_with_nested(_Ex&& __ex, const nested_exception* = 0)
                                                            ^ ~
/usr/include/g++/nested_exception.h:110:56: note: previous definition is here
    __throw_with_nested(_Ex&&, const nested_exception* = 0)
                                                       ^ ~
1 error generated.


Suggestions?
 Thomas


Home | Main Index | Thread Index | Old Index