3rdparty / eventuals-grpc

C++ asynchronous interface for gRPC based on https://github.com/3rdparty/eventuals.
Apache License 2.0
20 stars 5 forks source link

Turn on warnings by default #34

Open ArthurBandaryk opened 3 years ago

ArthurBandaryk commented 3 years ago

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