[cfe-dev] missing clang/AST/TargetBuiltins.h ?

Anders Carlsson andersca at mac.com
Mon Dec 10 00:48:38 PST 2007


10 dec 2007 kl. 00.35 skrev Emmanuel Bastien:

> Hello,
> I am trying to build clang from a fresh SVN checkout today and I  
> have the
> following error:
>
> ...
> llvm[1]: Compiling CGBuiltin.cpp for Release build
> CGBuiltin.cpp:20:38: error: clang/AST/TargetBuiltins.h: No such file  
> or
> directory
> CGBuiltin.cpp: In member function 'llvm::Value*
> clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(unsigned int,  
> const
> clang::CallExpr*)':
> CGBuiltin.cpp:203: error: 'X86' has not been declared
> make[1]: ***
> [/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/CodeGen/Release/ 
> CGBuiltin.o]
> Error 1
> make[1]: Leaving directory
> `/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/CodeGen'
> make: *** [all] Error 1
>
> I cannot find any header named 'TargetBuiltins.h' in the clang source
> tree.
> Best regards,
> Emmanuel Bastien

Sorry about that, I forgot to add the file in question. It should be  
there now.

Anders



More information about the cfe-dev mailing list