[LLVMbugs] [Bug 18645] New: Mesa clover build error 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 llvm.org bugzilla-daemon at llvm.org
Tue Jan 28 09:48:52 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18645

            Bug ID: 18645
           Summary: Mesa clover build error adaptor.hpp:47:16: error:
                    function cannot return function type
                    'std::vector<unsigned long, std::allocator<unsigned
                    long> > (unsigned long, unsigned long)'
           Product: clang
           Version: 3.4
          Hardware: PC
               URL: https://bugs.freedesktop.org/show_bug.cgi?id=74098
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vlee at freedesktop.org
                CC: llvmbugs at cs.uiuc.edu, tstellar at gmail.com
    Classification: Unclassified

Mesa clover does not build with clang. It builds with GCC.

  CXX      core/libclover_la-kernel.lo
In file included from core/kernel.cpp:23:
In file included from ./core/kernel.hpp:28:
In file included from ./core/object.hpp:33:
In file included from ./core/property.hpp:28:
In file included from ./util/range.hpp:29:
./util/adaptor.hpp:47:16: error: function cannot return function type
'std::vector<unsigned long, std::allocator<unsigned long> > (unsigned long,
unsigned long)'
               F(typename std::iterator_traits<Is>::reference...)
               ^

$ clang++ --version
Ubuntu clang version 3.4-1ubuntu2 (tags/RELEASE_34/final) (based on LLVM 3.4)
Target: x86_64-pc-linux-gnu
Thread model: posix

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140128/309d4ee3/attachment.html>


More information about the llvm-bugs mailing list