Message339152
While building python 3.5.7 for https://github.com/deadsnakes
../Modules/_pickle.c: In function 'PyMemoTable_Copy':
../Modules/_pickle.c:677:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < self->mt_allocated; i++) {
^
../Modules/_pickle.c:677:5: note: use option -std=c99 or -std=gnu99 to compile your code
../Modules/_pickle.c: In function '_pickle_PicklerMemoProxy_copy_impl':
../Modules/_pickle.c:4207:5: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < memo->mt_allocated; ++i) {
^
../Modules/_pickle.c: In function 'Unpickler_set_memo':
../Modules/_pickle.c:6794:9: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < new_memo_size; i++) {
^
../Modules/_pickle.c:6842:9: error: 'for' loop initial declarations are only allowed in C99 mode
for (size_t i = new_memo_size - 1; i != SIZE_MAX; i--) {
^
make[1]: *** [Modules/_pickle.o] Error 1
This cherry-pick caused the regression: https://github.com/python/cpython/commit/ef33dd6036aafbd3f06c1d56e2b1a81dae3da63c |
|
Date |
User |
Action |
Args |
2019-03-29 21:24:56 | Anthony Sottile | set | recipients:
+ Anthony Sottile |
2019-03-29 21:24:56 | Anthony Sottile | set | messageid: <1553894696.91.0.352723977034.issue36478@roundup.psfhosted.org> |
2019-03-29 21:24:56 | Anthony Sottile | link | issue36478 messages |
2019-03-29 21:24:55 | Anthony Sottile | create | |
|