https://bugs.freedesktop.org/show_bug.cgi?id=75505
Francisco Jerez <curroje...@riseup.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTOURBUG --- Comment #2 from Francisco Jerez <curroje...@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.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev