Zbyszek Jędrzejewski-Szmek added the comment:
Oh, for the record, the build failure:
building 'time' extension
gcc -pthread -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code
-DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes
-Werror=declaration-after-statement -I../Include -I. -IInclude
-I/usr/local/include -I/home/zbyszek/python/cpython/Include
-I/home/zbyszek/python/cpython/build -c
/home/zbyszek/python/cpython/Modules/timemodule.c -o
build/temp.linux-x86_64-3.6/home/zbyszek/python/cpython/Modules/timemodule.o
/home/zbyszek/python/cpython/Modules/timemodule.c: In function ‘time_strftime’:
/home/zbyszek/python/cpython/Modules/timemodule.c:656:9: error: unknown type
name ‘_Py_BEGIN_SUPPRESS_IPH’
_Py_BEGIN_SUPPRESS_IPH
^
/home/zbyszek/python/cpython/Modules/timemodule.c:656:9: error: ISO C90 forbids
mixed declarations and code [-Werror=declaration-after-statement]
/home/zbyszek/python/cpython/Modules/timemodule.c:658:9: error:
‘_Py_END_SUPPRESS_IPH’ undeclared (first use in this function)
_Py_END_SUPPRESS_IPH
^
/home/zbyszek/python/cpython/Modules/timemodule.c:658:9: note: each undeclared
identifier is reported only once for each function it appears in
/home/zbyszek/python/cpython/Modules/timemodule.c:662:9: error: expected ‘;’
before ‘if’
if (buflen > 0 || i >= 256 * fmtlen) {
^
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24664>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com