New submission from hai shi <shihai1...@126.com>: Objects/unicodeobject.c: In function ‘PyUnicode_IsIdentifier’: ./Include/cpython/unicodeobject.h:396:38: warning: ‘data’ may be used uninitialized in this function [-Wmaybe-uninitialized] ((const Py_UCS4 *)(data))[(index)] \ ^ Objects/unicodeobject.c:12211:11: note: ‘data’ was declared here void *data; ^ In file included from ./Include/unicodeobject.h:1026:0, from ./Include/Python.h:97, from Objects/unicodeobject.c:42: ./Include/cpython/unicodeobject.h:391:6: warning: ‘kind’ may be used uninitialized in this function [-Wmaybe-uninitialized] ((Py_UCS4) \ ^ Objects/unicodeobject.c:12210:9: note: ‘kind’ was declared here int kind; ^
---------- components: Interpreter Core messages: 362048 nosy: shihai1991 priority: normal severity: normal status: open title: compile warning in unicodeobject.c type: compile error versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39646> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com