<blockquote>
<p>Needing make clean doesn't suggest so, and I personally wouldn't try rebuilding half the project with another compiler and expect things to go smoothly :)</p>
</blockquote>
<p>Yep, totally agree, thats why I did make clean in between (although with meson it wouldn't be needed <code></troll></code>) just that I forgot one time and noted it "worked", and despite the mixed compiles it ran too :)</p>
<blockquote>
<p>Also, just to me sure: you need to re-run configure with the new values of CC and CXX, not merely run make CC=... CXX=... -- the later could work, but it also could fail.</p>
</blockquote>
<p>Yes, I'm running configure each time.</p>
<blockquote>
<p>That gets me worried: it looks like it's using GCC 4.8 include paths with Clang…</p>
</blockquote>
<p>I think (but no expert on this level of details) that for the STL clang uses the same as gcc so the compiled products can be linked together, the clang package here is dependent on libstdc++ and libgcc not any clang specific version.  On that basis I wonder if the version difference isn't an issue since one is a gcc version and the other is a clang version?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/pull/2067#issuecomment-490382213">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ2B4QYLEPO5CQK5MQDPUJ7KVANCNFSM4GSODDDQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ6WVFP4YKS3IIYM7W3PUJ7KVA5CNFSM4GSODDD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODU5KHBI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/pull/2067#issuecomment-490382213",
"url": "https://github.com/geany/geany/pull/2067#issuecomment-490382213",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>