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

01.12-testingRequirements0/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.14-invocable0/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.15-invocable1/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.16-constexprFunctionInConcept0/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.16-constexprFunctionInConcept0/main.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#include <array>
55
#include <cstddef>
66

7-
#if not defined(_MSC_VER)
87
// #A A helper function with a default parameter
98
constexpr auto GetSize(const auto& t = {})
109
{
@@ -25,10 +24,4 @@ int main()
2524
std::array<int, 1> a{};
2625

2726
SendOnePing(a);
28-
}
29-
#else
30-
int main()
31-
{
32-
# pragma message("not supported")
33-
}
34-
#endif
27+
}

01.18-vectorsSize0/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.21-vectorsSize1/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.22-validateInDebugModeIfExists0/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.24-optional0/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.26-optional1/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.26-optional1/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
struct copyable {};
77

88
struct notCopyable {
9-
notCopyable(const notCopyable&) = delete;
9+
notCopyable(const notCopyable&) = delete;
1010
notCopyable operator=(const notCopyable&) = delete;
1111
};
1212

@@ -20,7 +20,7 @@ class optional
2020
};
2121

2222
struct NotCopyable {
23-
NotCopyable(const NotCopyable&) = delete;
23+
NotCopyable(const NotCopyable&) = delete;
2424
NotCopyable& operator=(const NotCopyable&) = delete;
2525
};
2626

01.27-optional2/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.27-optional2/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ optional<T>::optional(
1818
{}
1919

2020
struct NotCopyable {
21-
NotCopyable(const NotCopyable&) = delete;
21+
NotCopyable(const NotCopyable&) = delete;
2222
NotCopyable& operator=(const NotCopyable&) = delete;
2323
};
2424

01.28-optional3/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.28-optional3/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class optional {
4040
};
4141

4242
struct NotCopyable {
43-
NotCopyable(const NotCopyable&) = delete;
43+
NotCopyable(const NotCopyable&) = delete;
4444
NotCopyable& operator=(const NotCopyable&) = delete;
4545
};
4646

01.29-optional4/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.29-optional4/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ class optional {
7171
#endif
7272

7373
struct NotCopyable {
74-
NotCopyable(const NotCopyable&) = delete;
74+
NotCopyable(const NotCopyable&) = delete;
7575
NotCopyable& operator=(const NotCopyable&) = delete;
7676
};
7777

01.32-optional5/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.32-optional5/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ optional<T>::~optional() requires NotTriviallyDestructible<T> &&
8484
#endif
8585

8686
struct NotCopyable {
87-
NotCopyable(const NotCopyable&) = delete;
87+
NotCopyable(const NotCopyable&) = delete;
8888
NotCopyable& operator=(const NotCopyable&) = delete;
8989
};
9090

01.33-optional6/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.33-optional6/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ optional<T>::~optional() requires NotTriviallyDestructible<T> &&
100100
#endif
101101

102102
struct NotCopyable {
103-
NotCopyable(const NotCopyable&) = delete;
103+
NotCopyable(const NotCopyable&) = delete;
104104
NotCopyable& operator=(const NotCopyable&) = delete;
105105
};
106106

01.34-isSameConcept0/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.36-isSameConcept1/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.37-isSameConcept2/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.38-isSameConcept3/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.40-printSorted0/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.42-printSorted1/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

02.01-limitlessSequenceWithoutCoroutines0/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

02.03-limitlessSequenceWithFunctionTemplate0/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

02.04-coroutineLimitlessSequence0/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)