Skip to content

Commit 646d7b6

Browse files
authored
Merge pull request #371 from hitonanode/cpp20
Update to C++20
2 parents 375ee55 + 9616116 commit 646d7b6

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.verify-helper/config.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[languages.cpp.environments]]
22
CXX = "g++"
3-
CXXFLAGS = ["-std=c++17", "-O2", "-Wall"]
3+
CXXFLAGS = ["-std=c++20", "-O2", "-Wall"]
44

55
[[languages.cpp.environments]]
66
CXX = "clang++"
7-
CXXFLAGS = ["-std=c++17", "-O2", "-Wall"]
7+
CXXFLAGS = ["-std=c++20", "-O2", "-Wall"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020

2121
GitHub Actions-based CI is run for the environments below:
2222

23-
- C++17 (GCC): `g++ -std=c++17 -O2 -Wall`
24-
- C++17 (Clang): `clang++ -std=c++17 -O2 -Wall`
23+
- C++20 (GCC): `g++ -std=c++20 -O2 -Wall`
24+
- C++20 (Clang): `clang++ -std=c++20 -O2 -Wall`
2525

2626
## Installation
2727

compile_flags.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-Wfatal-errors
2+
-Wall
3+
-Wextra
4+
-std=c++20

0 commit comments

Comments
 (0)