Skip to content

Fix downcast compiler warning in Modules/_testcapi/vectorcall.c #95729

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
Aug 8, 2022

Conversation

erlend-aasland
Copy link
Contributor

No description provided.

@encukou
Copy link
Member

encukou commented Aug 8, 2022

Thanks!

@erlend-aasland erlend-aasland deleted the fixup-testcapi branch August 8, 2022 09:20
@erlend-aasland
Copy link
Contributor Author

erlend-aasland commented Aug 8, 2022

Thanks!

You're welcome :) BTW, there are still two unused variable warnings. Either we split the test up: set it up in C, perform the test in Python. Or, we add a pragma to avoid the compiler from emitting a warning in release mode. I'd prefer the first, even though it is a larger change.

@encukou
Copy link
Member

encukou commented Aug 8, 2022

Hm. It seems those only appeared after they were copied to another file, is that right? Is there some existing pragma or some kind of file-based supression?

But that's just me wondering. This should be fixed, I'll continue in #95783.

iritkatriel pushed a commit to iritkatriel/cpython that referenced this pull request Aug 11, 2022
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.

3 participants