File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -174,6 +174,7 @@ build:asan --linkopt='-L/opt/llvm/lib/clang/18/lib/x86_64-unknown-linux-gnu'
174
174
build:macos --action_env=PATH=/opt/homebrew/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin
175
175
build:macos --host_action_env=PATH=/opt/homebrew/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin
176
176
build:macos --define tcmalloc=disabled
177
+ build:macos --cxxopt=-Wno-nullability-completeness
177
178
178
179
# macOS ASAN/UBSAN
179
180
build:macos-asan --config=asan
Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ quiche_common_copts = [
11
11
# hpack_huffman_decoder.cc overloads operator<<.
12
12
"-Wno-unused-function" ,
13
13
"-Wno-old-style-cast" ,
14
+
15
+ # Envoy build should not fail if a dependency has a warning.
16
+ "-Wno-error" ,
14
17
]
15
18
16
19
quiche_copts = select ({
Original file line number Diff line number Diff line change @@ -82,6 +82,15 @@ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
82
82
index 0539ea176ac..92c7aeb904f 100644
83
83
--- a/bazel/defs.bzl
84
84
+++ b/bazel/defs.bzl
85
+ @@ -106,7 +106,7 @@ def _default_args():
86
+ "@v8//bazel/config:is_posix": [
87
+ "-fPIC",
88
+ "-fno-strict-aliasing",
89
+ - "-Werror",
90
+ + "-Wno-error", # Envoy build should not fail for warnings in dependencies
91
+ "-Wextra",
92
+ "-Wno-unneeded-internal-declaration",
93
+ "-Wno-unknown-warning-option", # b/330781959
85
94
@@ -117,6 +117,9 @@ def _default_args():
86
95
"-Wno-implicit-int-float-conversion",
87
96
"-Wno-deprecated-copy",
You can’t perform that action at this time.
0 commit comments