Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-105059: Fix MSCV compiler warning on PyObject union#107239
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
vstinner commented Jul 25, 2023 • edited by bedevere-bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-bot
Uh oh!
There was an error while loading. Please reload this page.
Use pragma to ignore the MSCV compiler warning on the PyObject nameless union.
vstinner commented Jul 25, 2023
@zooba: Would you be able to check if this change fix the compiler warning for you? These warnings: #105059 (comment) |
vstinner commented Jul 25, 2023
I managed to reproduce the issue with this #include<Python.h>intmain (){return0}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! |
miss-islington commented Jul 25, 2023
Thanks @vstinner for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
bedevere-bot commented Jul 25, 2023
GH-107248 is a backport of this pull request to the 3.12 branch. |
bedevere-bot commented Jul 25, 2023
|
…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.