diff --git a/include/pybind11/operators.h b/include/pybind11/operators.h index 305cd2cd..39f9786a 100644 --- a/include/pybind11/operators.h +++ b/include/pybind11/operators.h @@ -12,7 +12,7 @@ #include "pybind11.h" #include -#if defined(__clang__) +#if defined(__clang__) && !defined(__INTEL_COMPILER) # pragma clang diagnostic ignored "-Wunsequenced" // multiple unsequenced modifications to 'self' (when using def(py::self OP Type())) #endif