* Package: dev-tcltk/tktable-2.10:0 * Repository: gentoo * Maintainer: tcltk@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Tktable2.10.tar.gz to /var/tmp/portage/dev-tcltk/tktable-2.10/work >>> Source unpacked in /var/tmp/portage/dev-tcltk/tktable-2.10/work >>> Preparing source in /var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10 ... >>> Source prepared. * Clang 16 testing: this build is using a /etc/portage/bashrc hook! >>> Configuring source in /var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for correct TEA configuration... ok (TEA 3.7) checking for Tcl configuration... found /usr/lib64/tclConfig.sh checking for existence of /usr/lib64/tclConfig.sh... loading checking for Tk configuration... found /usr/lib64/tkConfig.sh checking for existence of /usr/lib64/tkConfig.sh... loading configure: --exec-prefix defaulting to TCL_EXEC_PREFIX /usr checking for x86_64-pc-linux-gnu-gcc... clang checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ANSI C... none needed checking how to run the C preprocessor... clang -E checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking if the compiler understands -pipe... yes checking whether byte ordering is bigendian... no checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking net/errno.h usability... no checking net/errno.h presence... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for Tcl public headers... /usr/include checking for Tk public headers... /usr/include checking for X... libraries , headers checking for X11 header files... checking for pthread_mutex_init in -lpthread... yes checking for building with threads... yes (default) configure: WARNING: --enable-threads requested, but building against a Tcl that is NOT thread-enabled. This is an OK configuration that will also run in a thread-enabled core. checking how to build libraries... shared checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking if compiler supports visibility "hidden"... yes checking if rpath support is requested... yes checking system version... Linux-6.0.8 checking for dlopen in -ldl... yes checking for ar... ar checking for required early compiler flags... _LARGEFILE64_SOURCE checking for 64-bit integer type... using long checking for build with symbols... no checking for tclsh... /usr/bin/tclsh8.6 checking for wish... /usr/bin/wish8.6 configure: creating ./config.status config.status: creating Makefile >>> Source configured. '/var/tmp/portage/dev-tcltk/tktable-2.10/temp/clang16-errors.log' -> '/var/tmp/clang/dev-tcltk/tktable-2.10/clang16-errors.log' '/var/tmp/portage/dev-tcltk/tktable-2.10/temp/clang16-safe.log' -> '/var/tmp/clang/dev-tcltk/tktable-2.10/clang16-safe.log' >>> Compiling source in /var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10 ... make -j4 clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableCmds.c` -o tkTableCmds.o clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableCellSort.c` -o tkTableCellSort.o clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableCell.c` -o tkTableCell.o clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableUtil.c` -o tkTableUtil.o ./generic/tkTableCellSort.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableSortCompareProc(first, second) ^ ./generic/tkTableCellSort.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTableCmds.c:186:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] posn = ((int) Tcl_GetHashKey(hashTablePtr, entryPtr)) + offset; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTableCmds.c:187:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] value = (int) Tcl_GetHashValue(entryPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTableCmds.c:200:45./generic/tkTableCellSort.c:: 140warning: :cast1 :to warning: 'char *'a fromfunction smallerdefinition integerwithout atype 'int'prototype [-Wint-to-pointer-cast]is deprecated in all versions of entryPtr = Tcl_FindHashEntry(hashTablePtr, (char *) posn);C ^~~~~~~~~~~~~and is not /usr/include/tcl.hsupported: 2564in: 53C2x: note: [-Wdeprecated-non-prototype]expanded from macro 'Tcl_FindHashEntry' DictionaryCompare(left, right) ^ (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableCmds.c:203:6: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] (int) Tcl_GetHashValue(entryPtr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTableCmds.c:220:46: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(hashTablePtr, (char *) posn); ^~~~~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableCmds.c:226:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) posn, &dummy); ^~~~~~~~~~~~~ /usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTableCmds.c:227:30: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Tcl_SetHashValue(entryPtr, (ClientData) value); ^~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ ./generic/tkTableCellSort.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTableCellSort.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MergeLists(leftPtr, rightPtr) ^ ./generic/tkTableUtil.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableOptionBdSet(clientData, interp, tkwin, value, widgRec, offset) ^ ./generic/tkTableCellSort.c:254:1: warning: a function definition without a prototype is deprecated in all versions ./generic/tkTableUtil.cof: 83C: 16and: iswarning: castnot tosupported smallerin integerC2x type [-Wdeprecated-non-prototype]'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] int type = (int) clientData; ^~~~~~~~~~~~~~~~ ./generic/tkTableCellSort.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] MergeSort(headPtr) ^ ./generic/tkTableCellSort.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTableCmds.c:416:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) row, &dummy); ^~~~~~~~~~~~ /usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTableCmds.c:419:30: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Tcl_SetHashValue(entryPtr, (ClientData) MIN(0,-value)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ ./generic/tkTableCmds.c:430:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) col, &dummy); ^~~~~~~~~~~~ /usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTableCmds.c:433:30: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Tcl_SetHashValue(entryPtr, (ClientData) MIN(0,-value)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ ./generic/tkTableUtil.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableOptionBdGet(clientData, tkwin, widgRec, offset, freeProcPtr) ^ ./generic/tkTableUtil.c:182:25: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] register int type = (int) clientData; ^~~~~~~~~~~~~~~~ ./generic/tkTableCmds.c:552:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) row))) { ^~~~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableCmds.c:559:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) row-tablePtr->row... ^~~~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableCmds.c:570:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) col))) { ^~~~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableCmds.c:593:58: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (entryPtr = Tcl_FindHashEntry(tablePtr->colWidths, (char *) ^~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableCell.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableGetIndex(tablePtr, str, row_p, col_p) ^ 8 warnings generated. 4 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTableWin.c` -o tkTableWin.o clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/usr/lib64/Tktable2.10\" -I. -I"./generic" -I"/usr/include" -I"/usr/include" -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkTable.c` -o tkTable.o ./generic/tkTable.c:164:52: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption drawOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:166:57: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption resizeTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:168:54: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption stretchOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:170:54: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption selTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:172:56: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption stateTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:174:53: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') with an expression of type 'char *(ClientData, Tk_Window, char *, int, Tcl_FreeProc **)' (aka 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption bdOpt = { TableOptionBdSet, TableOptionBdGet, ^~~~~~~~~~~~~~~~ ./generic/tkTable.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StringifyObjects(objc, objv) ^ ./generic/tkTable.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tk_TableObjCmd(clientData, interp, objc, objv) ^ ./generic/tkTable.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableWidgetObjCmd(clientData, interp, objc, objv) ^ ./generic/tkTable.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableConfigure(interp, tablePtr, objc, objv, flags, forceUpdate) ^ ./generic/tkTable.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableWorldChanged(instanceData) ^ ./generic/tkTable.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableEventProc(clientData, eventPtr) ^ ./generic/tkTable.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:1967:51: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_CreateHashEntry(colTagsCache, (char *)ucol, &new); ^~~~~~~~~~~~ /usr/include/tcl.h:2567:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTable.c:2659:10: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] count = (int) Tcl_GetHashValue(entryPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTable.c:2671:33: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Tcl_SetHashValue(entryPtr, (ClientData) count); ^~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2550:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ ./generic/tkTable.c:2716:5: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Tcl_SetHashValue(entryPtr, tablePtr->flashTime); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/tcl.h:2550:55: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~~~~~~~~~~~~~~~~ ./generic/tkTable.c:2810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableVarProc(clientData, interp, name, index, flags) ^ ./generic/tkTable.c:2810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTableWin.c:72:58: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *'./generic/tkTable.c :(aka2943 :'const1 :char warning: *(*)(voida *,function structdefinition withoutTk_Window_ a*, prototypechar is*, deprecatedint, invoid all(**)(char versions*))') ofwith Can andexpression isof nottype supported 'charin *(ClientData,C2x Tk_Window, [-Wdeprecated-non-prototype]char *, int, Tcl_FreeProc **)'TableGeometryRequest(tablePtr) (aka^ 'char *(void *, struct Tk_Window_ *, char *, int, void (**)(char *))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption stickyOption = { StickyParseProc, StickyPrintProc, ^~~~~~~~~~~~~~~ ./generic/tkTableWin.c:74:56: error: incompatible function pointer types initializing 'Tk_OptionPrintProc *' (aka 'const char *(*)(void *, struct Tk_Window_ *, char *, int, void./generic/tkTable.c :(**)(char2981 :*))')1 :with warning: ana expressionfunction ofdefinition typewithout a'char prototype*(ClientData, Tk_Window,is chardeprecated *,in int,all Tcl_FreeProcversions **)'of (akaC 'charand is*(void not*, supportedstruct inTk_Window_ C2x*, char[-Wdeprecated-non-prototype] *, int, void TableAdjustActive(tablePtr)(**)(char ^*))') [-Werror,-Wincompatible-function-pointer-types] static Tk_CustomOption tagBdOpt = { TableOptionBdSet, TableOptionBdGet, ^~~~~~~~~~~~~~~~ ./generic/tkTableWin.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x ./generic/tkTable.c[-Wdeprecated-non-prototype]: 3115:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] StickyPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) ^ entryPtr = Tcl_FindHashEntry(tablePtr->colWidths, (char *) i); ^~~~~~~~~~ /usr/include/tcl.h:2564:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTable.c:3121:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] value = (int) Tcl_GetHashValue(entryPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTable.c:3209:57: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] ./generic/tkTableWin.c:121:1: entryPtr = Tcl_FindHashEntry(tablePtr->rowHeights, (char *) i);warning: a ^~~~~~~~~~ function /usr/include/tcl.hdefinition: 2564without: 53a: prototypenote: expanded isfrom deprecatedmacro in'Tcl_FindHashEntry' all versions of (*((tablePtr)->findProc))(tablePtr, (const char *)(key))C ^~~ and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:3215:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] value = (int) Tcl_GetHashValue(entryPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTableWin.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] StickyParseProc(clientData, interp, tkwin, value, widgRec, offset) ^ ./generic/tkTableWin.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:3577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableFetchSelection(clientData, offset, buffer, maxBytes) ^ ./generic/tkTableWin.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinRequestProc(clientData, tkwin) ^ ./generic/tkTableWin.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:3577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:3719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableLostSelection(clientData) ^ ./generic/tkTableWin.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in ./generic/tkTable.cC2x: 3758 :[-Wdeprecated-non-prototype]1 : warning: a function definition without a prototype EmbWinLostSlaveProc(clientData, tkwin)is deprecated^ in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableRestrictProc(serial, eventPtr) ^ ./generic/tkTable.c:3763:26: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] ((eventPtr->xany.serial-(unsigned int)serial) > 0)) { ^~~~~~~~~~~~~~~~~~~~ ./generic/tkTableWin.c:490:1: warning: a function definition without a prototype is deprecated in all ./generic/tkTable.cversions: 3758of: 1C: andwarning: ais functionnot definitionsupported withoutin aC2x prototype [-Wdeprecated-non-prototype]is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableRestrictProc(serial, eventPtr) ^ ./generic/tkTable.c:3790:1: warning: a function./generic/tkTableWin.c :definition523 :without1 a: prototypewarning: a isfunction deprecateddefinition inwithout alla versionsprototype of isC deprecatedand inis allnot versionssupported ofin CC2x and [-Wdeprecated-non-prototype]is not supported TableValidateChange(tablePtr, r, c, old, new, index)in ^C2x [-Wdeprecated-non-prototype] EmbWinStructureProc(clientData, eventPtr) ^ ./generic/tkTableWin.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ./generic/tkTable.c:3885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ExpandPercents(tablePtr, before, r, c, old, new, index, dsPtr, cmdType) ^ ./generic/tkTableWin.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinConfigure(tablePtr, ewPtr, objc, objv) ^ ./generic/tkTable.c:4008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Tktable_Init(interp) ^ In file included from ./generic/tkTable.c:4012: ./generic/tkTableInitScript.h:60:11: fatal error: 'tkTable.tcl.h' file not found # include "tkTable.tcl.h" ^~~~~~~~~~~~~~~ ./generic/tkTableWin.c:608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 33 warnings and 7 errors generated. 12 warnings and 2 errors generated. make: *** [Makefile:304: tkTable.o] Error 1 shuffle=1379298723 make: *** Waiting for unfinished jobs.... make: *** [Makefile:304: tkTableWin.o] Error 1 shuffle=1379298723 15 warnings generated. 1 warning generated. * ERROR: dev-tcltk/tktable-2.10::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-tcltk/tktable-2.10::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tcltk/tktable-2.10::gentoo'`. * The complete build log is located at '/var/log/portage/dev-tcltk:tktable-2.10:20221111-103842.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-tcltk/tktable-2.10/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tcltk/tktable-2.10/temp/environment'. * Working directory: '/var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10' * S: '/var/tmp/portage/dev-tcltk/tktable-2.10/work/Tktable2.10'