[issue24973] CFLAGS for Visual Studio

2015-09-01 Thread Steve Dower
Steve Dower added the comment: All environment variables are promoted to MSBuild properties, so if you "set IncludeSSL=false" before building then it will show up (which is exactly how the proposed patch is getting CFLAGS in). Unfortunately, batch file argument parsing is pretty horrid. I'd be

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Zachary Ware
Zachary Ware added the comment: Steve Dower wrote: > I assume you're referring to #24974? It's somewhat related, yes, but I didn't intend for the two issues to be tightly coupled. Both should be dealt with independently of each other. > The default (for MSVC) is /fp:precise, which should allo

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Steve Dower
Steve Dower added the comment: I assume you're referring to #24974? The default (for MSVC) is /fp:precise, which should allow fenv_access, but maybe ICL uses /fp:fast by default for the extra speed? It's not a safe 3.5 change now, but compiling with /fp:fast by default and using #pragma float

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Zachary Ware
Changes by Zachary Ware : -- stage: -> patch review type: -> enhancement versions: +Python 3.6 ___ Python tracker ___ ___ Python-bug

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Zachary Ware
Zachary Ware added the comment: The real driver for this is having a nice easy way to pass '/fp:strict' to icl.exe (ICC's cl.exe). There may be other things that would be nice to be able to pass easily for customization. -- ___ Python tracker

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Steve Dower
Steve Dower added the comment: The patch should just set it once in pyproject.props, not in each project. Why is this necessary? Is there an option we should be exposing in some other way? -- ___ Python tracker _

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Chris Hogan
Changes by Chris Hogan : Added file: http://bugs.python.org/file40309/addcflags2_7.patch ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue24973] CFLAGS for Visual Studio

2015-08-31 Thread Chris Hogan
New submission from Chris Hogan: This Visual Studio project change appends to the compiler flags any values in the CFLAGS environment variable. -- components: Build, Windows files: addcflags3_5.patch keywords: patch messages: 249427 nosy: christopher.hogan, paul.moore, r.david.murray, s