llvm[4]: Compiling CGExprConstant.cpp for Release+Asserts build CGExprConstant.cpp:814:53: error: too many arguments to function call, expected 2, have 3 return llvm::ConstantArray::get(VMContext, Str, false); I get this error when building LLVM, after svn up for trunk, any idea why? -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120213/56fdded8/attachment.html>
On 13.02.2012, at 21:33, Ryan Taylor wrote:> llvm[4]: Compiling CGExprConstant.cpp for Release+Asserts build > CGExprConstant.cpp:814:53: error: too many arguments to function call, expected 2, have 3 > return llvm::ConstantArray::get(VMContext, Str, false); > > I get this error when building LLVM, after svn up for trunk, any idea why?Make sure you're running svn up in both the LLVM and the clang directory (those are separate checkouts). Alternatively you can just call "make update" which will update all checkouts for you. - Ben> _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Did you 'svn up' on both your llvm and clang checkouts? Yea, what Ben said.. Ben, Does 'make up' update the test-suite/compiler-rt as well? Chad On Feb 13, 2012, at 12:33 PM, Ryan Taylor wrote:> llvm[4]: Compiling CGExprConstant.cpp for Release+Asserts build > CGExprConstant.cpp:814:53: error: too many arguments to function call, expected 2, have 3 > return llvm::ConstantArray::get(VMContext, Str, false); > > I get this error when building LLVM, after svn up for trunk, any idea why? > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On Feb 13, 2012, at 12:46 PM, Chad Rosier wrote:> Did you 'svn up' on both your llvm and clang checkouts? > > Yea, what Ben said.. > > Ben, > Does 'make up' update the test-suite/compiler-rt as well?Make that 'make update', of course..> > Chad > > On Feb 13, 2012, at 12:33 PM, Ryan Taylor wrote: > >> llvm[4]: Compiling CGExprConstant.cpp for Release+Asserts build >> CGExprConstant.cpp:814:53: error: too many arguments to function call, expected 2, have 3 >> return llvm::ConstantArray::get(VMContext, Str, false); >> >> I get this error when building LLVM, after svn up for trunk, any idea why? >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
On 13.02.2012, at 21:46, Chad Rosier wrote:> Did you 'svn up' on both your llvm and clang checkouts? > > Yea, what Ben said.. > > Ben, > Does 'make up' update the test-suite/compiler-rt as well?Yup, it will update any svn checkout that it can find inside the llvm directory. - Ben> > Chad > > On Feb 13, 2012, at 12:33 PM, Ryan Taylor wrote: > >> llvm[4]: Compiling CGExprConstant.cpp for Release+Asserts build >> CGExprConstant.cpp:814:53: error: too many arguments to function call, expected 2, have 3 >> return llvm::ConstantArray::get(VMContext, Str, false); >> >> I get this error when building LLVM, after svn up for trunk, any idea why? >> _______________________________________________ >> LLVM Developers mailing list >> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu >> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev