[cfe-commits] Clang build broken
Ted Kremenek
kremenek at apple.com
Fri Sep 19 14:10:13 PDT 2008
On Sep 19, 2008, at 1:37 PM, Dave MacLachlan wrote:
> Am I being stupid, or is the Clang build broken? (CL 56367)
>
> PPExpressions.cpp: In function ‘bool
> EvaluateDirectiveSubExpr(PPValue&, unsigned int, clang::Token&, bool,
> clang::Preprocessor&)’:
> PPExpressions.cpp:475: error: no matching function for call to
> ‘llvm::APSInt::toStringSigned()’
> /Users/dmaclach/src/opensource/llvm/include/llvm/ADT/APInt.h:1132:
> note: candidates are: void
> llvm::APInt::toStringSigned(llvm::SmallVectorImpl<char>&, unsigned
> int) const
> PPExpressions.cpp:475: error: no matching function for call to
> ‘llvm::APSInt::toStringUnsigned()’
> /Users/dmaclach/src/opensource/llvm/include/llvm/ADT/APInt.h:1126:
> note: candidates are: void
> llvm::APInt::toStringUnsigned(llvm::SmallVectorImpl<char>&, unsigned
> int) const
> PPExpressions.cpp:479: error: no matching function for call to
> ‘llvm::APSInt::toStringSigned()’
> /Users/dmaclach/src/opensource/llvm/include/llvm/ADT/APInt.h:1132:
> note: candidates are: void
> llvm::APInt::toStringSigned(llvm::SmallVectorImpl<char>&, unsigned
> int) const
> PPExpressions.cpp:479: error: no matching function for call to
> ‘llvm::APSInt::toStringUnsigned()’
> /Users/dmaclach/src/opensource/llvm/include/llvm/ADT/APInt.h:1126:
> note: candidates are: void
> llvm::APInt::toStringUnsigned(llvm::SmallVectorImpl<char>&, unsigned
> int) const
> make[2]: *** [/Users/dmaclach/src/opensource/llvm/tools/clang/lib/Lex/
> Debug/PPExpressions.o] Error 1
>
>
> I happy to look at it, but I figure other folks are probably already
> ahead of me...
>
> Cheers,
> Dave
Dave,
Clang top-of-tree is tied to LLVM's top of tree. Make sure you update
both. 'svn update' in the clang repository, even though it is nested
in the llvm repository, will only update clang. The same thing goes
when updating llvm, clang will not be updated when you do a 'svn
update' in the root of the llvm repository.
Ted
More information about the cfe-commits
mailing list