On 10月20日, 上午2时28分, Kenton Varda <ken...@google.com> wrote: > If you're using stlport, make sure _STLPORT_VERSION is #defined. Then the > protobuf code should figure out to use it instead of MSVC. You will also > have to make sure that the #defines in config.h are correct for stlport. >
thanks Kenton, that's really work. STLPORT_VERSION auto defined in _stlport_version.h when you compile with it. I made some changes in config.h. modify: #define HASH_NAMESPACE std add: #define HASH_MAP_CLASS hash_map #define HASH_MAP_CLASS hash_set -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to proto...@googlegroups.com. To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/protobuf?hl=en.