Compile error

Works fine.
Thank you very much for the quick response.
  
======= At 2008-10-15, 00:33:00 you wrote: =======

My stupid mistake, fixed it here:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20081013/008174.html

Yin Wang wrote:

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?

Yin

_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

= = = = = = = = = = = = = = = = = = = =