Skip to content

Commit f6aaf68

Browse files
committed
suppress intel version of -Wtype-limits
1 parent 7e66762 commit f6aaf68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/pybind11/cast.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2176,6 +2176,7 @@ class simple_collector {
21762176
// Disable warnings about useless comparisons when N == 0.
21772177
PYBIND11_WARNING_PUSH
21782178
PYBIND11_WARNING_DISABLE_GCC("-Wtype-limits")
2179+
PYBIND11_WARNING_DISABLE_INTEL(186)
21792180
public:
21802181
template <typename... Ts>
21812182
explicit simple_collector(Ts &&...values) {

0 commit comments

Comments
 (0)