=> Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for blt-2.4znb15 (cd src; /opt/pkg/bin/bmake all) clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltAlloc.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltArrayObj.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltBgexec.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltChain.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltDebug.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltHash.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltList.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltNsUtil.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltParse.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltPool.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltSpline.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltSwitch.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTree.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTreeCmd.c bltTreeCmd.c:984:17: warning: variable 'node' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (cmdPtr != NULL) { ^~~~~~~~~~~~~~ bltTreeCmd.c:1035:9: note: uninitialized use occurs here if (node != NULL) { ^~~~ bltTreeCmd.c:984:13: note: remove the 'if' if its condition is always true } else if (cmdPtr != NULL) { ^~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:953:22: note: initialize the variable 'node' to silence this warning Blt_TreeNode node; ^ = NULL bltTreeCmd.c:1670:9: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] type = (int)Blt_ListGetValue(node); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:2605:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:2615:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] inode = (int)Blt_ChainGetValue(linkPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:4833:24: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /Users/pbulk/build/x11/blt/work/.buildlink/include/tclDecls.h:693:54: note: passing argument to parameter 'result' here EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ^ 5 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltUnixPipe.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltUtil.c bltUtil.c:796:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltUtil.c:799:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltUtil.c:833:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltUtil.c:838:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltVector.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltVecMath.c bltVecMath.c:767:54: warning: 'result' is deprecated [-Wdeprecated-declarations] Tcl_SetErrorCode(interp, "ARITH", "DOMAIN", interp->result, ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ bltVecMath.c:774:61: warning: 'result' is deprecated [-Wdeprecated-declarations] Tcl_SetErrorCode(interp, "ARITH", "UNDERFLOW", interp->result, ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ bltVecMath.c:780:60: warning: 'result' is deprecated [-Wdeprecated-declarations] Tcl_SetErrorCode(interp, "ARITH", "OVERFLOW", interp->result, ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ bltVecMath.c:789:55: warning: 'result' is deprecated [-Wdeprecated-declarations] Tcl_SetErrorCode(interp, "ARITH", "UNKNOWN", interp->result, ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltVecCmd.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltVecObjCmd.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltWatch.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include -DTCL_ONLY -DBLT_LIBRARY=\"/opt/pkg/lib/blt2.4\" ./bltInit.c ./bltInit.c:408:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:457:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (ClientData)(flags | BLT_TCL_CMDS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. rm -f libBLTlite.a ar rc libBLTlite.a bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltWatch.o bltInit.o ranlib libBLTlite.a rm -f bltsh clang -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include -DTCL_ONLY -o bltsh -DTCLLIBPATH=\"/opt/pkg/lib/tcl8.6\" ./bltUnixMain.c libBLTlite.a -L/opt/pkg/lib -ltcl86 -lm clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrAxis.c bltGrAxis.c:672:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] unsigned int mask = (unsigned int)clientData; ^~~~~~~~~~~~~~~~~~~~~~~~ bltGrAxis.c:1429:9: warning: variable 'tickMin' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (min < max) { ^~~~~~~~~ bltGrAxis.c:1479:41: note: uninitialized use occurs here axisPtr->majorSweep.initial = floor(tickMin); ^~~~~~~ bltGrAxis.c:1429:5: note: remove the 'if' if its condition is always true if (min < max) { ^~~~~~~~~~~~~~~ bltGrAxis.c:1423:19: note: initialize the variable 'tickMin' to silence this warning double tickMin, tickMax; ^ = 0.0 bltGrAxis.c:1429:9: warning: variable 'tickMax' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (min < max) { ^~~~~~~~~ bltGrAxis.c:1483:48: note: uninitialized use occurs here SetAxisRange(&axisPtr->axisRange, tickMin, tickMax); ^~~~~~~ bltGrAxis.c:1429:5: note: remove the 'if' if its condition is always true if (min < max) { ^~~~~~~~~~~~~~~ bltGrAxis.c:1423:28: note: initialize the variable 'tickMax' to silence this warning double tickMin, tickMax; ^ = 0.0 bltGrAxis.c:1559:9: warning: variable 'step' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (min < max) { ^~~~~~~~~ bltGrAxis.c:1582:32: note: uninitialized use occurs here axisPtr->majorSweep.step = step; ^~~~ bltGrAxis.c:1559:5: note: remove the 'if' if its condition is always true if (min < max) { ^~~~~~~~~~~~~~~ bltGrAxis.c:1552:23: note: initialize the variable 'step' to silence this warning double range, step; ^ = 0.0 bltGrAxis.c:3650:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] margin = (int)argv[-1]; ^~~~~~~~~~~~~ bltGrAxis.c:4193:15: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] argv[2] = (char *)margin; /* Hack. Slide a reference to the margin in ^~~~~~~~~~~~~~ 6 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrBar.c bltGrBar.c:2200:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltGrBar.c:2206:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)count); ^~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltGrBar.c:2222:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltGrBar.c:2227:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrElem.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrGrid.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrHairs.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrLegd.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrLine.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrMarker.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrMisc.c bltGrMisc.c:263:24: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] int allowDefault = (int)clientData; ^~~~~~~~~~~~~~~ 1 warning generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrPen.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGrPs.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltGraph.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltBeep.c bltBeep.c:63:16: warning: variable 'percent' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if (argc == 2) { ^~~~~~~~~ bltBeep.c:73:46: note: uninitialized use occurs here XBell(Tk_Display(Tk_MainWindow(interp)), percent); ^~~~~~~ bltBeep.c:63:12: note: remove the 'if' if its condition is always true } else if (argc == 2) { ^~~~~~~~~~~~~~~ bltBeep.c:54:16: note: initialize the variable 'percent' to silence this warning int percent; ^ = 0 1 warning generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltBind.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltBitmap.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltBusy.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltCanvEps.c bltCanvEps.c:1716:26: warning: incompatible function pointer types assigning to 'Tk_OptionParseProc *' (aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)') from 'int (ClientData, Tcl_Interp *, Tk_Window, const char *, char *, int)' (aka 'int (void *, struct Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)') [-Wincompatible-function-pointer-types] tagsOption.parseProc = Tk_CanvasTagsParseProc; ^ ~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltColor.c bltColor.c:538:42: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); ^~~~~~~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltColor.c:543:17: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltColor.c:546:25: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltColor.c:570:13: warning: variable 'imageColors' set but not used [-Wunused-but-set-variable] XColor *imageColors; ^ bltColor.c:566:9: warning: variable 'nFreeColors' set but not used [-Wunused-but-set-variable] int nFreeColors, nUsedColors; ^ bltColor.c:108:1: warning: unused function 'BuildColorRamp' [-Wunused-function] BuildColorRamp(palettePtr, nColors) ^ bltColor.c:254:1: warning: unused function 'MatchColors' [-Wunused-function] MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, ^ bltColor.c:313:1: warning: unused function 'AllocateColors' [-Wunused-function] AllocateColors(nImageColors, colorTabPtr, matchOnly) ^ bltColor.c:519:1: warning: unused function 'GetUniqueColors' [-Wunused-function] GetUniqueColors(image) ^ 9 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltConfig.c bltConfig.c:278:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ ^~~~~~~~~~~~~~~~~~~~~~~~ bltConfig.c:314:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ ^~~~~~~~~~~~~~~~~~~~~~~~ bltConfig.c:395:49: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] return Blt_GetPixels(interp, tkwin, string, (int)clientData, valuePtr); ^~~~~~~~~~~~~~~ bltConfig.c:484:39: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] return Blt_GetInt(interp, string, (int)clientData, valuePtr); ^~~~~~~~~~~~~~~ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltContainer.c bltContainer.c:401:9: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (cntrPtr->adopted != None) { ^~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:426:25: note: uninitialized use occurs here cntrPtr->adoptedX = x; ^ bltContainer.c:401:5: note: remove the 'if' if its condition is always true if (cntrPtr->adopted != None) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:392:10: note: initialize the variable 'x' to silence this warning int x, y, width, height, borderWidth, depth; ^ = 0 bltContainer.c:401:9: warning: variable 'y' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (cntrPtr->adopted != None) { ^~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:427:25: note: uninitialized use occurs here cntrPtr->adoptedY = y; ^ bltContainer.c:401:5: note: remove the 'if' if its condition is always true if (cntrPtr->adopted != None) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:392:13: note: initialize the variable 'y' to silence this warning int x, y, width, height, borderWidth, depth; ^ = 0 bltContainer.c:825:26: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] unsigned int flags = (int)clientData; ^~~~~~~~~~~~~~~ 3 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltCutbuffer.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltDragdrop.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltHierbox.c bltHierbox.c:2080:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, ^~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltHierbox.c:2375:54: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); ^~~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ bltHierbox.c:2409:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltHtext.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltImage.c bltImage.c:2451:29: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned int (*)[33][33]' [-Wincompatible-pointer-types] Mark(cubePtr, color.value, lut); ^~~ bltImage.c:2533:26: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned int (*)[33][33]' [-Wincompatible-pointer-types] MapColors(src, dest, lut); ^~~ 2 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltUnixImage.c bltUnixImage.c:577:44: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); ^~~~~~~~~~~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ 1 warning generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltPs.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTable.c bltTable.c:2037:8: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] key = (int)Blt_ListGetKey(node); ^~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2049:37: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] newNode = Blt_ListCreateNode(list, (char *)entryPtr->row.span); ^~~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2066:8: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] key = (int)Blt_ListGetKey(node); ^~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2078:37: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTabnotebook.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTabset.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltText.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTile.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTreeView.c bltTreeView.c:1058:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:1061:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltTreeView.c:1087:16: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:1090:25: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTreeViewCmd.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTreeViewEdit.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTreeViewColumn.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTreeViewStyle.c bltTreeViewStyle.c:856:12: warning: implicit declaration of function 'Blt_TreeViewTextbox' is invalid in C99 [-Wimplicit-function-declaration] return Blt_TreeViewTextbox(tvPtr, entryPtr, valuePtr->columnPtr); ^ bltTreeViewStyle.c:1789:12: warning: implicit declaration of function 'Blt_TreeViewTextbox' is invalid in C99 [-Wimplicit-function-declaration] return Blt_TreeViewTextbox(tvPtr, entryPtr, valuePtr->columnPtr); ^ bltTreeViewStyle.c:1280:1: warning: unused function 'PickCheckBox' [-Wunused-function] PickCheckBox(entryPtr, valuePtr, stylePtr, worldX, worldY) ^ 3 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltUnixDnd.c bltUnixDnd.c:1463:1: warning: function 'MorphToken' is not needed and will not be emitted [-Wunneeded-internal-declaration] MorphToken(dndPtr) ^ 1 warning generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltWindow.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltObjConfig.c bltObjConfig.c:1228:10: warning: cast to smaller integer type 'unsigned int' from 'Blt_CustomOption *' (aka 'struct Blt_CustomOption *') [-Wpointer-to-int-cast] flag = (unsigned int)specPtr->customPtr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltObjConfig.c:1503:29: warning: cast to smaller integer type 'unsigned int' from 'Blt_CustomOption *' (aka 'struct Blt_CustomOption *') [-Wpointer-to-int-cast] flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltWinop.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include tkButton.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include tkFrame.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltScrollbar.c clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include bltTed.c bltTed.c:1507:13: warning: 'result' is deprecated [-Wdeprecated-declarations] interp->result = Tk_PathName(tedPtr->tkwin); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ bltTed.c:1681:14: warning: 'result' is deprecated [-Wdeprecated-declarations] interp->result = Tk_PathName(entryPtr->tkwin); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ bltTed.c:1754:13: warning: 'result' is deprecated [-Wdeprecated-declarations] interp->result = Tk_PathName(tedPtr->tkwin); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:518:18: note: 'result' has been explicitly marked deprecated here char *result TCL_DEPRECATED_API("use Tcl_GetStringResult/Tcl_SetResult"); ^ /Users/pbulk/build/x11/blt/work/.buildlink/include/tcl.h:177:50: note: expanded from macro 'TCL_DEPRECATED_API' # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) ^ bltTed.c:552:1: warning: unused function 'CreateEntry' [-Wunused-function] CreateEntry(tedPtr, entryPtr) ^ 4 warnings generated. clang -c -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include -DBLT_LIBRARY=\"/opt/pkg/lib/blt2.4\" ./bltInit.c ./bltInit.c:408:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:457:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (ClientData)(flags | BLT_TCL_CMDS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:493:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] (ClientData)(flags | BLT_TK_CMDS)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. rm -f libBLT.a ar rc libBLT.a bltGrAxis.o bltGrBar.o bltGrElem.o bltGrGrid.o bltGrHairs.o bltGrLegd.o bltGrLine.o bltGrMarker.o bltGrMisc.o bltGrPen.o bltGrPs.o bltGraph.o bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltWatch.o bltBeep.o bltBind.o bltBitmap.o bltBusy.o bltCanvEps.o bltColor.o bltConfig.o bltContainer.o bltCutbuffer.o bltDragdrop.o bltHierbox.o bltHtext.o bltImage.o bltUnixImage.o bltPs.o bltTable.o bltTabnotebook.o bltTabset.o bltText.o bltTile.o bltTreeView.o bltTreeViewCmd.o bltTreeViewEdit.o bltTreeViewColumn.o bltTreeViewStyle.o bltUnixDnd.o bltWindow.o bltObjConfig.o bltWinop.o tkButton.o tkFrame.o bltScrollbar.o bltTed.o bltInit.o ranlib libBLT.a rm -f bltwish clang -Wall -DUSE_INTERP_RESULT -pipe -Os -I/opt/pkg/include -I. -I. -I/opt/pkg/include -o bltwish -DTCLLIBPATH=\"/opt/pkg/lib/tcl8.6\" ./bltUnixMain.c libBLT.a -L/opt/pkg/lib -ltk86 -ltcl86 -LNONE -lX11 -lm ld: warning: directory not found for option '-LNONE' (cd library; /opt/pkg/bin/bmake all) rm -f pkgIndex.tcl sed -e 's/%VERSION%/2.4/' ./pkgIndex.tcl.in | sed -e 's/%LIB_PREFIX%/lib/' | sed -e 's;%LIB_DIR%;/opt/pkg/lib;' > pkgIndex.tcl (cd man; /opt/pkg/bin/bmake all) rm -rf BLT.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' BLT.mann > BLT.n rm -rf barchart.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' barchart.mann > barchart.n rm -rf beep.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' beep.mann > beep.n rm -rf bgexec.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' bgexec.mann > bgexec.n /bin/cp bitmap.mann bltbitmap.mann rm -rf bltbitmap.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' bltbitmap.mann > bltbitmap.n rm -rf bltdebug.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' bltdebug.mann > bltdebug.n /bin/cp busy.mann bltbusy.mann rm -rf bltbusy.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' bltbusy.mann > bltbusy.n rm -rf container.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' container.mann > container.n rm -rf cutbuffer.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' cutbuffer.mann > cutbuffer.n rm -rf dragdrop.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' dragdrop.mann > dragdrop.n rm -rf eps.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' eps.mann > eps.n rm -rf graph.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' graph.mann > graph.n rm -rf hierbox.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' hierbox.mann > hierbox.n rm -rf hiertable.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' hiertable.mann > hiertable.n rm -rf htext.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' htext.mann > htext.n rm -rf spline.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' spline.mann > spline.n rm -rf stripchart.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' stripchart.mann > stripchart.n rm -rf table.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' table.mann > table.n rm -rf tabset.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' tabset.mann > tabset.n rm -rf tile.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' tile.mann > tile.n rm -rf tree.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' tree.mann > tree.n rm -rf treeview.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' treeview.mann > treeview.n rm -rf vector.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' vector.mann > vector.n rm -rf watch.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' watch.mann > watch.n rm -rf winop.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' winop.mann > winop.n rm -rf Blt_Tree.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_Tree.man3 > Blt_Tree.3 rm -rf Blt_TreeGetNode.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeGetNode.man3 > Blt_TreeGetNode.3 rm -rf Blt_TreeCreate.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeCreate.man3 > Blt_TreeCreate.3 rm -rf Blt_TreeGetToken.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeGetToken.man3 > Blt_TreeGetToken.3 rm -rf Blt_TreeCreateNode.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeCreateNode.man3 > Blt_TreeCreateNode.3 rm -rf Blt_TreeName.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeName.man3 > Blt_TreeName.3 rm -rf Blt_TreeDeleteNode.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeDeleteNode.man3 > Blt_TreeDeleteNode.3 rm -rf Blt_TreeNodeId.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeNodeId.man3 > Blt_TreeNodeId.3 rm -rf Blt_TreeExists.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeExists.man3 > Blt_TreeExists.3 rm -rf Blt_TreeReleaseToken.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.4/' Blt_TreeReleaseToken.man3 > Blt_TreeReleaseToken.3 (cd demos; /opt/pkg/bin/bmake all)