Message305705
/home/haypo/prog/python/3.5/Modules/expat/xmltok.c: In function 'utf8_toUtf8':
/home/haypo/prog/python/3.5/Modules/expat/xmltok.c:408:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
const char * const fromLimBefore = fromLim;
^~~~~
/home/haypo/prog/python/3.5/Modules/expat/xmltok.c:414:3: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
const ptrdiff_t bytesToCopy = fromLim - *fromP;
^~~~~
cc1: some warnings being treated as errors
*** WARNING: renaming "_elementtree" since importing it failed: PyCapsule_Import could not import module "pyexpat"
It's probably a regression caused by:
* Python 3.5: commit f2492bb6aae061aea47e21fc7e56b7ab9bfdf543
* Python 3.4: commit 86a713cb0c110b6798ca7f9e630fc511ee0a4028
I don't understand why the issue wasn't catched before. Maybe test_xml_etree is simply skipped if pyexpat compilation fails on Linux. Or buildbots and Travis CI uses ./configure --with-system-expat on Linux. |
|
Date |
User |
Action |
Args |
2017-11-07 01:09:44 | vstinner | set | recipients:
+ vstinner |
2017-11-07 01:09:44 | vstinner | set | messageid: <1510016984.72.0.213398074469.issue31964@psf.upfronthosting.co.za> |
2017-11-07 01:09:44 | vstinner | link | issue31964 messages |
2017-11-07 01:09:43 | vstinner | create | |
|