[Mesa-dev] [Bug 74098] [clover] adaptor.hpp:47:16: error: function cannot return function type 'std::vector<unsigned long, std::allocator<unsigned long> > (unsigned long, unsigned long)'
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Jan 28 07:32:41 PST 2014
https://bugs.freedesktop.org/show_bug.cgi?id=74098
--- Comment #3 from Francisco Jerez <currojerez at riseup.net> ---
Created attachment 92932
--> https://bugs.freedesktop.org/attachment.cgi?id=92932&action=edit
clover_workaround_clang_function_argument_deduction.patch
I suspect this is a clang bug. In the function call to "map(F &&f, ...)" in
"util/factor.hpp:115" it deduces the template argument "F" as a function type
instead of an lvalue-reference to function type, as it should be because the
provided argument is an lvalue.
Would you mind bringing this to the LLVM bug tracker? For the meantime you can
use the attached work-around to get it to build with clang.
--
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/20140128/882c3964/attachment.html>
More information about the mesa-dev
mailing list