as mentioned before, these are all standard C++ semantics issues, I'm not sure I completely understand what you're doing as you didn't send your code, but one thing I can do is to advice you* against* using the *'using namespace*' approach. If I were you, I'd start with a fresh empty c++ file, add an #include toone of the generated *.pb.h files and see that it compiles fine, then I'd add a function deceleration that takes/returns one of your generated type using*fully qualified names *. once you get this to compile, you can attempt relaxing the fully qualified names and adding '*using namespace*' statements.
Eyal. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To view this discussion on the web visit https://groups.google.com/d/msg/protobuf/-/NuQJijVX4aQJ. 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.