Skip to content

Commit a11f262

Browse files
dibakchcopybara-github
authored andcommitted
Require C++20
PiperOrigin-RevId: 826066947
1 parent bf06540 commit a11f262

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.bazelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
# Platform specific compiler flags
1818
build --enable_platform_specific_config
19-
build:linux --copt="-Wno-sign-compare" --cxxopt="-std=c++17"
20-
build:macos --copt="-Wno-sign-compare" --cxxopt="-std=c++17"
21-
build:windows --copt="/wd4244" --cxxopt="/std:c++17"
19+
build:linux --copt="-Wno-sign-compare" --cxxopt="-std=c++20"
20+
build:macos --copt="-Wno-sign-compare" --cxxopt="-std=c++20"
21+
build:windows --copt="/wd4244" --cxxopt="/std:c++20"

cc/.bazelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616

1717
# Platform specific compiler flags
1818
build --enable_platform_specific_config
19-
build:linux --copt="-Wno-sign-compare" --cxxopt="-std=c++17"
20-
build:macos --copt="-Wno-sign-compare" --cxxopt="-std=c++17"
21-
build:windows --copt="/wd4244" --cxxopt="/std:c++17"
19+
build:linux --copt="-Wno-sign-compare" --cxxopt="-std=c++20"
20+
build:macos --copt="-Wno-sign-compare" --cxxopt="-std=c++20"
21+
build:windows --copt="/wd4244" --cxxopt="/std:c++20"

examples/cc/.bazelrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
build --cxxopt='-std=c++17'
1+
build --cxxopt='-std=c++20'

examples/zetasql/.bazelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
# Platform specific compiler flags
1818
build --enable_platform_specific_config
19-
build:linux --copt="-Wno-sign-compare" --cxxopt="-std=c++17"
20-
build:macos --copt="-Wno-sign-compare" --cxxopt="-std=c++17"
19+
build:linux --copt="-Wno-sign-compare" --cxxopt="-std=c++20"
20+
build:macos --copt="-Wno-sign-compare" --cxxopt="-std=c++20"

0 commit comments

Comments
 (0)