[New-bugs-announce] [issue21411] Enable Treat Warning as Error on 32-bit Windows

Zachary Ware report at bugs.python.org
Thu May 1 22:30:16 CEST 2014


New submission from Zachary Ware:

Python 3.4 and 3.5 both compile without warnings on 32-bit Windows, so we should turn on Treat Warning as Error (/WX option to cl.exe).  Setting that property in pyproject.props sets it for all projects, and the setting does not affect "Makefile projects" so warnings from OpenSSL, Tcl, Tk, or Tix will not kill the build.  It will need to be explicitly disabled on 64-bit Windows; setting it in x64.props does the trick.

One small issue is that /WX does pick up the "no profile information" warning in the PGUpdate build.  I'm unsure whether we should turn off /WX in pgupdate.props, or just force PGUpdate builders to have run something for each PGI'd project.

----------
components: Build, Windows
messages: 217722
nosy: loewis, tim.golden, zach.ware
priority: low
severity: normal
status: open
title: Enable Treat Warning as Error on 32-bit Windows
type: enhancement
versions: Python 3.4, Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21411>
_______________________________________


More information about the New-bugs-announce mailing list