Skip to content

bpo-30860: Move windows.h include out of internal/*.h. #3458

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

Conversation

ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently commented Sep 8, 2017

PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.

https://bugs.python.org/issue30860

@ericsnowcurrently
Copy link
Member Author

I'm guessing that the following line in PCbuild/pyproject.props is causing the trouble:

<_PydPreprocessorDefinition Condition="$(TargetExt) == '.pyd'">Py_BUILD_CORE_MODULE;</_PydPreprocessorDefinition>

I'll try a related workaround and see if that resolves the current issue.

@ericsnowcurrently
Copy link
Member Author

Yep, looks like that was it! \o/

@ericsnowcurrently ericsnowcurrently merged commit fc1bf87 into python:master Sep 12, 2017
@ericsnowcurrently ericsnowcurrently deleted the fix-windows-warnings branch September 12, 2017 01:30
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.

4 participants