Skip to content
This repository has been archived by the owner on Mar 28, 2022. It is now read-only.

Turn on warnings by default #34

Open
ArthurBandaryk opened this issue Oct 6, 2021 · 0 comments
Open

Turn on warnings by default #34

ArthurBandaryk opened this issue Oct 6, 2021 · 0 comments

Comments

@ArthurBandaryk
Copy link
Contributor

ArthurBandaryk commented Oct 6, 2021

We need to turn all warnings into errors (-Werror compiler option). It would make us fix all warnings except deprecated-declarations warning. For now we have warning about syscall, in future we are going to fix this too. You can see this issue on the screen below.
Screen Shot 2021-10-07 at 12 14 43 PM
Thus, with the help of the command below we will be able to clean our builds from warnings (again: except syscall warning):
bazel build --copt="-Werror" --copt="-Wno-error=deprecated-declarations" :grpc

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

1 participant