[New-bugs-announce] [issue32563] -Werror=declaration-after-statement expat build failure on Python 3.5
Nick Coghlan
report at bugs.python.org
Tue Jan 16 00:14:41 EST 2018
New submission from Nick Coghlan <ncoghlan at gmail.com>:
A fresh Python 3.5 checkout failed to build the embedded expat XML library for me, due to the configure check that adds "-Werror=declaration-after-statement" to the compiler flags.
I'm guessing this was introduced via the expat code changes brought in for https://github.com/python/cpython/commit/f2492bb6aae061aea47e21fc7e56b7ab9bfdf543
That configure check is gone in 3.6 and 3.7, but it's still there in 3.5.
Locally, I've worked around the problem by removing the configure check, but I'm not sure that's the right answer, as I believe we still promise that 3.5 will build under C89.
----------
messages: 310037
nosy: larry, ncoghlan, vstinner
priority: low
severity: normal
stage: needs patch
status: open
title: -Werror=declaration-after-statement expat build failure on Python 3.5
type: compile error
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32563>
_______________________________________
More information about the New-bugs-announce
mailing list