Bazel: build with -Wno-sign-compare (#863)

This avoids warnings for code like:

```
  CHECK_EQ(local_to_cloud_trajectory_id_map_.count(local_trajectory_id), 0);
```
master
Rodrigo Queiro 2018-01-31 15:19:36 +01:00 committed by Wally B. Feed
parent 855743cac4
commit ad4dc3c4d3
2 changed files with 2 additions and 0 deletions

View File

@ -64,6 +64,7 @@ cc_library(
] + glob([
"**/*.h",
]),
copts = ["-Wno-sign-compare"],
includes = ["."],
deps = [
":cc_protos",

View File

@ -81,6 +81,7 @@ cc_library(
hdrs = glob([
"**/*.h",
]),
copts = ["-Wno-sign-compare"],
includes = ["."],
deps = [
":cc_protos",