We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 78f4e93 commit 6d9441dCopy full SHA for 6d9441d
include/pybind11/numpy.h
@@ -73,7 +73,7 @@ class LazyInitializeAtLeastOnceDestroyNever {
73
PYBIND11_WARNING_PUSH
74
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 5
75
// Needed for gcc 4.8.5
76
- PYBIND11_WARNING_DISABLE_CLANG("-Wstrict-aliasing")
+ PYBIND11_WARNING_DISABLE_GCC("-Wstrict-aliasing")
77
#endif
78
return *reinterpret_cast<T *>(value_storage_);
79
PYBIND11_WARNING_POP
0 commit comments