GH-101291: Avoid using macros with casts in low-level long API.#104742
GH-101291: Avoid using macros with casts in low-level long API.#104742iritkatriel merged 1 commit into
Conversation
|
@rwgk can you confirm that this fixes the pybind11 compilation issue? |
Sorry, something went wrong.
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)). |
Sorry, something went wrong.
|
Thanks @markshannon for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
…pythonGH-104742) (cherry picked from commit e295d86) Co-authored-by: Mark Shannon <mark@hotpy.org>
|
(Backporting since this fixes compiler warnings from a recent change, so this counts as a bug fix.) |
Sorry, something went wrong.
Stick to inline functions and plain
assertto avoid losingconstness.Fixes C++ compiler warnings.
See #101685 (comment)