I just found a bug compiling a .proto file:
message Zoo {
message Snark {
optional bool isBoojum = 4;
}
repeated Snark snarks = 1;
}
If I name this file Zoo.proto, compiling it will give me a "duplicate
name" error, and tell me I can't use "Zoo" as the name of the file and
a
You can't create cyclically-linked protocol buffers. There is no encoding
for such a thing. Sorry.
AddExtension() is equivalent to the add_*() generated accessors. It only
works with repeated fields.
On Fri, May 29, 2009 at 2:52 AM, wrote:
>
> Thanks for your reply. Indeed i'm using extend no
Kenton Varda wrote:
> PS. Did you see the patch on issue 105 for ptrdiff and offsets_ ?
>
>
> Yeargh, I wish I could tell the code site to e-mail me whenever someone
> submits an issue, because I always forget to go look.
Yeah. I completely agree... It doesn't seem to email on updates eithe
Thanks for your reply. Indeed i'm using extend now.. it was one of my
possible design, and i was assessing all possible cases.
I have come to this design. And i have a question, what is
AddExtension for ?
#File AbstractClass
option optimize_for = SPEED;
message AbstractClass
{
optional