From 1a961d176812a6b136aaf42250e6eb0c76449fb8 Mon Sep 17 00:00:00 2001 From: Luigi Ballabio Date: Wed, 20 Jan 2021 13:31:03 +0100 Subject: [PATCH] Remove support for VC++ 2012 --- ql/config.msvc.hpp | 4 ++-- ql/errors.hpp | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/ql/config.msvc.hpp b/ql/config.msvc.hpp index 13e0de09a49..d3bb484bd0f 100644 --- a/ql/config.msvc.hpp +++ b/ql/config.msvc.hpp @@ -25,8 +25,8 @@ #include // first things first -#if (_MSC_VER < 1600) -# error "versions of Visual C++ prior to VC++10 (2010) are no longer supported" +#if (_MSC_VER < 1800) +# error "versions of Visual C++ prior to VC++12.0 (2013) are no longer supported" #endif /******************************************* diff --git a/ql/errors.hpp b/ql/errors.hpp index d2f227da841..3ef4e3694d0 100644 --- a/ql/errors.hpp +++ b/ql/errors.hpp @@ -62,8 +62,7 @@ namespace QuantLib { */ #define MULTILINE_MACRO_BEGIN do { -#if defined(BOOST_MSVC) && BOOST_MSVC >= 1500 - /* __pragma is available from VC++9 */ +#if defined(BOOST_MSVC) #define MULTILINE_MACRO_END \ __pragma(warning(push)) \ __pragma(warning(disable:4127)) \