mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-18 06:30:54 +00:00
minor Intel compiler fix
This commit is contained in:
parent
c7c7705f86
commit
324c9c521b
@ -12,7 +12,7 @@
|
|||||||
#include "pybind11.h"
|
#include "pybind11.h"
|
||||||
#include <type_traits>
|
#include <type_traits>
|
||||||
|
|
||||||
#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()))
|
# pragma clang diagnostic ignored "-Wunsequenced" // multiple unsequenced modifications to 'self' (when using def(py::self OP Type()))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user