Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add workaround/fix for GGC 12 bound checking error
Issue: #5224 The `internals.registered_types_py...` line in pybind11.h triggers a false-positive bounds checking warning in GCC 12. This is discussed in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115824. The workaround implemented is taken from suggestions in this discussion.
- Loading branch information