guma44 / ushuffle

A useful tool for shuffling biological sequences while preserving the k-let counts
13 stars 5 forks source link

error: lvalue required as increment operand #10

Open lancezhangsf opened 11 months ago

lancezhangsf commented 11 months ago

creating build/temp.linux-x86_64-cpython-310/src gcc -pthread -B /root/miniconda3/envs/eugene/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/eugene/include -fPIC -O2 -isystem /root/miniconda3/envs/eugene/include -fPIC -I/root/miniconda3/envs/eugene/include/python3.10 -c src/ushuffle.c -o build/temp.linux-x86_64-cpython-310/src/ushuffle.o gcc -pthread -B /root/miniconda3/envs/eugene/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/eugene/include -fPIC -O2 -isystem /root/miniconda3/envs/eugene/include -fPIC -I/root/miniconda3/envs/eugene/include/python3.10 -c ushuffle_cython.c -o build/temp.linux-x86_64-cpython-310/ushuffle_cython.o ushuffle_cython.c: In function ‘pyx_tp_dealloc_8ushuffle_Shuffler’: ushuffle_cython.c:2013:5: error: lvalue required as increment operand 2013 | ++Py_REFCNT(o); | ^~ ushuffle_cython.c:2015:5: error: lvalue required as decrement operand 2015 | --Py_REFCNT(o); | ^~ ushuffle_cython.c: In function ‘__Pyx_modinit_type_init_code’: ushuffle_cython.c:2280:32: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no member named ‘tp_print’ 2280 | pyx_type_8ushuffle_Shuffler.tp_print = 0; | ^ ushuffle_cython.c: In function ‘__Pyx_ParseOptionalKeywords’: ushuffle_cython.c:2709:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated [-Wdeprecated-declarations] 2709 | (PyUnicode_GET_SIZE(**name) != PyUnicode_GET_SIZE(key)) ? 1 : | ^

lancezhangsf commented 11 months ago

PYTHON VERSION 3.10.13