Skip to content

Commit

Permalink
Remove support for Visual C++ 2015. (#2030)
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Jul 23, 2024
2 parents 03e0c62 + 99aa50a commit 250bd38
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 42 deletions.
21 changes: 4 additions & 17 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
image:
- Visual Studio 2015
- Visual Studio 2017
image: Visual Studio 2017

platform: x64
configuration: Release

version: ci.{build}

before_build:
- COPY .ci\VS2017.props .\Build.props

build:
parallel: false
project: QuantLib.sln
verbosity: normal

for:
-
matrix:
only:
- image: Visual Studio 2015
before_build:
- COPY .ci\VS2015.props .\Build.props
-
matrix:
only:
- image: Visual Studio 2017
before_build:
- COPY .ci\VS2017.props .\Build.props
18 changes: 0 additions & 18 deletions .ci/VS2015.props

This file was deleted.

4 changes: 2 additions & 2 deletions ql/config.msvc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
#include <ql/userconfig.hpp>

// first things first
#if (_MSC_VER < 1900)
# error "versions of Visual C++ prior to VC++ 2015 are no longer supported"
#if (_MSC_VER < 1910)
# error "versions of Visual C++ prior to VC++ 2017 are no longer supported"
#endif

/*******************************************
Expand Down
2 changes: 1 addition & 1 deletion ql/errors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

namespace {

#if defined(_MSC_VER) || defined(__BORLANDC__)
#if defined(_MSC_VER)
// allow Visual Studio integration
std::string format(
#ifdef QL_ERROR_LINES
Expand Down
4 changes: 0 additions & 4 deletions ql/handle.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,7 @@ namespace QuantLib {
/*! \deprecated Use one of the constructors taking shared_ptr.
Deprecated in version 1.35.
*/
#if defined(_MSC_VER) && (_MSC_VER < 1916)
QL_DEPRECATED
#else
[[deprecated("Use one of the constructors taking shared_ptr.")]]
#endif
explicit RelinkableHandle(
T* p,
bool registerAsObserver = true);
Expand Down

0 comments on commit 250bd38

Please sign in to comment.