<p></p>
<p>The errors posted in the OP (assuming Scintilla 3.7.5 or earlier, the line is blank in later versions) do indeed look like a known bug in early C++11 compilers that didn't detect the return value was an rvalue and required <code>std::move</code> on them.  Of course then once that was fixed, later compilers complained that the explicit <code>std::move</code> prevented them from eliding the copy, so the <code>std::move</code> had to be removed.</p>
<p>Basically its simply not possible to support both the erroneous compiler and correct ones.  I remember discussing with Neil the issue of needing a compiler upgrade across the GCC 4.8-5 boundary and its ABI break would have on C++ projects that used any pre-compiled C++ as well as Scintilla, but I can't find it again now (paging <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/users/codebrainz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/codebrainz">@codebrainz</a> search services).  But as I said above thats not a problem for Geany which compiles all the C++ it uses and only uses C libraries that are precompiled, and the C abi hasn't been broken since forever.</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/issues/2731#issuecomment-764058569">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJYA3HJ7P3QCN36M5TLS25WYPANCNFSM4WJGCINQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJZHRS7JLBAIGJIOL33S25WYPA5CNFSM4WJGCIN2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFWFJXSI.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/issues/2731#issuecomment-764058569",
"url": "https://github.com/geany/geany/issues/2731#issuecomment-764058569",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>