[LLVMbugs] [Bug 10357] New: Compilation failed

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 14 05:14:29 PDT 2011


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

           Summary: Compilation failed
           Product: dragonegg
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: New Bugs
        AssignedTo: baldrick at free.fr
        ReportedBy: oroppas at gmail.com
                CC: llvmbugs at cs.uiuc.edu


I think we need an update in dragonegg:

Compiling Backend.cpp
/home/ryuta/devel/dragonegg/src/dragonegg/src/Backend.cpp: In function ‘void
CreateStructorsList(std::vector<std::pair<llvm::Constant*, int> >&, const
char*)’:
/home/ryuta/devel/dragonegg/src/dragonegg/src/Backend.cpp:693:56: error: no
matching function for call to ‘llvm::FunctionType::get(llvm::Type*,
std::vector<const llvm::Type*>, bool)’
/home/ryuta/devel/dragonegg/src/dragonegg/src/Backend.cpp:693:56: note:
candidates are:
/usr/include/llvm/DerivedTypes.h:105:24: note: static llvm::FunctionType*
llvm::FunctionType::get(const llvm::Type*, llvm::ArrayRef<llvm::Type*>, bool)
/usr/include/llvm/DerivedTypes.h:105:24: note:   no known conversion for
argument 2 from ‘std::vector<const llvm::Type*>’ to
‘llvm::ArrayRef<llvm::Type*>’
/usr/include/llvm/DerivedTypes.h:110:24: note: static llvm::FunctionType*
llvm::FunctionType::get(const llvm::Type*, bool)
/usr/include/llvm/DerivedTypes.h:110:24: note:   candidate expects 2 arguments,
3 provided
make: *** [Backend.o] Error 1

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list