-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
gh-105059: Fix MSCV compiler warning on PyObject union #107239
Conversation
Use pragma to ignore the MSCV compiler warning on the PyObject nameless union.
@zooba: Would you be able to check if this change fix the compiler warning for you? These warnings: #105059 (comment) |
I managed to reproduce the issue with this #include <Python.h>
int main () {
return 0;
} I open the "Developer Command Prompt", go Python source code directory, and type Output on the main branch:
=> The Output with my PR:
=> The waning is gone! |
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
GH-107248 is a backport of this pull request to the 3.12 branch. |
…H-107239) Use pragma to ignore the MSCV compiler warning on the PyObject nameless union. (cherry picked from commit 1c8fe9b) Co-authored-by: Victor Stinner <[email protected]>
|
) (#107248) gh-105059: Fix MSCV compiler warning on PyObject union (GH-107239) Use pragma to ignore the MSCV compiler warning on the PyObject nameless union. (cherry picked from commit 1c8fe9b) Co-authored-by: Victor Stinner <[email protected]>
…107239) Use pragma to ignore the MSCV compiler warning on the PyObject nameless union.
Use pragma to ignore the MSCV compiler warning on the PyObject nameless union.