Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: lvalue required as increment operand #10

Open
lancezhangsf opened this issue Dec 8, 2023 · 1 comment
Open

error: lvalue required as increment operand #10

lancezhangsf opened this issue Dec 8, 2023 · 1 comment

Comments

@lancezhangsf
Copy link

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
Copy link
Author

PYTHON VERSION 3.10.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant