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.

Author stutzbach
Recipients rpetrov, stutzbach, tarek
Date 2009-10-21.21:58:13
SpamBayes Score 7.65978e-05
Marked as misclassified No
Message-id <1256162295.35.0.960313329956.issue7182@psf.upfronthosting.co.za>
In-reply-to
Content
Sorry, I should have said the mingw32 compiler, which is contained in
cygwincompiler.py  The mingw32 compiler is a free compiler compatible
with MSVC.  Since it's used with the Windows version of python, there is
no configure script.

I noticed this when trying to build an extension module with "python
setup.py build -c mingw32", using the Windows (not cygwin) version of
python.  The extension module failed to compile because had a line like
this:
  assert(my_struct->debug_only_field);

where "debug_only_field" is only declared if Py_DEBUG is set.  When
NDEBUG is set, the assert disappears and the compile works as expected.
History
Date User Action Args
2009-10-21 21:58:15stutzbachsetrecipients: + stutzbach, tarek, rpetrov
2009-10-21 21:58:15stutzbachsetmessageid: <1256162295.35.0.960313329956.issue7182@psf.upfronthosting.co.za>
2009-10-21 21:58:13stutzbachlinkissue7182 messages
2009-10-21 21:58:13stutzbachcreate