Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

protoc warnings #157

Open
jamescooper-blis opened this issue Aug 8, 2021 · 1 comment
Open

protoc warnings #157

jamescooper-blis opened this issue Aug 8, 2021 · 1 comment

Comments

@jamescooper-blis
Copy link

jamescooper-blis commented Aug 8, 2021

Generating the code on Ubuntu 20.04 generates warnings. A small amount is here:

openrtb.proto:2166:3: warning: When enum name is stripped and label is PascalCased (Iab11), this value label conflicts with IAB1_1. This will make the proto fail to compile for some languages, such as C#.
openrtb.proto:2172:3: warning: When enum name is stripped and label is PascalCased (Iab12), this value label conflicts with IAB1_2. This will make the proto fail to compile for some languages, such as C#.
openrtb.proto:2176:3: warning: When enum name is stripped and label is PascalCased (Iab13), this value label conflicts with IAB1_3. This will make the proto fail to compile for some languages, such as C#.
openrtb.proto:2189:3: warning: When enum name is stripped and label is PascalCased (Iab14), this value label conflicts with IAB1_4. This will make the proto fail to compile for some languages, such as C#.

protoc version:

$ protoc --version
libprotoc 3.6.1

FWIW, we're generating C++ code, not C#.
Google's comments: protocolbuffers/protobuf#2179

@ranjithv
Copy link

Any plans of fixing these warnings? It shows up every time I compile my maven project

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants