New submission from Jeffrey Armstrong: The code within Python/Python-ast.c does not currently conform to C89 standard. Within the function PyAST_obj2mod(), the array 'req_type' is initialized using runtime values, which is not allowed by the standard, causing building to fail on a C89 compiler.
This code is automatically generated by asdl_c.py. I've attached a patch which corrects the problem. Python/Python-ast.c will need to be regenerated if this patch is accepted. ---------- components: Interpreter Core files: asdl_c.py.trunk.patch keywords: patch messages: 210894 nosy: Jeffrey.Armstrong priority: normal severity: normal status: open title: Code generated by asdl_c.py not C89-compliant type: compile error versions: Python 3.3, Python 3.4 Added file: http://bugs.python.org/file34032/asdl_c.py.trunk.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20588> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com