Python/hamt.c: In function 'hamt_iterator_bitmap_next': Python/hamt.c:2184:5: warning: array subscript has type 'char' [-Wchar-subscripts] PyHamtNode_Bitmap *node = (PyHamtNode_Bitmap *)(iter->i_nodes[level]); ^ Python/hamt.c:2185:5: warning: array subscript has type 'char' [-Wchar-subscripts] Py_ssize_t pos = iter->i_pos[level]; ^ Python/hamt.c:2197:9: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_pos[level] = pos + 2; ^ Python/hamt.c:2202:9: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_pos[next_level] = 0; ^ Python/hamt.c:2203:9: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_nodes[next_level] = (PyHamtNode *) ^ Python/hamt.c:2211:5: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_pos[level] = pos + 2; ^ Python/hamt.c: In function 'hamt_iterator_collision_next': Python/hamt.c:2221:5: warning: array subscript has type 'char' [-Wchar-subscripts] PyHamtNode_Collision *node = (PyHamtNode_Collision *)(iter->i_nodes[level]); ^ Python/hamt.c:2222:5: warning: array subscript has type 'char' [-Wchar-subscripts] Py_ssize_t pos = iter->i_pos[level]; ^ Python/hamt.c:2235:5: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_pos[level] = pos + 2; ^ Python/hamt.c: In function 'hamt_iterator_array_next': Python/hamt.c:2245:5: warning: array subscript has type 'char' [-Wchar-subscripts] PyHamtNode_Array *node = (PyHamtNode_Array *)(iter->i_nodes[level]); ^ Python/hamt.c:2246:5: warning: array subscript has type 'char' [-Wchar-subscripts] Py_ssize_t pos = iter->i_pos[level]; ^ Python/hamt.c:2259:13: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_pos[level] = i + 1; ^ Python/hamt.c:2263:13: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_pos[next_level] = 0; ^ Python/hamt.c:2264:13: warning: array subscript has type 'char' [-Wchar-subscripts] iter->i_nodes[next_level] = node->a_array[i]; ^ Python/hamt.c: In function 'hamt_iterator_next': Python/hamt.c:2289:5: warning: array subscript has type 'char' [-Wchar-subscripts] PyHamtNode *current = iter->i_nodes[iter->i_level]; ^ Python/initconfig.c: In function 'init_dump_ascii_wstr': Python/initconfig.c:2599:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'wchar_t' [-Wformat=] PySys_WriteStderr("\\x%02x", ch); ^ Python/initconfig.c:2603:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'wchar_t' [-Wformat=] PySys_WriteStderr("\\U%08x", ch); ^ Python/initconfig.c:2607:13: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'wchar_t' [-Wformat=] PySys_WriteStderr("\\u%04x", ch);Modules/gcmodule.c: In function 'collect.constprop': Modules/gcmodule.c:126:50: warning: array subscript is above array bounds [-Warray-bounds] #define GEN_HEAD(state, n) (&(state)->generations[n].head) ^ Modules/gcmodule.c:1036:43: note: in expansion of macro 'GEN_HEAD' gc_list_merge(GEN_HEAD(state, i), GEN_HEAD(state, generation)); ^ Modules/gcmodule.c:126:50: warning: array subscript is above array bounds [-Warray-bounds] #define GEN_HEAD(state, n) (&(state)->generations[n].head) ^ Modules/gcmodule.c:1036:43: note: in expansion of macro 'GEN_HEAD' gc_list_merge(GEN_HEAD(state, i), GEN_HEAD(state, generation)); ^ Modules/gcmodule.c:126:50: warning: array subscript is above array bounds [-Warray-bounds] #define GEN_HEAD(state, n) (&(state)->generations[n].head) ^ Modules/gcmodule.c:1036:43: note: in expansion of macro 'GEN_HEAD' gc_list_merge(GEN_HEAD(state, i), GEN_HEAD(state, generation)); ^ /export/home/pi/Python3/Modules/_testcapimodule.c: In function 'PyInit__testcapi': /export/home/pi/Python3/Modules/_testcapimodule.c:6233:5: warning: 'tp_print' is deprecated (declared at ./Include/cpython/object.h:260) [-Wdeprecated-declarations] MyList_Type.tp_print = 0; ^ /export/home/pi/Python3/Modules/_testcapimodule.c: In function 'test_buildvalue_issue38913': /export/home/pi/Python3/Modules/_testcapimodule.c:6362:15: warning: variable 'res' set but not used [-Wunused-but-set-variable] PyObject *res; ^ /export/home/pi/Python3/Modules/_cursesmodule.c: In function '_curses_putp_impl': /export/home/pi/Python3/Modules/_cursesmodule.c:3677:34: warning: passing argument 1 of 'putp' discards 'const' qualifier from pointer target type return PyCursesCheckERR(putp(string), "putp"); ^ In file included from /export/home/pi/Python3/Modules/_cursesmodule.c:118:0: /usr/include/term.h:1205:38: note: expected 'char *' but argument is of type 'const char *' tputs(char *, int, int (*)(char)), putp(char *), ^ /export/home/pi/Python3/Modules/socketmodule.c: In function 'socket_sethostname': /export/home/pi/Python3/Modules/socketmodule.c:5430:9: warning: implicit declaration of function 'sethostname' [-Wimplicit-function-declaration] res = sethostname(buf.buf, buf.len); ^ In file included from /export/home/pi/Python3/Modules/_sha3/sha3module.c:113:0: /export/home/pi/Python3/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c: In function '_PySHA3_KeccakP1600_ExtractAndAddLanes': /export/home/pi/Python3/Modules/_sha3/kcp/KeccakP-1600-inplace32BI.c:421:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] ((UINT32*)(output+lanePosition*8))[0] = ((UINT32*)(input+lanePosition*8))[0] ^ (*(const UINT32*)(laneAsBytes+0)); ^ In file included from /export/home/pi/Python3/Modules/expat/expat_config.h:8:0, from /export/home/pi/Python3/Modules/expat/xmlparse.c:64: ./pyconfig.h:1572:0: warning: "_FILE_OFFSET_BITS" redefined #define _FILE_OFFSET_BITS 64 ^ In file included from /usr/include/iso/string_iso.h:30:0, from /usr/include/string.h:18, from /export/home/pi/Python3/Modules/expat/xmlparse.c:43: /opt/csw/lib/gcc/sparc-sun-solaris2.10/4.9.2/include-fixed/sys/feature_tests.h:196:0: note: this is the location of the previous definition #define _FILE_OFFSET_BITS 32 ^ *** WARNING: renaming "_tkinter" since importing it failed: ld.so.1: python: fatal: relocation error: file build/lib.solaris-2.10-sun4u.32bit-3.8/_tkinter.so: symbol Tcl_DeleteCommand: referenced symbol not found