mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-21 16:09:22 +00:00
Changing _MSC_VER
guard to < 1910
(dropping MSVC 2015).
This commit is contained in:
parent
522c59ceb2
commit
ed784f1083
@ -81,10 +81,8 @@
|
|||||||
# error pybind11 requires gcc 4.8 or newer
|
# error pybind11 requires gcc 4.8 or newer
|
||||||
# endif
|
# endif
|
||||||
#elif defined(_MSC_VER)
|
#elif defined(_MSC_VER)
|
||||||
// Pybind hits various compiler bugs in 2015u2 and earlier, and also makes use of some stl features
|
# if _MSC_VER < 1910
|
||||||
// (e.g. std::negation) added in 2015u3:
|
# error pybind11 2.10+ requires MSVC 2017 or newer
|
||||||
# if _MSC_FULL_VER < 190024210
|
|
||||||
# error pybind11 requires MSVC 2015 update 3 or newer
|
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user