Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove support for Visual C++ 2015. #2030

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading