Skip to content

Commit

Permalink
Continued lint
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Carroll <[email protected]>
  • Loading branch information
mjcarroll committed Mar 8, 2024
1 parent 89e60d9 commit f41e1ed
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ test_sources = glob(
[cc_test(
name = src.replace("/", "_").replace(".cc", "").replace("src_", ""),
srcs = [src],
copts = ["-fexceptions"],
deps = [
":common",
GZ_ROOT + "common/testing",
Expand Down
4 changes: 4 additions & 0 deletions geospatial/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ cc_library(
name = "geospatial",
srcs = sources,
hdrs = public_headers,
copts = [
"-Wno-unused-value",
"-fexceptions",
],
includes = ["include"],
visibility = GZ_VISIBILITY,
deps = [
Expand Down
4 changes: 4 additions & 0 deletions graphics/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ cc_library(
name = "graphics",
srcs = sources,
hdrs = public_headers,
copts = [
"-Wno-implicit-fallthrough",
"-Wno-unused-value",
],
includes = ["include"],
visibility = GZ_VISIBILITY,
deps = [
Expand Down
3 changes: 3 additions & 0 deletions io/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ cc_library(
name = "io",
srcs = sources,
hdrs = public_headers,
copts = [
"-fexceptions",
],
includes = ["include"],
visibility = GZ_VISIBILITY,
deps = [
Expand Down
1 change: 1 addition & 0 deletions profiler/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ cc_library(
cc_test(
name = "Profiler_Disabled_TEST",
srcs = ["src/Profiler_Disabled_TEST.cc"],
copts = ["-Wno-macro-redefined"],
defines = [
"GZ_PROFILER_ENABLE=0",
"GZ_PROFILER_REMOTERY=0",
Expand Down
1 change: 1 addition & 0 deletions testing/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ cc_library(
"src/Utils.cc",
],
hdrs = public_headers,
copts = ["-fexceptions"],
includes = ["include"],
visibility = ["//visibility:public"],
deps = [
Expand Down

0 comments on commit f41e1ed

Please sign in to comment.