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 Segev Finer
Recipients Segev Finer, dstufft, eric.araujo, paul.moore, steve.dower, terry.reedy, tim.golden, vstinner, zach.ware
Date 2017-07-22.13:51:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1500731492.23.0.234120839804.issue27790@psf.upfronthosting.co.za>
In-reply-to
Content
We are getting those warnings because distutils builds extension modules without /GL (https://msdn.microsoft.com/en-us/library/0zza0de8.aspx) but with /LTCG (https://msdn.microsoft.com/en-us/library/xbf3tbeh.aspx). We should either add /GL to truly enable whole program optimizations/link-time code generation or remove it.

It is added in https://github.com/python/cpython/blob/896145d9d266ee2758cfcd7691238cbc1f9e1ab8/Lib/distutils/_msvccompiler.py#L233-L241.
History
Date User Action Args
2017-07-22 13:51:32Segev Finersetrecipients: + Segev Finer, terry.reedy, paul.moore, vstinner, tim.golden, eric.araujo, zach.ware, steve.dower, dstufft
2017-07-22 13:51:32Segev Finersetmessageid: <1500731492.23.0.234120839804.issue27790@psf.upfronthosting.co.za>
2017-07-22 13:51:32Segev Finerlinkissue27790 messages
2017-07-22 13:51:31Segev Finercreate