Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ODR issue in type_caster which could result in UB when -flto is enabled #1028

Merged
merged 8 commits into from
Aug 25, 2024

Conversation

HDembinski
Copy link
Member

@HDembinski HDembinski commented Aug 25, 2024

Closes #976

One could expose the issue (before the fix) on macOS after installing gcc-14 with homebrew with the command
CXX=gcc-14 python -m build -w

@HDembinski HDembinski merged commit 18a6d08 into develop Aug 25, 2024
7 checks passed
@HDembinski HDembinski deleted the fix_lto branch August 25, 2024 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build fails with LTO
1 participant