[Mesa-dev] [Bug 75505] [clover] Build failure with clang 3.4 and libc++
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Feb 25 13:12:55 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=75505
Francisco Jerez <currojerez at riseup.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |NOTOURBUG
--- Comment #2 from Francisco Jerez <currojerez at riseup.net> ---
(In reply to comment #1)
> 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.
Right, this is a bug in libc++'s implementation of mem_fn(). It seems to have
been fixed already in r199848. You should try a more recent version of libc++.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140225/3b651471/attachment.html>
More information about the mesa-dev
mailing list