Skip to content

Commit a669eae

Browse files
Toolset update: VS 2022 17.8 Preview 1 (#3939)
1 parent ed8150e commit a669eae

File tree

9 files changed

+8
-24
lines changed

9 files changed

+8
-24
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem
141141

142142
# How To Build With The Visual Studio IDE
143143

144-
1. Install Visual Studio 2022 17.7 Preview 3 or later.
144+
1. Install Visual Studio 2022 17.8 Preview 1 or later.
145145
* Select "Windows 11 SDK (10.0.22000.0)" in the VS Installer.
146146
* We recommend selecting "C++ CMake tools for Windows" in the VS Installer.
147147
This will ensure that you're using supported versions of CMake and Ninja.
@@ -157,7 +157,7 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem
157157

158158
# How To Build With A Native Tools Command Prompt
159159

160-
1. Install Visual Studio 2022 17.7 Preview 3 or later.
160+
1. Install Visual Studio 2022 17.8 Preview 1 or later.
161161
* Select "Windows 11 SDK (10.0.22000.0)" in the VS Installer.
162162
* We recommend selecting "C++ CMake tools for Windows" in the VS Installer.
163163
This will ensure that you're using supported versions of CMake and Ninja.

azure-devops/provision-image.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ if ([string]::IsNullOrEmpty($AdminUserPassword)) {
9191
$PsExecPath = Join-Path $ExtractedPsToolsPath 'PsExec64.exe'
9292

9393
# https://github.com/PowerShell/PowerShell/releases/latest
94-
$PowerShellZipUrl = 'https://github.com/PowerShell/PowerShell/releases/download/v7.3.5/PowerShell-7.3.5-win-x64.zip'
94+
$PowerShellZipUrl = 'https://github.com/PowerShell/PowerShell/releases/download/v7.3.6/PowerShell-7.3.6-win-x64.zip'
9595
Write-Host "Downloading: $PowerShellZipUrl"
9696
$ExtractedPowerShellPath = DownloadAndExtractZip -Url $PowerShellZipUrl
9797
$PwshPath = Join-Path $ExtractedPowerShellPath 'pwsh.exe'

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ variables:
99
benchmarkBuildOutputLocation: 'D:\benchmark'
1010

1111
pool:
12-
name: 'StlBuild-2023-07-11T1513-Pool'
12+
name: 'StlBuild-2023-08-08T1145-Pool'
1313
demands: EnableSpotVM -equals true
1414

1515
pr:

tests/std/include/range_algorithm_support.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include <type_traits>
1313
#include <utility>
1414

15-
#ifdef _M_CEE // TRANSITION, VSO-1659408
15+
#ifdef _M_CEE // TRANSITION, VSO-1867037
1616
#include <memory>
1717
#endif // ^^^ workaround ^^^
1818

@@ -72,7 +72,7 @@ template <class T, std::size_t N>
7272
struct holder {
7373
STATIC_ASSERT(N < ~std::size_t{0} / sizeof(T));
7474

75-
#ifdef _M_CEE // TRANSITION, VSO-1659408
75+
#ifdef _M_CEE // TRANSITION, VSO-1867037
7676
unsigned char space[(N + 1) * sizeof(T)];
7777

7878
auto as_span() {

tests/std/tests/P0019R8_atomic_ref/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct int128 {
3737

3838
template <bool AddViaCas, typename ValueType>
3939
void test_ops() {
40-
#ifndef _M_CEE // TRANSITION, VSO-1659408
40+
#ifndef _M_CEE // TRANSITION, VSO-1659695
4141
constexpr std::size_t unique = 80; // small to avoid overflow even for char
4242
constexpr std::size_t repetitions = 8000;
4343
constexpr std::size_t total = unique * repetitions;

tests/std/tests/P0040R3_extending_memory_management_tools/test.cpp

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,21 +56,11 @@ struct uninitialized_fixture {
5656

5757
template <typename T, size_t Count>
5858
struct uninitialized_storage {
59-
#ifdef _M_CEE // TRANSITION, VSO-1659408
60-
char storage[sizeof(T) * Count + sizeof(T)];
61-
62-
T* begin() {
63-
void* storageVoid = storage;
64-
size_t space = sizeof(storage);
65-
return static_cast<T*>(align(alignof(T), sizeof(T), storageVoid, space));
66-
}
67-
#else // ^^^ _M_CEE / !_M_CEE vvv
6859
alignas(T) char storage[sizeof(T) * Count];
6960

7061
T* begin() {
7162
return &reinterpret_cast<T&>(storage);
7263
}
73-
#endif // _M_CEE
7464

7565
T* end() {
7666
return begin() + Count;

tests/std/tests/P0466R5_layout_compatibility_and_pointer_interconvertibility_traits/test.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,9 @@ constexpr bool test() {
7171
ASSERT(is_layout_compatible_v<volatile E3, const E4>);
7272
ASSERT(is_layout_compatible_v<int[], int[]>);
7373
ASSERT(is_layout_compatible_v<int[3], int[3]>);
74-
75-
#ifndef __EDG__ // TRANSITION, VSO-1849458
7674
ASSERT(is_layout_compatible_v<const int[], int[]>);
7775
ASSERT(is_layout_compatible_v<const int[3], int[3]>);
7876
ASSERT(is_layout_compatible_v<int[], volatile int[]>);
79-
#endif // ^^^ no workaround ^^^
80-
8177
ASSERT(!is_layout_compatible_v<int, char>);
8278
ASSERT(!is_layout_compatible_v<int, void>);
8379
ASSERT(!is_layout_compatible_v<S1, void>);

tests/std/tests/P0660R10_stop_token/test.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ struct cb_destroying_functor {
5555
};
5656

5757
int main() noexcept {
58-
#ifndef _M_CEE // TRANSITION, VSO-1659408
5958
reset_new_counters(0);
6059
{ // all the following must not allocate, and must work with a nostopstate source; in rough synopsis order
6160
stop_token token;
@@ -416,5 +415,4 @@ int main() noexcept {
416415
reset_new_counters(0);
417416

418417
puts("pass");
419-
#endif // _M_CEE
420418
}

tests/std/tests/P1135R6_atomic_flag_test/test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void test_flag_type() {
8282
}
8383

8484
int main() {
85-
#ifndef _M_CEE // TRANSITION, VSO-1659408
85+
#ifndef _M_CEE // TRANSITION, VSO-1659695
8686
test_flag_type<std::atomic_flag>();
8787
test_flag_type<volatile std::atomic_flag>();
8888
#endif // _M_CEE

0 commit comments

Comments
 (0)