[Python-3000] Compiling Python 3.0 with VS 2008 Beta2

Christian Heimes lists at cheimes.de
Fri Nov 16 00:51:55 CET 2007


Today an user named weck has submitted three patches for VS 2005 support
[0]. In one of the replies Martin said that he likes to use the upcoming
VS2008 as new default compiler.

I've downloaded the Beta 2 of VS 2008 from [1] and played with it a bit.
 It comes with most tools required to build Python except of ml.exe
(Microsoft ASM) but I found [2]. Although it looks a bit old it does its
job for OpenSSL.

I had to fix a small problem in socketmodule.c [3] in order to compile
the socket module. The rest is just fine and the unit test suite is
running w/o an error.

The only new warning
C:\Programme\Microsoft SDKs\Windows\v6.0A\include\winnt.h(7127) :
warning C4005: 'WRITE_RESTRICTED' : macro redefinition
        c:\dev\python\py3k\Include\structmember.h(72) : see previous
definition of 'WRITE_RESTRICTED'
could probably be removed with renaming WRITE_RESTRICTED in structmember.h.

Should I check in my PCbuild9 directory? It's based on PCbuild8.

Christian

[0] http://bugs.python.org/issue1447 patch to make msvccompiler.py work
with vs 2005(MSVC8)
http://bugs.python.org/issue1448 Build Python with VS 2005(MSVC8)
http://bugs.python.org/issue1449 make msi  work the vs 2005(MSVC8)
[1] http://msdn2.microsoft.com/en-us/express/future/bb421473.aspx
[2] http://www.masm32.com/masmdl.htm
[3] http://svn.python.org/view?rev=59002&view=rev



More information about the Python-3000 mailing list