I study a format protobuf

message Test1 {
  optional int32 a = 0;
}

ERROR
>protoc.exe --cpp_out=CPP2 sample.txt
sample.txt:2:22: Field numbers must be positive integers.

IF

message Test1 {
  optional int32 a = 1;
}

OK!

For what the ZERO is reserved?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to