[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 12:13:36 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75505

--- Comment #1 from Jean-Sébastien Pédron <dumbbell at FreeBSD.org> ---
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.

-- 
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/082c97bd/attachment.html>


More information about the mesa-dev mailing list