Message222766
VS2013 and beyond implement C99 math functions. Of interest to Python is the function round(). Python conditionally provides its own implementation of round() based on whether or not HAVE_ROUND is defined, but in no case is HAVE_ROUND ever defined. This leads to a huge spew of warnings when compiling with VS2013, and presumably it also leads to undefined behavior.
The attached patch conditionally defines HAVE_ROUND based on _MSC_VER, and additionally provides a VS2013 port in the form of a set of native VS2013 solution and project files.
This patch is based against tip of 2.7 release branch. The same fix may or may not still be needed in 3.x |
|
Date |
User |
Action |
Args |
2014-07-11 17:20:05 | Zachary.Turner | set | recipients:
+ Zachary.Turner, steve.dower |
2014-07-11 17:20:04 | Zachary.Turner | set | messageid: <1405099204.33.0.886354272035.issue21958@psf.upfronthosting.co.za> |
2014-07-11 17:20:04 | Zachary.Turner | link | issue21958 messages |
2014-07-11 17:20:04 | Zachary.Turner | create | |
|