[issue10504] Trivial mingw compile fixes

Johann Hanne report at bugs.python.org
Tue Nov 23 07:53:50 CET 2010

Johann Hanne <python at jf.hanne.name> added the comment:

I've revised the patch to use "defined(_MSC_VER) || defined(__MINGW32__)" as suggested.

And no, it does not solve all mingw compilition issues, but most of them. I've tried to only address the most obvious ones, which are *very* unlikely to break anything.

I have Python 2.7 completely compiling with MinGW (and even major parts of pywin32), but that requires some small changes to MinGW, too. I've also already started to submitting patches to the MinGW project.

Please give me some starting point by applying these patches. I don't care if it's for 2.7.1 or 2.7.2. I'll try hard to get *everything* fixed, but we have to start somewhere.

Added file: http://bugs.python.org/file19782/Python-2.7.diff

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list