Skip to content

Commit

Permalink
Disable -Werror for upb
Browse files Browse the repository at this point in the history
Fixes #113.

PiperOrigin-RevId: 564742393
Change-Id: I84093f2fba8f1a376547ca39ad96944b8b0912d0
  • Loading branch information
jbms authored and Copybara-Service committed Sep 12, 2023
1 parent 3c2d24d commit 2917e4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/com_google_protobuf_upb/patches/werror.diff
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
diff -ruN a/bazel/build_defs.bzl b/bazel/build_defs.bzl
--- a/bazel/build_defs.bzl
+++ b/bazel/build_defs.bzl
@@ -33,6 +33,7 @@
@@ -33,5 +33,5 @@
"-Wextra",
# "-Wshorten-64-to-32", # not in GCC (and my Kokoro images doesn't have Clang)
"-Werror",
- "-Werror",
+ "-Wno-stringop-overflow", # https://github.com/google/tensorstore/issues/112
"-Wno-unused-parameter",
"-Wno-long-long",
Expand Down

0 comments on commit 2917e4d

Please sign in to comment.