[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: FindKDE4Internal.cmake & clang & c++11 & -fdelayed-template-parsing
From:       Raphael Kubo da Costa <rakuco () FreeBSD ! org>
Date:       2013-11-18 20:59:04
Message-ID: 86y54la0kn.fsf () orwell ! Elisa
[Download RAW message or body]

Milian Wolff <mail@milianw.de> writes:

>> > Also, have you reported the errors that clang outputs to the developers?
>> > If
>> > it's correct analysis, it should be fixed - even if it's error-prone
>> > work.
>>
>> In this case, I don't think there's a bug: I haven't investigated in
>> depth, but clang seems to be doing what -fdelayed-template-parsing is
>> supposed to do, and it's libstdc++ + clang + c++11 that does not work
>> well (the snippet works if I use libc++ instead).
>
> Right, but we cannot depend on libc++. If you can detect it, you could disable
> exceptions for clang when building with libc++ (if that's the case on the
> BSDs?).

Hm? There are no problems with clang and libc++ with or without this
change I committed, what I said is that it's libstdc++ and `clang
-std=c++11 -fdelayed-template-parsing' that has been causing trouble,
and most likely it is just clang doing the right thing (though I haven't
investigated).
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic