This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Win32 Platform SDK conflict
Type: compile error Stage:
Components: Interpreter Core Versions: Python 2.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: aluky, christian.heimes
Priority: normal Keywords:

Created on 2007-12-03 10:24 by aluky, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg58113 - (view) Author: Ad Aluky (aluky) Date: 2007-12-03 10:24
The WRITE_RESTRICTED macro defined in structmember.h (value 4) conflicts
with the WRITE_RESTRICTED macro defined in winnt.h (value 8) in the
newer Win32 Platform SDK (such as the one included in Visual Studio 2008).

It generates a warning and could potentially be dangerous as the two
values are different.
msg58114 - (view) Author: Ad Aluky (aluky) Date: 2007-12-03 10:29
Sorry, I just saw that this was fixed on head :(
msg58116 - (view) Author: Christian Heimes (christian.heimes) * (Python committer) Date: 2007-12-03 12:30
Thanks for the report. I prefer several false alarms over one bug
slipping throught! :)

You are right with your concern. The two values *are* different. I've
changed the name to PY_WRITE_RESTRICTED. The other names should also be
prefixed with PY_ to avoid future name clashes.

By the way you might be interested in the head. I've created a new
PCbuild9 for VS 2008 Express to Professional Edition with support for
AMD x64 and PGO.
History
Date User Action Args
2022-04-11 14:56:28adminsetgithub: 45887
2007-12-03 12:30:26christian.heimessetstatus: open -> closed
resolution: out of date
messages: + msg58116
nosy: + christian.heimes
2007-12-03 10:29:08alukysetmessages: + msg58114
2007-12-03 10:24:56alukycreate