diff --git a/cc/private/toolchain/windows_cc_toolchain_config.bzl b/cc/private/toolchain/windows_cc_toolchain_config.bzl index 5d0d40feb..91eb08cbf 100644 --- a/cc/private/toolchain/windows_cc_toolchain_config.bzl +++ b/cc/private/toolchain/windows_cc_toolchain_config.bzl @@ -1027,6 +1027,9 @@ def _impl(ctx): ACTION_NAMES.objcpp_compile, ], flag_groups = [ + flag_group( + flags = ["/external:W0"], + ), flag_group( flags = ["/external:I%{external_include_paths}"], iterate_over = "external_include_paths",