Error building Clang?

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[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

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

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..

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