Skip to content

Commit

Permalink
Tests: Boost.Math drops MSVC 14.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Kojoley committed Feb 23, 2024
1 parent f39edf2 commit d4d4b8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/karma/real.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "test.hpp"

#ifdef _MSVC_LANG
# if _MSVC_LANG < 201402L
# if _MSC_VER < 1910 || _MSVC_LANG < 201402L
# define BOOST_SPIRIT_NO_MATH_REAL_CONCEPT
# endif
#elif __cplusplus < 201402L
Expand Down
2 changes: 1 addition & 1 deletion test/qi/real.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <climits>

#ifdef _MSVC_LANG
# if _MSVC_LANG < 201402L
# if _MSC_VER < 1910 || _MSVC_LANG < 201402L
# define BOOST_SPIRIT_NO_MATH_REAL_CONCEPT
# endif
#elif __cplusplus < 201402L
Expand Down
5 changes: 5 additions & 0 deletions test/x3/real4.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/

#if defined(_MSC_VER) && _MSC_VER < 1910
int main() {}
#else

#include "real.hpp"

#include <boost/math/concepts/real_concept.hpp>
Expand Down Expand Up @@ -75,3 +79,4 @@ main()

return boost::report_errors();
}
#endif

0 comments on commit d4d4b8e

Please sign in to comment.