Skip to content

Commit c7e5c8c

Browse files
meteorcloudycopybara-github
authored andcommitted
Enable /std:c++17 by default for the Windows cc toolchain
Copybara Import from #440 BEGIN_PUBLIC Enable `/std:c++17` by default for the Windows cc toolchain (#440) Context: bazelbuild/bazel#26523 (comment) Closes #440 END_PUBLIC COPYBARA_INTEGRATE_REVIEW=#440 from bazelbuild:meteorcloudy-patch-6 22a0f1a PiperOrigin-RevId: 783048271 Change-Id: I4b7f9092a41d3af956d78ed4f4324104c30c0b2d
1 parent b77476a commit c7e5c8c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cc/private/toolchain/windows_cc_toolchain_config.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -751,6 +751,7 @@ def _impl(ctx):
751751
flag_groups = [
752752
flag_group(
753753
flags = [
754+
"/std:c++17",
754755
"/DNOMINMAX",
755756
"/D_WIN32_WINNT=0x0601",
756757
"/D_CRT_SECURE_NO_DEPRECATE",

0 commit comments

Comments
 (0)