<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [clover] adaptor.hpp:47:16: error: function cannot return function type 'std::vector<unsigned long, std::allocator<unsigned long> > (unsigned long, unsigned long)'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74098#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [clover] adaptor.hpp:47:16: error: function cannot return function type 'std::vector<unsigned long, std::allocator<unsigned long> > (unsigned long, unsigned long)'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=74098">bug 74098</a>
              from <span class="vcard"><a class="email" href="mailto:currojerez@riseup.net" title="Francisco Jerez <currojerez@riseup.net>"> <span class="fn">Francisco Jerez</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=92932" name="attach_92932" title="clover_workaround_clang_function_argument_deduction.patch">attachment 92932</a> <a href="attachment.cgi?id=92932&action=edit" title="clover_workaround_clang_function_argument_deduction.patch">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=74098&attachment=92932'>[review]</a>
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.</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>