[protobuf] Re: Issue 357 in protobuf: error messages while compiling a c++ program that uses .proto file.

2011-12-23 Thread protobuf
Comment #2 on issue 357 by cauverys...@gmail.com: error messages while compiling a c++ program that uses .proto file. http://code.google.com/p/protobuf/issues/detail?id=357 hi, thanks for your reply. Now i have used the namespace after .pb.h: #include "search.pb.h" using namespace google::pr

Re: [protobuf] Re: Issue 357 in protobuf: error messages while compiling a c++ program that uses .proto file.

2011-12-23 Thread Tom Swirly
I hate to say this - but these are pretty basic C++ errors that have nothing whatsoever to do with protocol buffers. When you ask a question like, "Am i wrong in linking with the header files?" when "linking" isn't even a reasonable think to do with header files, you show that you don't know the l

[protobuf] Re: Issue 357 in protobuf: error messages while compiling a c++ program that uses .proto file.

2011-12-23 Thread protobuf
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