]> granicus.if.org Git - python/commit
Add /GX to 'compile_options'. This is definitely needed for C++ source;
authorGreg Ward <gward@python.net>
Thu, 31 Aug 2000 00:31:07 +0000 (00:31 +0000)
committerGreg Ward <gward@python.net>
Thu, 31 Aug 2000 00:31:07 +0000 (00:31 +0000)
commit8a98cd9e2566a2f68bb534ebe36f202aca2fd0e0
treeb7cca701f9e6e911989db43935f6733086f82250
parentcb853261bdfa32382aaa3f8f8ce7923059bdca3b
Add /GX to 'compile_options'.  This is definitely needed for C++ source;
according to the MS docs it enables exception-handling, and (according
to Alex Martelli <aleaxit@yahoo.com>) is needed to compile without
getting warnings from standard C++ library headers.  Apparently
it doesn't cause any problems with C code, so I haven't bothered
conditionalizing the use of /GX.
Lib/distutils/msvccompiler.py