Re: [protobuf] How to compile protocol buffers with stlport on MSVC9

2010-10-19 Thread Kenton Varda
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.

On Sun, Oct 17, 2010 at 8:03 PM, yang  wrote:

> I am trying to build versions 2.3.0 with vs2008,but i get some errors
> about hash_map.
> I have searched this forum,one solution is editing config.h, removing
> all the HASH_* #defines.
> Then the code will fall back to using map instead of hash_map, and
> it's working.
>
> but if i still want to use hash_map,what should i do?
>
> .
>
> --
> 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.
>
>

-- 
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.



[protobuf] How to compile protocol buffers with stlport on MSVC9

2010-10-18 Thread yang
I am trying to build versions 2.3.0 with vs2008,but i get some errors
about hash_map.
I have searched this forum,one solution is editing config.h, removing
all the HASH_* #defines.
Then the code will fall back to using map instead of hash_map, and
it's working.

but if i still want to use hash_map,what should i do?

.

-- 
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.