<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jan 13, 2009, at 4:06 AM, Jiandong Lu wrote:</div><blockquote type="cite"><table cellspacing="0" cellpadding="0" border="0" style="position: static; z-index: auto; "><tbody><tr><td valign="top" style="font: inherit;"><br>void InitHeaderSearch::AddDefaultSystemIncludePaths(const LangOptions &Lang) <br>in file clang/lib/Driver/<tt>InitHeaderSearch.cpp<br>then gmake clang,it failed.Its output is <br>"llvm[2]: Compiling CGExprConstant.cpp for Debug build <br>CGExprConstant.cpp: In member function 'llvm::Constant*<unnamed>::ConstExprEmitter::EmitUnionInitialization(clang::InitListExpr*)':<br>CGExprConstant.cpp:241: error: 'const class llvm::TargetData' has no member named 'getTypePaddedSize'<br>gmake[2]: *** [/usr/home/lujd/projects/llvm/tools/clang/lib/CodeGen/Debug/CGExprConstant.o] Error 1<br>gmake[2]: Leaving directory `/usr/home/lujd/projects/llvm/tools/clang/lib/CodeGen'<br>gmake[1]: *** [CodeGen/.makeall] Error 2<br>gmake[1]: Leaving directory `/usr/home/lujd/projects/llvm/tools/clang/lib'<br>gmake: *** [all] Error 1"</tt></td></tr></tbody></table></blockquote><div><br></div><div>You need to update to the latest LLVM in Subversion.</div><br>  - Doug</div><div><br></div></body></html>