tech-toolchain archive

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

Re: nested_exception.h vs. clang



On Wed, Mar 28, 2012 at 05:19:48PM +0200, Thomas Klausner wrote:
> 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.

The complain is correct. I had a patch in my local tree for that from
upstream, but continued to run into issues. I ultimately decided that
libstdc++ is somewhat a lost cause when it comes to standard compliance
:(

Joerg


Home | Main Index | Thread Index | Old Index