building '_tkinter' extension
gcc -fPIC -fno-strict-aliasing -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/tmp/makepkg/python2/src=/usr/src/debug/python2 -flto=auto -DNDEBUG -march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/tmp/makepkg/python2/src=/usr/src/debug/python2 -flto=auto -DWITH_APPINIT=1 -I/usr/X11/include -I. -IInclude -I./Include -I/usr/include/openssl-1.1 -I/usr/local/include -I/tmp/makepkg/python2/src/Python-2.7.18/Include -I/tmp/makepkg/python2/src/Python-2.7.18 -c /tmp/makepkg/python2/src/Python-2.7.18/Modules/_tkinter.c -o build/temp.linux-x86_64-2.7/tmp/makepkg/python2/src/Python-2.7.18/Modules/_tkinter.o
/tmp/makepkg/python2/src/Python-2.7.18/Modules/_tkinter.c: En la función ‘AsObj’:
/tmp/makepkg/python2/src/Python-2.7.18/Modules/_tkinter.c:1178:38: error: se pasa el argumento 1 de ‘Tcl_NewUnicodeObj’ desde un tipo de puntero incompatible [-Wincompatible-pointer-types]
1178 | return Tcl_NewUnicodeObj(inbuf, size);
| ^~~~~
| |
| Py_UNICODE * {también conocido como int *}
En el fichero incluido desde /usr/include/tcl.h:2421,
desde /tmp/makepkg/python2/src/Python-2.7.18/Modules/_tkinter.c:70:
/usr/include/tclDecls.h:1102:62: nota: se esperaba ‘const Tcl_UniChar *’ {también conocido como ‘const short unsigned int *’} pero el argumento es de tipo ‘Py_UNICODE *’ {también conocido como ‘int *’}
1102 | EXTERN Tcl_Obj * Tcl_NewUnicodeObj(const Tcl_UniChar *unicode,
|
this is ok?
Pinned Comments