Silence additional warnings

pull/11622/head
Mike Kruskal 2 years ago
parent 1752a9e209
commit f5e84a56e2
  1. 1
      build_defs/cpp_opts.bzl
  2. 2
      third_party/zlib.BUILD

@ -19,6 +19,7 @@ COPTS = select({
"-DHAVE_ZLIB", "-DHAVE_ZLIB",
"-Woverloaded-virtual", "-Woverloaded-virtual",
"-Wno-sign-compare", "-Wno-sign-compare",
"-Wno-nonnull",
"-Werror", "-Werror",
], ],
}) })

@ -60,7 +60,7 @@ cc_library(
copts = select({ copts = select({
"@bazel_tools//src/conditions:windows": [], "@bazel_tools//src/conditions:windows": [],
"//conditions:default": [ "//conditions:default": [
"-Wno-deprecated", "-Wno-deprecated-non-prototype",
"-Wno-unused-variable", "-Wno-unused-variable",
"-Wno-implicit-function-declaration", "-Wno-implicit-function-declaration",
], ],

Loading…
Cancel
Save