[protobuf] Setting string fields

2013-08-19 Thread Alvaro Aguilera
Hello, I'm having a strange problem when setting an string value in a protocol buffer. Keep in mind that my experience in C++ and PB is rather limited. The .proto file looks more or less like this: -- package buffers; message AttributeValue { enum Type { INT64

Re: [protobuf] Setting string fields

2013-08-19 Thread Alvaro Aguilera
type info that you expected? That could well be the difference between -O2 and -O0... On Mon, Aug 19, 2013 at 9:55 AM, Alvaro Aguilera alvaro@gmail.com javascript: wrote: Hello, I'm having a strange problem when setting an string value in a protocol buffer. Keep in mind that my