File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1313//
1414// THE `push` HERE NEED TO BE KEPT IN SYNC WITH THE CORRESPONDING `pop` AT THE BOTTOM OF THIS FILE.
1515//
16- #if defined(_MSC_VER)
16+ #if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
1717# pragma warning(push)
1818# pragma warning(disable: 4100) // warning C4100: Unreferenced formal parameter
1919# pragma warning(disable: 4127) // warning C4127: Conditional expression is constant
@@ -2378,7 +2378,7 @@ PYBIND11_NAMESPACE_END(PYBIND11_NAMESPACE)
23782378//
23792379// THE `pop` HERE NEED TO BE KEPT IN SYNC WITH THE CORRESPONDING `push` AT THE TOP OF THIS FILE.
23802380//
2381- #if defined(_MSC_VER)
2381+ #if defined(_MSC_VER) && !defined(__INTEL_COMPILER)
23822382# pragma warning(pop)
23832383#elif defined(__GNUG__) && !defined(__clang__) && !defined(__INTEL_COMPILER)
23842384# pragma GCC diagnostic pop
You can’t perform that action at this time.
0 commit comments