<div dir="ltr">Hi,<div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 11, 2014 at 2:23 PM, Milian Wolff <span dir="ltr"><<a href="mailto:mail@milianw.de" target="_blank">mail@milianw.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Saturday 11 January 2014 00:33:18 Andreas Pakulat wrote:<br>
> Hi,<br>
><br>
> since I recall Milian bringing up one or two problems with the KDE cmake<br>
> scripts and clang I'm wondering wether those are resolved for KDE 4.113<br>
> already? I happened to try out clang just earlier today and instantly ran<br>
> into multiple problems in kdevplatform (while kate built just fine):<br>
<br>
</div>I'm building KDev* with clang & ccache on my laptop just fine. What clang<br>
version do you use? Could you try to run make VERBOSE=1 and verify that there<br>
is _no_ trace of -fdelayed-template-parsing ? That could explain at least some<br>
of the STL issues below.<br>
<br>
Generally, what verison of GCC & clang do you use? I have 4.8.2 and 3.3<br>
respectively.</blockquote><div><br></div><div>Similar versions here, I'd tried to pass -fno-delayed-template-parsing but that didn't help. I've switches to libc++ for now for building kdevplatform.</div><div>
<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
> So I'm just wondering wether this is supposed to work and these really are<br>
> genuine problems in the codebase (which gcc accepts for whatever reason) or<br>
> there's still some general issue with using clang for KDE projects (at<br>
> least for kdevplatform)?<br>
<br>
</div>It should certainly work. And any issues found by clang I try to fix. If you<br>
spot more, please don't hesitate to report them and/or fix them directly.<br></blockquote><div><br></div><div>Well, this kind of stuff is far beyond me, I wouldn't even know where to start :) And since this is coming from stl's vector I'd need to fiddle with system headers.</div>
<div><br></div><div>Andreas</div></div></div></div>