Re: [protobuf] Package Mandatory ?

2012-03-20 Thread Pherl Liu
The function name is determined by the source proto file path. Looks like you always generate messages from a single .proto file. You would have to generate the message in different files. Otherwise, even if you worked around the function name issue, the runtime DescriptorPool would complained abou

[protobuf] Package Mandatory ?

2012-03-06 Thread Julien PONNOU
Hello, When I include several couples of .h/.cc in my project, I got the following errors during the compilation: error C2086: 'google::protobuf::ProtobufOnceType `anonymous- namespace'::protobuf_AssignDescriptors_once_' : redefinition see declaration of '`anonymous- namespace'::protobuf_AssignDe