FindKDE4Internal.cmake & clang & c++11 & -fdelayed-template-parsing

Milian Wolff mail at milianw.de
Mon Nov 18 09:36:33 GMT 2013


On Monday 18 November 2013 01:45:26 Raphael Kubo da Costa wrote:
> Milian Wolff <mail at milianw.de> writes:
> > There is no alternative, see above. Rather have bigger binaries than not
> > being able to compile at all.
> 
> Finally fixed: http://commits.kde.org/kdelibs/daa54a25

Thank you!

> > 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?).

Bye
-- 
Milian Wolff
mail at milianw.de
http://milianw.de




More information about the kde-core-devel mailing list