<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [clover] Build failure with clang 3.4 and libc++"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75505#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [clover] Build failure with clang 3.4 and libc++"
href="https://bugs.freedesktop.org/show_bug.cgi?id=75505">bug 75505</a>
from <span class="vcard"><a class="email" href="mailto:dumbbell@FreeBSD.org" title="Jean-Sébastien Pédron <dumbbell@FreeBSD.org>"> <span class="fn">Jean-Sébastien Pédron</span></a>
</span></b>
<pre>I found out a difference between GCC's "functional" header and libc++'s one:
- in GCC, all "operator()" methods are const:
operator()(...) const
- in libc++, they aren't:
operator() (_ArgTypes&&... __args)
Changing the above line to:
operator() (_ArgTypes&&... __args) const
fixes the build.
I have zero knowledge of C++, so I'm not sure that's a valid fix.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>