Changing _MSC_VER guard to < 1910 (dropping MSVC 2015).

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-02-11 16:53:46 -08:00
parent 522c59ceb2
commit ed784f1083

View File

@ -81,10 +81,8 @@
# error pybind11 requires gcc 4.8 or newer
# endif
#elif defined(_MSC_VER)
// Pybind hits various compiler bugs in 2015u2 and earlier, and also makes use of some stl features
// (e.g. std::negation) added in 2015u3:
# if _MSC_FULL_VER < 190024210
# error pybind11 requires MSVC 2015 update 3 or newer
# if _MSC_VER < 1910
# error pybind11 2.10+ requires MSVC 2017 or newer
# endif
#endif