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
parent
855743cac4
commit
ad4dc3c4d3
|
@ -64,6 +64,7 @@ cc_library(
|
||||||
] + glob([
|
] + glob([
|
||||||
"**/*.h",
|
"**/*.h",
|
||||||
]),
|
]),
|
||||||
|
copts = ["-Wno-sign-compare"],
|
||||||
includes = ["."],
|
includes = ["."],
|
||||||
deps = [
|
deps = [
|
||||||
":cc_protos",
|
":cc_protos",
|
||||||
|
|
|
@ -81,6 +81,7 @@ cc_library(
|
||||||
hdrs = glob([
|
hdrs = glob([
|
||||||
"**/*.h",
|
"**/*.h",
|
||||||
]),
|
]),
|
||||||
|
copts = ["-Wno-sign-compare"],
|
||||||
includes = ["."],
|
includes = ["."],
|
||||||
deps = [
|
deps = [
|
||||||
":cc_protos",
|
":cc_protos",
|
||||||
|
|
Loading…
Reference in New Issue