[issue21411] Enable Treat Warning as Error on 32-bit Windows
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
nosy: loewis, tim.golden, zach.ware
title: Enable Treat Warning as Error on 32-bit Windows
versions: Python 3.4, Python 3.5
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list