[protobuf] Problem with C++ -writing multiple messages with a repeated field to a file

2011-05-13 Thread Nigel Pickard
I'm having a problem writing multiple messages to a file and reading them back in c++ using GPB 2.3.0. What I'm trying to do: I have a GPB generated object that contains a repeated field, e.g. myobject.proto is: message MyObject { required uint64 x =1; required uint32

Re: [protobuf] Problem with C++ -writing multiple messages with a repeated field to a file

2011-05-13 Thread Evan Jones
On May 13, 2011, at 10:12 , Nigel Pickard wrote: libprotobuf FATAL google/protobuf/io/zero_copy_stream_impl_lite.cc: 346] CHECK failed: (buffer_used_) == (buffer_size_): BackUp() can only be called after Next(). Off the top of my head, I *believe* this is happening because the