bpo-30860: Move windows.h include out of internal/*.h. by ericsnowcurrently · Pull Request #3458 · python/cpython
-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
Merged
merged 3 commits into
Merged
Conversation
Member
PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.
ericsnowcurrently
requested a review
from a team
the-knights-who-say-ni
added
the
CLA signed
label
bedevere-bot
added
the
awaiting merge
label
ericsnowcurrently
added
the
skip news
label
ericsnowcurrently
force-pushed
the
fix-windows-warnings
branch
from
2fc4a8c to
aef7596
Compare
ericsnowcurrently
commented
Sep 12, 2017
ericsnowcurrently commented
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
commented
Sep 12, 2017
ericsnowcurrently commented
Member Author
Yep, looks like that was it! \o/
ericsnowcurrently
merged commit
fc1bf87
into
python:master
ericsnowcurrently
deleted the
fix-windows-warnings
branch
Mariatta
removed
the
awaiting merge
label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment