classification
Title: Cannot compile with /fp:strict with MSVC
Type: compile error Stage: needs patch
Components: Build, Windows Versions: Python 3.6
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: mark.dickinson, nharold, paul.moore, pitrou, python-dev, r.david.murray, serhiy.storchaka, skrah, steve.dower, tim.golden, tim.peters, vstinner, zach.ware
Priority: low Keywords: easy, patch

Created on 2016-02-01 17:50 by zach.ware, last changed 2016-06-13 20:31 by nharold.

Files
File name Uploaded Description Edit
constants.patch nharold, 2016-06-13 20:31 review
Messages (2)
msg259336 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2016-02-01 17:50
As reported in msg258685 (issue25934), Python cannot be built with /fp:strict while using MSVC.  As Mark showed in msg258686 and msg258689, there are three calculations that could be replaced with suitable constants to allow /fp:strict to be used.

(Nosy list copied from #25934)
msg268471 - (view) Author: Nathan Harold (nharold) * Date: 2016-06-13 20:31
Here's a patch with those three replacements and related comments.
History
Date User Action Args
2016-06-13 20:31:54nharoldsetfiles: + constants.patch

nosy: + nharold
messages: + msg268471

keywords: + patch
2016-02-01 17:50:09zach.warecreate