28 Mar 2012 17:19
nested_exception.h vs. clang
Thomas Klausner <wiz <at> NetBSD.org>
2012-03-28 15:19:48 GMT
2012-03-28 15:19:48 GMT
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
RSS Feed