<blockquote>
<p>Here clang 3.9 works, clang 5.0 fails. Note <code>make clean</code> needed to make it fail.</p>
</blockquote>
<p>Do you build a clean clone each time?  Needing <code>make clean</code> doesn't suggest so, and I personally wouldn't try rebuilding half the project with another compiler and expect things to go smoothly :)<br>
Also, just to me sure: you need to re-run configure with the new values of <code>CC</code> and <code>CXX</code>, not merely run <code>make CC=... CXX=...</code> -- the later <em>could</em> work, but it also could fail.</p>
<p><a href="https://travis-ci.org/geany/geany/jobs/528683476" rel="nofollow">https://travis-ci.org/geany/geany/jobs/528683476</a>, build 1959.12:</p>
<blockquote>
<pre><code>$ export MATRIX_EVAL="CC=clang-3.5 && CXX=clang++-3.5"
$ export TRAVIS_COMPILER=gcc
$ export CXX=g++
$ export CXX_FOR_BUILD=g++
$ export CC=gcc
$ export CC_FOR_BUILD=gcc
</code></pre>
</blockquote>
<p>That's already suspicious.  And the job summary suggest Travis thinks it's gcc, but we set clang-3.5.</p>
<blockquote>
<pre><code>/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/unique_ptr.h:166:18:
</code></pre>
</blockquote>
<p><em>That</em> gets me worried: it looks like it's using GCC 4.8 include paths with Clang…</p>
<p>Similarly in build 1959.13 which is supposed to be Clang 5.0 :</p>
<blockquote>
<pre><code>$ export MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"
$ export TRAVIS_COMPILER=clang
$ export CXX=clang++
$ export CXX_FOR_BUILD=clang++
$ export CC=clang
$ export CC_FOR_BUILD=clang
$ clang --version
clang version 7.0.0 (tags/RELEASE_700/final)
[…]
/usr/bin/../lib/gcc/x86_64-linux-gnu/5.4.0/../../../../include/c++/5.4.0/bits/unique_ptr.h:217:18:
</code></pre>
</blockquote>
<p>Maybe it's nothing, but it'd get me looking.</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-490379055">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ3J3QSNTKWDWSDU6ATPUJ563ANCNFSM4GSODDDQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJZEFJBGXWZTX2VGDVDPUJ563A5CNFSM4GSODDD2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODU5JOLY.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-490379055",
"url": "https://github.com/geany/geany/pull/2067#issuecomment-490379055",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>