Comment #3 on issue 357 by error messages while compiling a c++ program that uses .proto file.

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
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to