mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
parent
307ea6b7fd
commit
bdbe8d0bde
@ -98,7 +98,7 @@ In addition to the core functionality, pybind11 provides some extra goodies:
|
|||||||
1. Clang/LLVM 3.3 or newer (for Apple Xcode's clang, this is 5.0.0 or newer)
|
1. Clang/LLVM 3.3 or newer (for Apple Xcode's clang, this is 5.0.0 or newer)
|
||||||
2. GCC 4.8 or newer
|
2. GCC 4.8 or newer
|
||||||
3. Microsoft Visual Studio 2015 Update 3 or newer
|
3. Microsoft Visual Studio 2015 Update 3 or newer
|
||||||
4. Intel C++ compiler 16 or newer (15 with a [workaround](https://github.com/pybind/pybind11/issues/276))
|
4. Intel C++ compiler 17 or newer (16 with pybind11 v2.0 and 15 with pybind11 v2.0 and a [workaround](https://github.com/pybind/pybind11/issues/276))
|
||||||
5. Cygwin/GCC (tested on 2.5.1)
|
5. Cygwin/GCC (tested on 2.5.1)
|
||||||
|
|
||||||
## About
|
## About
|
||||||
|
@ -21,6 +21,10 @@ v2.3.0 (Not yet released)
|
|||||||
* The ``value()`` method of ``py::enum_`` now accepts an optional docstring
|
* The ``value()`` method of ``py::enum_`` now accepts an optional docstring
|
||||||
that will be shown in the documentation of the associated enumeration.
|
that will be shown in the documentation of the associated enumeration.
|
||||||
|
|
||||||
|
* Intel compilers have needed to be >= 17.0 since v2.1. Now the check
|
||||||
|
is explicit and a compile-time error is raised if the compiler does
|
||||||
|
not meet the requirements.
|
||||||
|
|
||||||
v2.2.2 (February 7, 2018)
|
v2.2.2 (February 7, 2018)
|
||||||
-----------------------------------------------------
|
-----------------------------------------------------
|
||||||
|
|
||||||
|
@ -91,4 +91,4 @@ Supported compilers
|
|||||||
1. Clang/LLVM (any non-ancient version with C++11 support)
|
1. Clang/LLVM (any non-ancient version with C++11 support)
|
||||||
2. GCC 4.8 or newer
|
2. GCC 4.8 or newer
|
||||||
3. Microsoft Visual Studio 2015 or newer
|
3. Microsoft Visual Studio 2015 or newer
|
||||||
4. Intel C++ compiler v15 or newer
|
4. Intel C++ compiler v17 or newer (v16 with pybind11 v2.0 and v15 with pybind11 v2.0 and a `workaround <https://github.com/pybind/pybind11/issues/276>`_ )
|
||||||
|
@ -46,8 +46,8 @@
|
|||||||
|
|
||||||
// Compiler version assertions
|
// Compiler version assertions
|
||||||
#if defined(__INTEL_COMPILER)
|
#if defined(__INTEL_COMPILER)
|
||||||
# if __INTEL_COMPILER < 1500
|
# if __INTEL_COMPILER < 1700
|
||||||
# error pybind11 requires Intel C++ compiler v15 or newer
|
# error pybind11 requires Intel C++ compiler v17 or newer
|
||||||
# endif
|
# endif
|
||||||
#elif defined(__clang__) && !defined(__apple_build_version__)
|
#elif defined(__clang__) && !defined(__apple_build_version__)
|
||||||
# if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 3)
|
# if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 3)
|
||||||
|
Loading…
Reference in New Issue
Block a user