Feel free to send me a patch updating the #ifdefs to properly handle stlport. It looks like stlport follows the SGI interface for hash_map, so just using the non-MSVC code path should do the trick. I think only hash.h and maybe descriptor.cc would need to be updated.
On Sat, Aug 15, 2009 at 8:40 PM, lcy03406 <[email protected]> wrote: > > I see protobuf simply uses "#if _MSC_VER" to guess the namespace of > hash_map, and assumes users to use the native stl implementation. I > find _MSC_VER or __GNUC__ everywhere in src and generated c++ code. It > seems that protobuf tests these macros to deal with different > compiliers but also their default stl. So I would ask can I use > protobuf with MSVC and stlport and how to do it? > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---
