=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for tktable-2.10nb10 sed -e '/^\#/d' -e '/^$/d' -e 's/\\/\\\\/g' -e 's/\"/\\"/g' -e 's/^/"/' -e 's/$/\\n"/' < `echo ./library/tkTable.tcl` > 'tkTable.tcl.h' || { rm -f tkTable.tcl.h; exit 1; } clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTable.c` -o tkTable.o ./generic/tkTable.c:164:52: warning: 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 *))') [-Wincompatible-function-pointer-types] static Tk_CustomOption drawOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:166:57: warning: 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 *))') [-Wincompatible-function-pointer-types] static Tk_CustomOption resizeTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:168:54: warning: 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 *))') [-Wincompatible-function-pointer-types] static Tk_CustomOption stretchOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:170:54: warning: 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 *))') [-Wincompatible-function-pointer-types] static Tk_CustomOption selTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:172:56: warning: 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 *))') [-Wincompatible-function-pointer-types] static Tk_CustomOption stateTypeOpt = { Cmd_OptionSet, Cmd_OptionGet, ^~~~~~~~~~~~~ ./generic/tkTable.c:174:53: warning: 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 *))') [-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: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: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: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: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: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:1967:51: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_CreateHashEntry(colTagsCache, (char *)ucol, &new); ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570: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); ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2553: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); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2553: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:2943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableGeometryRequest(tablePtr) ^ ./generic/tkTable.c:2981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableAdjustActive(tablePtr) ^ ./generic/tkTable.c:3115:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(tablePtr->colWidths, (char *) i); ^~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567: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] entryPtr = Tcl_FindHashEntry(tablePtr->rowHeights, (char *) i); ^~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./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/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/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/tkTable.c:3758:1: warning: a function definition without a prototype 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/tkTable.c:3790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableValidateChange(tablePtr, r, c, old, new, index) ^ ./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/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) ^ ./generic/tkTable.c:4053: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_SafeInit(interp) ^ 31 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableWin.c` -o tkTableWin.o ./generic/tkTableWin.c:72:58: warning: 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 *))') [-Wincompatible-function-pointer-types] static Tk_CustomOption stickyOption = { StickyParseProc, StickyPrintProc, ^~~~~~~~~~~~~~~ ./generic/tkTableWin.c:74:56: warning: 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 *))') [-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 [-Wdeprecated-non-prototype] StickyPrintProc(clientData, tkwin, widgRec, offset, freeProcPtr) ^ ./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: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:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] EmbWinLostSlaveProc(clientData, tkwin) ^ ./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] EmbWinStructureProc(clientData, eventPtr) ^ ./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) ^ 8 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableTag.c` -o tkTableTag.o ./generic/tkTableTag.c:47:18: warning: 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 *))') [-Wincompatible-function-pointer-types] { Cmd_OptionSet, Cmd_OptionGet, (ClientData) (&tagState_vals) }; ^~~~~~~~~~~~~ ./generic/tkTableTag.c:49:21: warning: 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 *))') [-Wincompatible-function-pointer-types] { TableOptionBdSet, TableOptionBdGet, (ClientData) BD_TABLE_TAG }; ^~~~~~~~~~~~~~~~ ./generic/tkTableTag.c:51:25: warning: 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 *))') [-Wincompatible-function-pointer-types] { TableOptionReliefSet, TableOptionReliefGet, (ClientData) NULL }; ^~~~~~~~~~~~~~~~~~~~ ./generic/tkTableTag.c:215:2: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] panic("bad mojo in TableResetTag"); ^ ./generic/tkTableTag.c:272:2: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] panic("bad mojo in TableMergeTag"); ^ ./generic/tkTableTag.c:435:6: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] panic("invalid border value '%d'\n", tagPtr->borders); ^ ./generic/tkTableTag.c:578:29: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] : tablePtr->colStyles, (char *) cell); ^~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableTag.c:874:5: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *)value, &newEntry); ^~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTableTag.c:907:5: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] (int) Tcl_GetHashKey(hashTblPtr, scanPtr)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./generic/tkTableTag.c:929:48: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(hashTblPtr, (char *)value); ^~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableTag.c:940:8: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) value, &newEntry); ^~~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTableTag.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableOptionReliefSet(clientData, interp, tkwin, value, widgRec, offset) ^ ./generic/tkTableTag.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableOptionReliefGet(clientData, tkwin, widgRec, offset, freeProcPtr) ^ 13 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableEdit.c` -o tkTableEdit.o ./generic/tkTableEdit.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableDeleteChars(tablePtr, index, count) ^ ./generic/tkTableEdit.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableInsertChars(tablePtr, index, value) ^ ./generic/tkTableEdit.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] TableModifyRC(tablePtr, doRows, flags, tagTblPtr, dimTblPtr, ^ ./generic/tkTableEdit.c:608:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(tagTblPtr, (char *)from); ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableEdit.c:612:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(dimTblPtr, (char *)from-offset); ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableEdit.c:617:46: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(tagTblPtr, (char *)to); ^~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableEdit.c:619:43: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] newPtr = Tcl_CreateHashEntry(tagTblPtr, (char *)from, &new); ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ ./generic/tkTableEdit.c:623:46: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(dimTblPtr, (char *)to-offset); ^~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ ./generic/tkTableEdit.c:625:43: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] newPtr = Tcl_CreateHashEntry(dimTblPtr, (char *)from-offset, ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570:55: note: expanded from macro 'Tcl_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, (const char *)(key), newPtr) ^~~ 9 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableCell.c` -o tkTableCell.o ./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) ^ 1 warning generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableCellSort.c` -o tkTableCellSort.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: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] DictionaryCompare(left, right) ^ ./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/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) ^ 4 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableCmds.c` -o tkTableCmds.o ./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: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] entryPtr = Tcl_FindHashEntry(hashTablePtr, (char *) posn); ^~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((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); ^~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567: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); ^~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570: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); ^~~~~~~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2553:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ ./generic/tkTableCmds.c:416:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) row, &dummy); ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570: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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2553: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); ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2570: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)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2553:69: note: expanded from macro 'Tcl_SetHashValue' #define Tcl_SetHashValue(h, value) ((h)->clientData = (ClientData) (value)) ^~~~~ ./generic/tkTableCmds.c:552:12: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] (char *) row))) { ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567: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->rowOffset))) { ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567: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))) { ^~~~~~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567: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 *) ^~~~~~~~ /Users/pbulk/build/x11/tktable/work/.buildlink/include/tcl.h:2567:53: note: expanded from macro 'Tcl_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, (const char *)(key)) ^~~ 15 warnings generated. clang -DPACKAGE_NAME=\"Tktable\" -DPACKAGE_TARNAME=\"tktable\" -DPACKAGE_VERSION=\"2.10\" -DPACKAGE_STRING=\"Tktable\ 2.10\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -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 -DNO_VALUES_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\"\)\)\) -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -DTBL_COMMAND=\"table\" -DTBL_RUNTIME=\"tkTable.tcl\" -DTBL_RUNTIME_DIR=\"/opt/pkg/lib/Tktable2.10\" -I. -I"./generic" -I"/opt/pkg/include" -I"/opt/pkg/include" -I/opt/pkg/include -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -c `echo ./generic/tkTableUtil.c` -o tkTableUtil.o ./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/tkTableUtil.c:83:16: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] int type = (int) clientData; ^~~~~~~~~~~~~~~~ ./generic/tkTableUtil.c:108:2: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] panic("invalid type given to TableOptionBdSet\n"); ^ ./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/tkTableUtil.c:191:2: warning: call to undeclared function 'panic'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] panic("invalid type given to TableOptionBdSet\n"); ^ 6 warnings generated. rm -f libTktable2.10.dylib clang -dynamiclib -pipe -Os -I/opt/pkg/include -pipe -Os -Wall -Wno-implicit-int -fno-common -I/opt/pkg/include -L/opt/pkg/lib -prebind -headerpad_max_install_names -Wl,-search_paths_first -Wl,-single_module -current_version 2.10 -compatibility_version 2.10 -o libTktable2.10.dylib tkTable.o tkTableWin.o tkTableTag.o tkTableEdit.o tkTableCell.o tkTableCellSort.o tkTableCmds.o tkTableUtil.o -L/opt/pkg/lib -L/opt/pkg/lib -L/opt/pkg/lib -lX11 -L/opt/pkg/lib -ltclstub86 -L/opt/pkg/lib -ltkstub86 ld: warning: -prebind is obsolete ld: warning: -single_module is obsolete : libTktable2.10.dylib ( echo 'if {[catch {package require Tcl 8.2}]} return'; echo 'package ifneeded Tktable 2.10 [list load [file join $dir libTktable2.10.dylib] Tktable]' ) > pkgIndex.tcl