Re: [protobuf] allow_alias true

2021-09-28 Thread 'Adam Cozzette' via Protocol Buffers
No, there is no flag to disable this check. On Mon, Sep 27, 2021 at 1:55 AM hy kam wrote: > Hi, > > I got proto file from other team but they defined as below > enum Aaa{ > *option allow_alias = true;* > MAX_NUMBER = 400; > } > > and I got error during compile > > *"ppp.proto:17:1: "Constant

[protobuf] allow_alias true

2021-09-27 Thread hy kam
Hi, I got proto file from other team but they defined as below enum Aaa{ *option allow_alias = true;* MAX_NUMBER = 400; } and I got error during compile *"ppp.proto:17:1: "Constants" declares support for enum aliases but no enum values share field numbers. Please remove the unnecessary 'op