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 compiling Protobuf 3.17 with clang++11 #8612
Comments
Those |
Kernald
added a commit
to Kernald/protobuf
that referenced
this issue
May 27, 2021
This fixes a few kinds of warnings: - inconsistent-missing-override when the overriding site is missing the override keyword - unused-function when a function is neither visible nor used - unused-private-field when a private field exists but is never used - sign-compare when unsigned ints are compared to signed ints. Not all of those have been addressed, but this warning isn't enabled by default. This fixes protocolbuffers#8612.
#8664 should fix those (and some other warnings raised by clang 11). |
Kernald
added a commit
to Kernald/protobuf
that referenced
this issue
May 27, 2021
This fixes a few kinds of warnings: - inconsistent-missing-override when the overriding site is missing the override keyword - unused-function when a function is neither visible nor used - unused-private-field when a private field exists but is never used - sign-compare when unsigned ints are compared to signed ints. Not all of those have been addressed, but this warning isn't enabled by default. This fixes protocolbuffers#8612. release notes: no - no functionnal changes
Kernald
added a commit
to Kernald/protobuf
that referenced
this issue
May 31, 2021
This fixes a few kinds of warnings: - inconsistent-missing-override when the overriding site is missing the override keyword - unused-function when a function is neither visible nor used - unused-private-field when a private field exists but is never used - sign-compare when unsigned ints are compared to signed ints. Not all of those have been addressed, but this warning isn't enabled by default. This fixes protocolbuffers#8612. release notes: no - no functionnal changes
Kernald
added a commit
to Kernald/protobuf
that referenced
this issue
Jun 2, 2021
This fixes a few kinds of warnings: - inconsistent-missing-override when the overriding site is missing the override keyword - unused-function when a function is neither visible nor used - unused-private-field when a private field exists but is never used - sign-compare when unsigned ints are compared to signed ints. Not all of those have been addressed, but this warning isn't enabled by default. This fixes protocolbuffers#8612.
acozzette
pushed a commit
that referenced
this issue
Jun 7, 2021
This fixes a few kinds of warnings: - inconsistent-missing-override when the overriding site is missing the override keyword - unused-function when a function is neither visible nor used - unused-private-field when a private field exists but is never used - sign-compare when unsigned ints are compared to signed ints. Not all of those have been addressed, but this warning isn't enabled by default. This fixes #8612.
kspinka
added a commit
to kspinka/protobuf
that referenced
this issue
Jun 12, 2021
This should conclude the larger efforts from issue protocolbuffers#8612 regarding clang warnings.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On v3.17.0, compiling C++ with clang11 using cmake
Compiler is installed using https://apt.llvm.org/ on Debian 10 AMD64
The text was updated successfully, but these errors were encountered: