No, there is no flag to disable this check.
On Mon, Sep 27, 2021 at 1:55 AM hy kam <[email protected]> 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: "Constants" declares support for enum aliases but no
> enum values share field numbers. Please remove the unnecessary 'option
> allow_alias = true;' declaration."*
>
> we got proto file from other team so we can fix it directly.
> Is there any way ( compile option ? ) we could build it without any change
> of proto ?
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/fcdf5965-e72f-4b09-b8b2-a5f8faf9ed63n%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/fcdf5965-e72f-4b09-b8b2-a5f8faf9ed63n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/CADqAXr53PGANAFb4f90NSAzrqskyTzfwq9uAmcBBZ%2BEZEGj0VQ%40mail.gmail.com.