Fix ifdef for pragma GCC diagnostic.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2022-06-21 23:28:40 -07:00
parent 5aaf96a382
commit 5d45055a58

View File

@ -18,7 +18,8 @@
#else #else
# if defined(__GNUC__) && !defined(PYBIND11_CPP20) # if !defined(PYBIND11_CPP20) && defined(__GNUC__) && !defined(__clang__) \
&& !defined(__INTEL_COMPILER)
# pragma GCC diagnostic ignored "-Wsubobject-linkage" # pragma GCC diagnostic ignored "-Wsubobject-linkage"
# endif # endif