Re: [protobuf] How can unknown fields appear in a message?

2011-09-21 Thread Pherl Liu
Can you try to print the DebugString() of the message containing unknown fields? One possibility is you used the wrong message type to parse the bytes. On Tue, Sep 20, 2011 at 3:04 PM, Michael Videlgauz wrote: > Hello! > > I am now investigating a bug in my program under debugger (VS2008 > IDE).

[protobuf] How can unknown fields appear in a message?

2011-09-20 Thread Michael Videlgauz
Hello! I am now investigating a bug in my program under debugger (VS2008 IDE). I see that some my messages have unknown fields set. I don't use any executable compiled with old proto files, whenever I change my proto file I rebuild entire project with new pp.h and pb.cc sources. Even more, I have