[Lldb-commits] [patch] fix UniqueCStringMap.h to build with libstdc++

Malea, Daniel daniel.malea at intel.com
Mon Nov 12 14:09:14 PST 2012


Hi Greg,

Are you OK with the attached fixup for the recent UniqueCStringMap.h? It seems that libstdc++ does not define std::vector::erase(const_iterator) and only non-const iterators can be passed...details here:

http://stackoverflow.com/questions/4885318/calling-erase-with-iterator-vs-const-iterator

If the patch looks good to you, I can commit it, but I figured I'd ask for confirmation first.

Thanks,
Dan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: lldb_UniqueCStringMap_libstdcpp.patch
Type: application/octet-stream
Size: 1078 bytes
Desc: lldb_UniqueCStringMap_libstdcpp.patch
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20121112/cdda8d4b/attachment.obj>


More information about the lldb-commits mailing list