Enforces intel icpc >= 2017, fixes #1121 (#1363)

This commit is contained in:
Lori A. Burns
2018-04-29 07:48:25 -04:00
committed by Wenzel Jakob
parent 307ea6b7fd
commit bdbe8d0bde
4 changed files with 8 additions and 4 deletions

View File

@@ -46,8 +46,8 @@
// Compiler version assertions
#if defined(__INTEL_COMPILER)
# if __INTEL_COMPILER < 1500
# error pybind11 requires Intel C++ compiler v15 or newer
# if __INTEL_COMPILER < 1700
# error pybind11 requires Intel C++ compiler v17 or newer
# endif
#elif defined(__clang__) && !defined(__apple_build_version__)
# if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 3)