[New-bugs-announce] [issue39646] compile warning in unicodeobject.c
hai shi
report at bugs.python.org
Sun Feb 16 02:51:44 EST 2020
New submission from hai shi <shihai1991 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue39646>
_______________________________________
More information about the New-bugs-announce
mailing list