[XS] Change in bazel/bazel[master]: Reduce excessive warning verbosity in MSVC builds

0 views
Skip to first unread message

Copybara Service (Gerrit)

unread,
Jun 1, 2026, 12:07:20 PM (2 days ago) Jun 1
to Ted Xie

Copybara Service submitted the change

Change information

Commit message:
Reduce excessive warning verbosity in MSVC builds

This change eliminates _some_ kinds of spammy MSVC compiler warnings originating from third-party libraries, such as:

```
external/grpc+/src/core/lib/channel/channel_stack_builder.cc(52): note: see reference to function template instantiation 'std::_Optional_destruct_base<_Ty,true>::_Optional_destruct_base<__int64>(std::in_place_t,__int64 &&) noexcept' being compiled
with
[
_Ty=int
]
```

There are still several other classes of spammy warnings that should be silenced or fixed, such as:

```
(22:34:11) INFO: From Compiling c/blake3_avx512_x86-64_windows_msvc.asm:
MASM : warning A4018:invalid command-line option : /bigobj
```

```
(22:34:14) INFO: From Compiling absl/time/internal/cctz/src/time_zone_fixed.cc [for tool]:
cl : Command line warning D9025 : overriding '/W3' with '/w'
```
Note that Bazel-intrinsic code (i.e. things that are not third-party included libraries) will still throw these warnings.
PiperOrigin-RevId: 924741258
Change-Id: Iba404b43d6fc5d685848db9606e92148e56259f8
Files:
  • M .bazelrc
Change size: XS
Delta: 1 file changed, 3 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: bazel
Gerrit-Branch: master
Gerrit-Change-Id: Iba404b43d6fc5d685848db9606e92148e56259f8
Gerrit-Change-Number: 328770
Gerrit-PatchSet: 11
Gerrit-Owner: Copybara Service <copybara-wor...@google.com>
Gerrit-CC: Ted Xie <te...@google.com>
open
diffy

Copybara Service (Gerrit)

unread,
Jun 1, 2026, 12:07:20 PM (2 days ago) Jun 1
to Ted Xie

Copybara Service uploaded new patchset

Copybara Service uploaded patch set #11 to this change.
Open in Gerrit

Related details

Attention set is empty
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newpatchset
open
diffy
Reply all
Reply to author
Forward
0 new messages