[cfe-dev] Compile errors on Win32
John Thompson
john.thompson.jtsoftware at gmail.com
Thu Dec 17 11:48:23 PST 2009
This seems to work:
Index: include/llvm/ADT/SmallVector.h
===================================================================
--- include/llvm/ADT/SmallVector.h (revision 91610)
+++ include/llvm/ADT/SmallVector.h (working copy)
@@ -495,15 +495,15 @@
// Copy over the elements that we're about to overwrite.
T *OldEnd = this->end();
- setEnd(this->end() + NumToInsert);
+ this->setEnd(this->end() + NumToInsert);
size_t NumOverwritten = OldEnd-I;
- uninitialized_copy(I, OldEnd, this->end()-NumOverwritten);
+ this->uninitialized_copy(I, OldEnd, this->end()-NumOverwritten);
// Replace the overwritten part.
std::copy(From, From+NumOverwritten, I);
// Insert the non-overwritten middle part.
- uninitialized_copy(From+NumOverwritten, To, OldEnd);
+ this->uninitialized_copy(From+NumOverwritten, To, OldEnd);
return I;
}
Can somebody fix it and get the win32 build bot going again?
-John
--
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20091217/2c3eec4f/attachment.html>
More information about the cfe-dev
mailing list