◐ Shell
clean mode source ↗

Message 330494 - Python tracker

Objects/unicodeobject.c: In function ‘_PyUnicode_FastFill’:
Objects/unicodeobject.c:10126:24: warning: passing argument 2 of ‘unicode_fill’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
     unicode_fill(kind, data, fill_char, start, length);
                        ^~~~
Objects/unicodeobject.c:224:1: note: expected ‘void *’ but argument is of type ‘const void *’
 unicode_fill(enum PyUnicode_Kind kind, void *data, Py_UCS4 value,
 ^~~~~~~~~~~~
In file included from /usr/include/wchar.h:850:0,
                 from ./Include/unicodeobject.h:97,
                 from ./Include/Python.h:87,
                 from ./Modules/getpath.c:3: