➜

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.

作者 jonny
收信人 jonny, loewis
日期 2010-11-22.17:32:01
SpamBayes Score 3.0841882e-05
Marked as misclassified 否
Message-id <1290447123.55.0.0819538910665.issue10504@psf.upfronthosting.co.za>
In-reply-to
内容
Python 2.7 will currently not compile with MinGW for the outlined reasons.

* There are several "#if defined(_MSC_VER)" macros which surround Windows specific code/preprocessor fragments. But _MSC_VER is only defined with the Visual Studio compiler, not with gcc/MinGW. So the MS_WINDOWS define needs to be used for Windows specific code (and _MSC_VER only for compiler specific code).

* When cross-compiling on Unix with gcc/MinGW, the windows.h header is only found if it's written all lowercase due to Unix filesystems being case-sensitive.

* strcasecmp is a already defined by gcc/MinGW, so it must not be used for defining another function. The patch thus renames a function currently named strcasecmp to my_strcasecmp.
历史
日期 用户 动作 参数
2010-11-22 17:32:03jonny修改recipients: + jonny, loewis
2010-11-22 17:32:03jonny修改messageid: <1290447123.55.0.0819538910665.issue10504@psf.upfronthosting.co.za>
2010-11-22 17:32:01jonny链接issue10504 messages
2010-11-22 17:32:01jonny创建