Skip to content

Commit 7eebcbd

Browse files
committed
Updates using latest compilers.
1 parent 7c70351 commit 7eebcbd

File tree

281 files changed

+270
-827
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

281 files changed

+270
-827
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
gcc_version: 11,
2525
}
2626

27-
# Clang-13
27+
# Clang-14
2828
- {
29-
name: "Linux Clang 13",
29+
name: "Linux Clang 14",
3030
os: ubuntu-20.04,
3131
build_type: Release,
32-
cxx: "clang++-13",
33-
clang_version: 13,
32+
cxx: "clang++-14",
33+
clang_version: 14,
3434
libcxx: true
3535
}
3636

@@ -48,7 +48,7 @@ jobs:
4848
os: windows-latest,
4949
build_type: Release,
5050
cxx: "cl",
51-
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat",
51+
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat",
5252
}
5353

5454
steps:
@@ -98,7 +98,7 @@ jobs:
9898
)
9999
endif()
100100
101-
- name: Install Clang 13
101+
- name: Install Clang 14
102102
id: install_clang_11
103103
if: startsWith(matrix.config.os, 'ubuntu') && startsWith(matrix.config.cxx, 'clang++-')
104104
shell: bash
@@ -133,6 +133,10 @@ jobs:
133133
run: |
134134
sudo apt-get install libc++-${{ matrix.config.clang_version }}-dev libc++abi-${{ matrix.config.clang_version }}-dev
135135
136+
- name: Setup MSVC Dev
137+
if: "startsWith(matrix.config.os, 'Windows')"
138+
uses: ilammy/msvc-dev-cmd@v1
139+
136140
- name: Configure
137141
id: cmake_configure
138142
shell: cmake -P {0}

01.01-variadicTemplateSum2/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.02-variableTemplate0/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.05-variadicTemplateSum3/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.06-simpleRequirement0/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.07-nestedRequirement0/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.08-compoundRequirement0/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.09-typeRequirement0/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.10-compoundRequirement1/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

01.11-compoundRequirement2/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ if(MSVC)
5858
add_definitions(/wd4996) # 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS.
5959
add_definitions(/wd4267)
6060
add_definitions(/wd4505)
61-
add_definitions(/await) # enable coroutine support
6261

6362
# Use sane and nice C++ for MSVC.
6463
# This makes alternative tokens (not, and, ...) as actual keywords and

0 commit comments

Comments
 (0)