New submission from Nick Coghlan <ncogh...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue32563> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com