Comment #3 on issue 357 by hea...@gmail.com: error messages while compiling a c++ program that uses .proto file.
http://code.google.com/p/protobuf/issues/detail?id=357

This is also a standard C++ semantic issue. The statement "using namespace Foo::Bar" causes everything inside the namespace "Foo::Bar" to be visible without qualification. It does *not* make "Bar" itself visible without qualificiation. If you want to keep "protobuf::", you need "using namespace google", not "using namespace google::protobuf". Otherwise keep "using namespace google::protobuf" and refer to "RpcChannel", not "protobuf::RpcChannel" (and so on).

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