We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17c22b9 commit cd67921Copy full SHA for cd67921
include/pybind11/detail/common.h
@@ -27,7 +27,7 @@
27
# endif
28
#endif
29
30
-#if !(defined(_MSC_VER) && __cplusplus == 199711L) && !defined(__INTEL_COMPILER)
+#if !(defined(_MSC_VER) && __cplusplus == 199711L)
31
# if __cplusplus >= 201402L
32
# define PYBIND11_CPP14
33
# if __cplusplus >= 201703L
@@ -49,6 +49,8 @@
49
#if defined(__INTEL_COMPILER)
50
# if __INTEL_COMPILER < 1800
51
# error pybind11 requires Intel C++ compiler v18 or newer
52
+# elif __INTEL_COMPILER < 1900 && defined(PYBIND11_CPP14)
53
+# error pybind11 supports only C++11 with Intel C++ compiler v18. Use v19 or newer for C++14.
54
55
#elif defined(__clang__) && !defined(__apple_build_version__)
56
# if __clang_major__ < 3 || (__clang_major__ == 3 && __clang_minor__ < 3)
0 commit comments