-
Notifications
You must be signed in to change notification settings - Fork 15.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Warning message when build protobuf lite #4628
Comments
I would recommend avoiding using |
Hello all, we discussed this internally in the context of this Bazel pull request and we reached the conclusion that protoc should to the best of its efforts not produce warning-triggering code. I expect that protobuf team will reopen this issue (or reference a new tracking issue for this effort) soon. Thank you! |
@hlopko @acozzette Many thanks! |
Any updates?, these warnings are make it very hard to see the warnings in my local code by producing so many errors. |
These warnings are fixed, and warnings as errors are enabled on CI now. The current RC release should show no warnings. |
I'm getting warnings from:
(ctx is unused) and protobuf/src/google/protobuf/arena.h Line 690 in b4f1937
(value is unused) Maybe this is a seperate issue? edit: |
Here's the CI command being run protobuf/kokoro/linux/bazel/build.sh Lines 9 to 10 in fcfc47d
|
Deprioritize to p3 as this may not happen in the near future. |
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment. This issue is labeled |
Version: Ubuntu 16.0.4, bazel 0.12.0, protobuf v3.4.0/v3.5.1
When add protobuf lite C++ as deps of my project and build with bazel tools, there are some
-Wunused-parameter
warnings. We hope to build our project with--copt=-Werror
, these warnings will report as errors and terminate building process. Is there any plan to fix this situation?The total warning log as follows:
The text was updated successfully, but these errors were encountered: