We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
self
https://github.com/andrew-ld/LL-mtproto/blob/6ded3757830b1ef5a0c08a65849eb5b72bf9807c/ll_mtproto/client/client.py#L318
it seems that for gcc cpy_r_r8 could be undefined, cpy_r_r8 should be self reading the code generated by mypyc
python version: Python 3.11.6 mypy version: 1.7.1 gcc version: gcc version 13.2.1 20230801 (GCC)
andrew@arch ~/P/LL-mtproto-ok (master)> python3 -m mypyc --check-untyped-defs ll_mtproto/client/client.py running build_ext building 'll_mtproto.client.client__mypyc' extension creating build/temp.linux-x86_64-cpython-311/build/ll_mtproto creating build/temp.linux-x86_64-cpython-311/build/ll_mtproto/client gcc -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -ffat-lto-objects -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/python/src=/usr/src/debug/python -flto=auto -fPIC -I/home/andrew/.local/lib/python3.11/site-packages/mypyc/lib-rt -Ibuild -I/usr/include/python3.11 -c build/ll_mtproto/client/__native_client.c -o build/temp.linux-x86_64-cpython-311/build/ll_mtproto/client/__native_client.o -O3 -g1 -Werror -Wno-unused-function -Wno-unused-label -Wno-unreachable-code -Wno-unused-variable -Wno-unused-command-line-argument -Wno-unknown-warning-option -Wno-unused-but-set-variable -Wno-ignored-optimization-argument -Wno-cpp build/ll_mtproto/client/__native_client.c: In function ‘CPyDef__mtproto_write_loop_Client_gen_____mypyc_generator_helper__’: build/ll_mtproto/client/__native_client.c:28149:5: error: ‘cpy_r_r8’ may be used uninitialized [-Werror=maybe-uninitialized] 28149 | CPy_DecRef(cpy_r_r8); | ^~~~~~~~~~~~~~~~~~~~ build/ll_mtproto/client/__native_client.c:27535:15: note: ‘cpy_r_r8’ was declared here 27535 | PyObject *cpy_r_r8; | ^~~~~~~~ At top level: cc1: note: unrecognized command-line option ‘-Wno-ignored-optimization-argument’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-unused-command-line-argument’ may have been intended to silence earlier diagnostics cc1: all warnings being treated as errors error: command '/usr/bin/gcc' failed with exit code 1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/andrew-ld/LL-mtproto/blob/6ded3757830b1ef5a0c08a65849eb5b72bf9807c/ll_mtproto/client/client.py#L318
it seems that for gcc cpy_r_r8 could be undefined, cpy_r_r8 should be
self
reading the code generated by mypycpython version: Python 3.11.6
mypy version: 1.7.1
gcc version: gcc version 13.2.1 20230801 (GCC)
The text was updated successfully, but these errors were encountered: