8000 gh-91320: Fix more old-style cast warnings in C++ by vstinner · Pull Request #93285 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-91320: Fix more old-style cast warnings in C++ #93285

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

Merged
merged 1 commit into from
Jun 2, 2022
Merged

gh-91320: Fix more old-style cast warnings in C++ #93285

merged 1 commit into from
Jun 2, 2022

Conversation

vstinner
Copy link
Member

Use _Py_CAST() and _PyObject_CAST() in the public C API to fix C++
compiler warnings: "use of old-style cast" (clang -Wold-style-cast).

Use _PyObject_CAST() in the public C API to fix C++ compiler
warnings: "use of old-style cast" (clang -Wold-style-cast).
@vstinner vstinner merged commit 941d705 into python:main Jun 2, 2022
@vstinner vstinner deleted the cast branch June 2, 2022 23:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0