mirror of
https://github.com/pybind/pybind11.git
synced 2025-01-19 17:32:37 +00:00
Fix ifdef for pragma GCC diagnostic.
This commit is contained in:
parent
5aaf96a382
commit
5d45055a58
@ -18,7 +18,8 @@
|
||||
|
||||
#else
|
||||
|
||||
# if defined(__GNUC__) && !defined(PYBIND11_CPP20)
|
||||
# if !defined(PYBIND11_CPP20) && defined(__GNUC__) && !defined(__clang__) \
|
||||
&& !defined(__INTEL_COMPILER)
|
||||
# pragma GCC diagnostic ignored "-Wsubobject-linkage"
|
||||
# endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user