We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bc4f6b commit 4a7342eCopy full SHA for 4a7342e
include/pybind11/detail/common.h
@@ -52,7 +52,7 @@
52
#endif
53
54
#ifdef PYBIND11_COMPILER_CLANG
55
-# define PYBIND11_DISABLE_WARNING_CLANG(name) PYBIND11_PRAGMA(clang diagnostic push # name)
+# define PYBIND11_DISABLE_WARNING_CLANG(name) PYBIND11_PRAGMA(clang diagnostic ignored # name)
56
#else
57
# define PYBIND11_DISABLE_WARNING_CLANG(name)
58
0 commit comments