Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
GH-101291: Avoid using macros with casts in low-level long API.#104742
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@rwgk can you confirm that this fixes the pybind11 compilation issue? |
rwgk commentedMay 22, 2023
Yes, confirmed! Thanks for the quick fix! Building all pybind11 unit tests works again. For completeness: I'm currently unable to run the full suite of pybind11 unit tests b/o an unrelated problem (#103912 (comment)). |
Thanks@markshannon for the PR, and@iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
…pythonGH-104742)(cherry picked from commite295d86)Co-authored-by: Mark Shannon <mark@hotpy.org>
bedevere-bot commentedMay 22, 2023
GH-104759 is a backport of this pull request to the3.12 branch. |
(Backporting since this fixes compiler warnings from a recent change, so this counts as a bug fix.) |
Uh oh!
There was an error while loading.Please reload this page.
Stick to inline functions and plain
assert
to avoid losingconst
ness.Fixes C++ compiler warnings.
See#101685 (comment)