Compile error

Got the following error when compiling the latest version

~/llvm$ svn update
At revision 57511.

~/llvm/tools/clang$ svn update
At revision 57511.

~/llvm/tools/clang$ make
make[2]: Entering directory `/home/yinw/llvm/tools/clang/lib/Sema'
llvm[2]: Compiling SemaDeclCXX.cpp for Debug build
SemaDeclCXX.cpp: In member function ‘virtual void* clang::Sema::ActOnStartNamespaceDef(clang::Scope*, clang::SourceLocation, clang::IdentifierInfo*, clang::SourceLocation)’:
SemaDeclCXX.cpp:514: error: no matching function for call to ‘clang::Sema::LookupDecl(clang::IdentifierInfo*&, int, clang::Scope*&, int, bool)’
Sema.h:372: note: candidates are: clang::Decl* clang::Sema::LookupDecl(const clang::IdentifierInfo*, unsigned int, clang::Scope*, bool)
make[2]: *** [/home/yinw/llvm/tools/clang/lib/Sema/Debug/SemaDeclCXX.o] Error 1
make[2]: Leaving directory `/home/yinw/llvm/tools/clang/lib/Sema'

Am I missing something?


My stupid mistake, fixed it here:

Yin Wang wrote: