Comment #4 on issue 195 by jmccaskey: common.h should not have "using namespace std;"
http://code.google.com/p/protobuf/issues/detail?id=195
Ok, and one final follow up. I didn't find any hotfixes for VC++ for this, but moving the "using namespace std;" to occur right before the closing of the protobuf namespace in common.h avoids the bug. This still lets the using apply across almost all of the protobuf codebase except common.h itself, and I only had to then change 4 instances of string to be std::string in common.h itself. That's an easy enough solution for us.
I think you can call this closed and blame VC++. Sorry to waste your time! -- 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.
