Comment #8 on issue 195 by robin.la...@gmail.com: common.h should not have "using namespace std;"
http://code.google.com/p/protobuf/issues/detail?id=195

I just hit this problem today on Solaris with protobuf 2.4.1 using g++ 4.6.1 with -std=c++0x. It blew up the compilation of protobuf itself clashing with a map declaration in netinet.h/if.h. The only fix was to add std:: in front of string, vector, max, min etc. in all the protobuf headers. Despite it only took an hour, I can't say it left me with a good feeling.

--
You received this message because you are subscribed to the Google Groups "Protocol 
Buffers" group.
To post to this group, send email to protobuf@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.

Reply via email to