From 15e1ec15cc2b545cafaeef7879102d380b40353c Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Mon, 22 Jun 2020 00:23:55 -0700 Subject: [PATCH] Require VS 2019 16.7 Preview 2 or later. --- README.md | 4 ++-- stl/inc/yvals_core.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 19d2eab7841..276fe3dc61a 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem The STL uses boost-math headers to provide P0226R1 Mathematical Special Functions. We recommend using [vcpkg][] to acquire this dependency. -1. Install Visual Studio 2019 16.6 Preview 2 or later. +1. Install Visual Studio 2019 16.7 Preview 2 or later. 2. Invoke `git clone https://github.com/microsoft/vcpkg` 3. Invoke `cd vcpkg` 4. Invoke `.\bootstrap-vcpkg.bat` @@ -159,7 +159,7 @@ acquire this dependency. These instructions assume you're targeting `x64-windows`; you can change this constant below to target other architectures. -1. Install [CMake][] 3.16.5 or later, [Ninja][] 1.10.0 or later, and Visual Studio 2019 16.6 Preview 2 or later. +1. Install [CMake][] 3.16.5 or later, [Ninja][] 1.10.0 or later, and Visual Studio 2019 16.7 Preview 2 or later. 2. Invoke `git clone https://github.com/microsoft/vcpkg` 3. Invoke `cd vcpkg` 4. Invoke `.\bootstrap-vcpkg.bat` diff --git a/stl/inc/yvals_core.h b/stl/inc/yvals_core.h index 69611063272..d4b3c4ed390 100644 --- a/stl/inc/yvals_core.h +++ b/stl/inc/yvals_core.h @@ -497,8 +497,8 @@ #error STL1000: Unexpected compiler version, expected Clang 10.0.0 or newer. #endif // ^^^ old Clang ^^^ #elif defined(_MSC_VER) -#if _MSC_VER < 1926 // Coarse-grained, not inspecting _MSC_FULL_VER -#error STL1001: Unexpected compiler version, expected MSVC 19.26 or newer. +#if _MSC_VER < 1927 // Coarse-grained, not inspecting _MSC_FULL_VER +#error STL1001: Unexpected compiler version, expected MSVC 19.27 or newer. #endif // ^^^ old MSVC ^^^ #else // vvv other compilers vvv // not attempting to detect other compilers