[cfe-dev] Patch for VS: operator < for RopeIterator

Cédric Venet cedric.venet at student.ecp.fr
Thu Nov 8 14:26:34 PST 2007


> > Hi,
> >
> > The checked STL of VS won't compile the rewritetest if the iterator
> > hasn't
> > an operator < (it check the begin iterator is preceding the end).
> > Just a
> > small patch for adding it.
> >
> > (the ropeiterator don't comply to the RandomIterator concept, even if
> > declared so. I suppose it is just a fast hack, fleshed out as needed)
> 
> Ah, I just switched ropeiterator from random access to
> bidirectional.  Can you see if that helps?
> 
> -Chris=

Yes it works, without my patch.

I still have two link error on:
LLVM::APFloat::ReadVal( llvm::deserialiser& )
Llvm::APFloat::Emit( llvm::deserialiser& )

*****
2>clangast.lib(StmtSerialization.obj) : error LNK2019: unresolved external
symbol "public: static class llvm::APFloat __cdecl
llvm::APFloat::ReadVal(class llvm::Deserializer &)"
(?ReadVal at APFloat@llvm@@SA?AV12 at AAVDeserializer@2@@Z) referenced in function
"public: static class clang::FloatingLiteral * __cdecl
clang::FloatingLiteral::directMaterialize(class llvm::Deserializer &)"
(?directMaterialize at FloatingLiteral@clang@@SAPAV12 at AAVDeserializer@llvm@@@Z)
2>clangast.lib(StmtSerialization.obj) : error LNK2019: unresolved external
symbol "public: void __thiscall llvm::APFloat::Emit(class llvm::Serializer
&)const " (?Emit at APFloat@llvm@@QBEXAAVSerializer at 2@@Z) referenced in
function "public: static void __cdecl llvm::SerializeTrait<class
llvm::APFloat>::Emit(class llvm::Serializer &,class llvm::APFloat const &)"
(?Emit@?$SerializeTrait at VAPFloat@llvm@@@llvm@@SAXAAVSerializer at 2@ABVAPFloat@
2@@Z)
*****

But I have an up to date llvm (svn update and recompile). Any idea ?

Cédric





More information about the cfe-dev mailing list