diff options
author | Adam Cozzette <acozzette@google.com> | 2016-09-29 14:29:23 -0700 |
---|---|---|
committer | Adam Cozzette <acozzette@google.com> | 2016-10-04 07:19:54 -0700 |
commit | 149659b72a61ea6f1c537ef8741be50b6826cb91 (patch) | |
tree | 6d596e010963156fa822cf5adc2fb5dfcc479a6b /generate_descriptor_proto.sh | |
parent | 858db7a202a36c57aeed998ef088a03cae48e582 (diff) | |
download | protobuf-149659b72a61ea6f1c537ef8741be50b6826cb91.tar.gz protobuf-149659b72a61ea6f1c537ef8741be50b6826cb91.tar.bz2 protobuf-149659b72a61ea6f1c537ef8741be50b6826cb91.zip |
Do strict enum name checking only for proto3
There seem to already be .proto files out there that have conflicting
enum names, which will not be able to build successfully for some
languages (like C#). To prevent this problem from spreading, let's make
it an error for proto3 but just issue a warning for proto2. This fixes
issue #2179.
Diffstat (limited to 'generate_descriptor_proto.sh')
0 files changed, 0 insertions, 0 deletions