[protobuf] Re: Zero tag number in enum data type

2011-04-18 Thread Canggih
Sorry, my mistakes :) But, when I try to give 0 as the enum value, compiler can't compile it. Is it a bug from the compiler? (I use protobuf plugin in neatbeans) On Apr 19, 12:31 pm, Marc Gravell marc.grav...@gmail.com wrote: You mean this?   enum PhoneType {     MOBILE = 0;     HOME = 1;  

Re: [protobuf] Re: Zero tag number in enum data type

2011-04-18 Thread Marc Gravell
hard to say without the *exact* compiler message On 19 April 2011 06:36, Canggih cangca...@gmail.com wrote: Sorry, my mistakes :) But, when I try to give 0 as the enum value, compiler can't compile it. Is it a bug from the compiler? (I use protobuf plugin in neatbeans) On Apr 19, 12:31 pm,