[issue24974] ICC on Windows 8.1: _decimal fails to compile without /fp:strict

2015-08-31 Thread Zachary Ware
New submission from Zachary Ware: When building on Windows 8.1 with ICC 15.0 (backed by VS 2015 Community), the _decimal module fails to compile: ClCompile: mpdecimal.c ..\Modules\_decimal\libmpdec\mpdecimal.c(46): error : fenv_access cannot be enabled except in precise, source, double, and

[issue24974] ICC on Windows 8.1: _decimal fails to compile without /fp:strict

2015-08-31 Thread Steve Dower
Steve Dower added the comment: It should be defaulting to precise mode, but maybe ICC has a different default? I wrote on #24973: It's not a safe 3.5 change now, but compiling with /fp:fast by default and using #pragma float_control(precise, push)/#pragma float_control(pop) around that