Skip to content

Commit 6a39133

Browse files
committed
silence some warnings
1 parent d875698 commit 6a39133

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ mod --lockfile_mode=refresh
125125
build:windows --config=clang-cl
126126

127127
# See MODULE.bazel where we've disabled the platform/toolchain setup, but made it back here
128+
build:clang-cl --host_copt=-Wno-dynamic-class-memaccess --copt=-Wno-dynamic-class-memaccess
129+
build:clang-cl --host_copt=-Wno-microsoft-cast --copt=-Wno-microsoft-cast
130+
build:clang-cl --host_copt=-Wno-invalid-offsetof --copt=-Wno-invalid-offsetof
128131
build:clang-cl --host_platform=@otel_sdk//:x64_windows-clang-cl
129132
build:clang-cl --extra_toolchains=@local_config_cc//:cc-toolchain-x64_windows-clang-cl
130133
build:clang-cl --per_file_copt="protobuf\\+/.*@-Wno-invalid-offsetof"

0 commit comments

Comments
 (0)