From 324c9c521b063a0de94f09ac9fa32e6d85dcef52 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Fri, 26 Aug 2016 16:50:11 +0200 Subject: [PATCH] minor Intel compiler fix --- include/pybind11/operators.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/operators.h b/include/pybind11/operators.h index 305cd2cd5..39f9786a7 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