Enforce Visual Studio 2017 (MSVC++ 15.0) minumum

PiperOrigin-RevId: 483972593
Change-Id: I5358871cdf825bbfae65bf9f5872c4fd56005fb7
pull/1305/head
Derek Mauro 2 years ago committed by Copybara-Service
parent 2fc358dab0
commit 4691321663
  1. 6
      absl/base/policy_checks.h

@ -44,10 +44,10 @@
// Toolchain Check
// -----------------------------------------------------------------------------
// We support MSVC++ 14.0 update 2 and later.
// We support Visual Studio 2017 (MSVC++ 15.0) and later.
// This minimum will go up.
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER < 190023918 && !defined(__clang__)
#error "This package requires Visual Studio 2015 Update 2 or higher."
#if defined(_MSC_VER) && _MSC_VER < 1910 && !defined(__clang__)
#error "This package requires Visual Studio 2017 (MSVC++ 15.0) or higher."
#endif
// We support gcc 5 and later.

Loading…
Cancel
Save