@@ -31,8 +31,8 @@ build:terminfo_system --repo_env=BAZEL_LLVM_TERMINFO_STRATEGY=system
31
31
# Set the default compiler to the `clang` binary on the `PATH`.
32
32
build:generic_clang --repo_env=CC=clang
33
33
34
- # C++14 standard version is required.
35
- build:generic_clang --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
34
+ # C++17 standard version is required.
35
+ build:generic_clang --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
36
36
37
37
# Use `-Wall` and `-Werror` for Clang.
38
38
build:generic_clang --copt=-Wall --copt=-Werror --host_copt=-Wall --host_copt=-Werror
@@ -56,8 +56,8 @@ build:generic_clang --copt=-Wno-deprecated --host_copt=-Wno-deprecated
56
56
# Set the default compiler to the `gcc` binary on the `PATH`.
57
57
build:generic_gcc --repo_env=CC=gcc
58
58
59
- # C++14 standard version is required.
60
- build:generic_gcc --cxxopt=-std=c++14 --host_cxxopt=-std=c++14
59
+ # C++17 standard version is required.
60
+ build:generic_gcc --cxxopt=-std=c++17 --host_cxxopt=-std=c++17
61
61
62
62
# Build errors are not a helpful way to enforce deprecation in-repo and it is
63
63
# not the point of the Bazel build to catch usage of deprecated APIs.
@@ -78,8 +78,8 @@ build:generic_gcc --copt=-Werror --host_copt=-Werror
78
78
# Generic Windows flags common to both MSVC and Clang.
79
79
###############################################################################
80
80
81
- # C++14 standard version is required.
82
- build:windows --cxxopt=/std:c++14 --host_cxxopt=/std:c++14
81
+ # C++17 standard version is required.
82
+ build:windows --cxxopt=/std:c++17 --host_cxxopt=/std:c++17
83
83
84
84
# Other generic dialect flags.
85
85
build:windows --copt=/Zc:strictStrings --host_copt=/Zc:strictStrings
0 commit comments