[LLVMdev] Clang build problem

Neale Ferguson neale at sinenomine.net
Mon Mar 1 12:18:35 PST 2010


Just got clang from head and getting:

ExprConstant.cpp: In function Obool
TryEvaluateBuiltinNaN(clang::ASTContext&, clang::QualType, const
clang::Expr*, bool, llvm::APFloat&)¹:
ExprConstant.cpp:1578: error: no matching function for call to
Ollvm::StringRef::getAsInteger(int, llvm::APInt&)¹
/home/neale/LLVM/llvm/include/llvm/ADT/StringRef.h:269: note: candidates
are: bool llvm::StringRef::getAsInteger(unsigned int, long long int&) const
/home/neale/LLVM/llvm/include/llvm/ADT/StringRef.h:270: note:
bool llvm::StringRef::getAsInteger(unsigned int, long long unsigned int&)
const
/home/neale/LLVM/llvm/include/llvm/ADT/StringRef.h:271: note:
bool llvm::StringRef::getAsInteger(unsigned int, int&) const
/home/neale/LLVM/llvm/include/llvm/ADT/StringRef.h:272: note:
bool llvm::StringRef::getAsInteger(unsigned int, unsigned int&) const
ExprConstant.cpp:1582: error: OgetSNaN¹ is not a member of Ollvm::APFloat¹
ExprConstant.cpp:1584: error: OgetQNaN¹ is not a member of Ollvm::APFloat¹
make[2]: *** 
[/home/neale/LLVM/llvm/tools/clang/lib/AST/Debug/ExprConstant.o] Error 1





More information about the llvm-dev mailing list