[cfe-dev] error while making the clang

Wei Li weili747 at gmail.com
Mon Sep 27 09:03:36 PDT 2010


I have been trying to build Clang by updating it for the last few days
and constantly getting the following error message:


RecordLayoutBuilder.cpp: In member function
‘clang::DiagnosticBuilder<unnamed>::RecordLayoutBuilder::Diag(clang::SourceLocation,
unsigned int)’:
RecordLayoutBuilder.cpp:1595: error: ‘class clang::ASTContext’ has no
member named ‘getDiagnostics’
RecordLayoutBuilder.cpp: At global scope:
RecordLayoutBuilder.cpp:1600: warning: ‘MSRecordLayoutBuilder’ has a
field ‘MSRecordLayoutBuilder::<anonymous>’ whose type uses the
anonymous namespace
RecordLayoutBuilder.cpp:1600: warning: ‘MSRecordLayoutBuilder’ has a
base ‘<unnamed>::RecordLayoutBuilder’ whose type uses the anonymous
namespace
make[4]: *** [/home/llvm/tools/clang/lib/AST/Debug+Asserts/RecordLayoutBuilder.o]
Error 1
make[4]: Leaving directory `/home/llvm/tools/clang/lib/AST'
make[3]: *** [AST/.makeall] Error 2
make[3]: Leaving directory `/home/llvm/tools/clang/lib'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/llvm/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/llvm/tools'
make: *** [all] Error 1


-- 
Regards,

Wei Li




More information about the cfe-dev mailing list