------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9_1,1.txz Installing /packages/All/jpeg-turbo-2.0.4.txz Installing /packages/All/freetype2-2.10.1.txz ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). Installing /packages/All/expat-2.2.8.txz Installing /packages/All/fontconfig-2.13.92_2,1.txz Running fc-cache to build fontconfig cache... Font directories: /usr/local/share/fonts /usr/local/lib/X11/fonts /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded Installing /packages/All/tcl86-8.6.10.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXft-2.3.3.txz Installing /packages/All/libXScrnSaver-1.2.3_2.txz Installing /packages/All/tk86-8.6.10_1.txz SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by blt-2.5.3_5 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by blt-2.5.3_5 for building => SHA256 Checksum OK for blt-src-2.5.3.zip. SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by blt-2.5.3_5 for building ===> Extracting for blt-2.5.3_5 ===> blt-2.5.3_5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by blt-2.5.3_5 for building => SHA256 Checksum OK for blt-src-2.5.3.zip. Extracted Memory Use: 10.77M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for blt-2.5.3_5 ===> Applying ports patches for blt-2.5.3_5 ===> Cleanly applied ports patch(es) patch-Makefile.in patch-configure patch-generic_Makefile.in patch-generic_bltBgexec.c patch-generic_bltDecls.h patch-generic_bltGrAxis.c patch-generic_bltGrElem.c patch-generic_bltGrGrid.c patch-generic_bltGrHairs.c patch-generic_bltGrLegd.c patch-generic_bltGrLine.c patch-generic_bltGrMarker.c patch-generic_bltGrPen.c patch-generic_bltGrPs.c patch-generic_bltGraph.c patch-generic_bltHash.h.in patch-generic_bltInit.c patch-generic_bltInt.h patch-generic_bltNsUtil.c patch-generic_bltScrollbar.c patch-generic_bltSwitch.c patch-generic_bltTabset.c patch-generic_bltTed.c patch-generic_bltTree.c patch-generic_bltTree.h patch-generic_bltTreeCmd.c patch-generic_bltTreeView.c patch-generic_bltTreeViewColumn.c patch-generic_bltUtil.c patch-generic_bltVecMath.c patch-generic_bltVector.c patch-generic_tkButton.c patch-library_Makefile.in patch-library_init.tcl patch-use-tkInt /usr/bin/find /construction/x11-toolkits/blt/blt2.5 -name Makefile.in | /usr/bin/xargs /usr/bin/env WRKSRC=/construction/x11-toolkits/blt/blt2.5 REWARNFILE=/construction/x11-toolkits/blt/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e '/^INSTALL_ROOT/s|$|${DESTDIR}|' /usr/bin/find /construction/x11-toolkits/blt/blt2.5/demos -name "*.tcl" | /usr/bin/xargs /usr/bin/env WRKSRC=/construction/x11-toolkits/blt/blt2.5 REWARNFILE=/construction/x11-toolkits/blt/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's|../src/bltwish|/usr/local/bin/bltwish|' /usr/bin/env WRKSRC=/construction/x11-toolkits/blt/blt2.5 REWARNFILE=/construction/x11-toolkits/blt/reinplace_warnings.txt /xports/Tools/scripts/sed_checked.sh -e 's@\(SHLIB_LIB_SPECS =\)@\1 -lm @g' -e 's@\(TCL_ONLY_LIB_SPECS =\)@\1 -lm @g' /construction/x11-toolkits/blt/blt2.5/generic/shared/Makefile.in SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on package: gmake>=4.3 - found ===> blt-2.5.3_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> blt-2.5.3_5 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so) ===> blt-2.5.3_5 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on package: gmake>=4.3 - found ===> blt-2.5.3_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> blt-2.5.3_5 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> blt-2.5.3_5 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so) ===> blt-2.5.3_5 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so) ===> Configuring for blt-2.5.3_5 configure: warning: x86_64-portbld-dragonfly5.9: invalid host type loading site script /xports/Templates/config.site checking host system type... x86_64-portbld-dragonfly5.9 checking target system type... x86_64-portbld-dragonfly5.9 checking build system type... x86_64-portbld-dragonfly5.9 checking which C compiler... cc checking how to run the C preprocessor... cpp checking if C compiler is really gcc... yes checking default compiler flags... -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing checking for Cygwin environment... no checking for mawk... (cached) /usr/bin/awk checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking for main in -lsocket... no checking for main in -lnsl... no checking for main in -lm... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for sys/param.h... (cached) yes checking for string.h... (cached) yes checking for ctype.h... (cached) yes checking for errno.h... (cached) yes checking for float.h... (cached) yes checking for math.h... (cached) yes checking for ieeefp.h... yes checking for sys/time.h... (cached) yes checking for waitflags.h... no checking for sys/wait.h... (cached) yes checking for malloc.h... no checking for memory.h... (cached) yes checking for setjmp.h... yes checking for jpeglib.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking whether union wait is defined correctly... no checking whether byte ordering is bigendian... no checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of void *... 8 checking for strdup... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for drand48... yes checking for srand48... yes checking for finite... yes checking for isnan... yes checking for isfinite... yes checking whether DBL_EPSILON is defined in float.h... yes checking whether declaration is needed for strdup... no checking whether declaration is needed for drand48... no checking whether declaration is needed for srand48... no checking whether declaration is needed for j1... no checking for X... libraries /usr/local/lib, headers /usr/local/include checking for tclConfig.sh... /usr/local/lib/tcl8.6/tclConfig.sh checking for tkConfig.sh... /usr/local/lib/tk8.6/tkConfig.sh checking for jpeg_read_header in -ljpeg... yes checking for XExtendedMaxRequestSize... yes checking BLT_MAJOR_VERSION... 2 checking BLT_MINOR_VERSION... 5 checking TCL_VERSION in tcl.h... 8.6 checking TK_VERSION in tk.h... 8.6 checking for dlfcn.h... (cached) yes Configuration results: tcl.h found in /usr/local/include/tcl8.6 tk.h found in /usr/local/include/tk8.6 X11/Xlib.h found in /usr/local/include libtcl86 found in /usr/local/lib libtk86 found in /usr/local/lib libX11 found in /usr/local/lib Directories where BLT is to be installed: "$prefix" is /usr/local "$exec_prefix" is /usr/local bltwish to be installed in ${exec_prefix}/bin libBLT.a to be installed in /usr/local/lib scripts to be installed in /usr/local/lib/blt2.5 manual pages to be installed in /usr/local/man creating ./config.status creating Makefile creating generic/Makefile creating generic/bltHash.h creating generic/shared/Makefile creating man/Makefile creating library/Makefile creating demos/Makefile creating generic/bltConfig.h SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for blt-2.5.3_5 gmake[2]: Entering directory '/construction/x11-toolkits/blt/blt2.5' (cd generic; gmake all) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/generic' cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltAlloc.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltArrayObj.c bltArrayObj.c: In function 'SetArrayFromAny': bltArrayObj.c:88:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] oldTypePtr = objPtr->typePtr; ^ bltArrayObj.c:72:13: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_AppendResult(interp, "odd length: ", string, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBgexec.c bltBgexec.c: In function 'InitSink': bltBgexec.c:669:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sinkPtr->file = (Tcl_File)NULL; ^ bltBgexec.c: In function 'FreeSinkBuffer': bltBgexec.c:727:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sinkPtr->file = (Tcl_File)NULL; ^ bltBgexec.c: In function 'CloseSink': bltBgexec.c:884:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sinkPtr->file = (Tcl_File)NULL; ^ bltBgexec.c: In function 'CollectData': bltBgexec.c:1300:8: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((nBytes == 0) || (data[0] == '\0')) { ^ bltBgexec.c:1360:6: note: 'length' was declared here int length; ^~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltChain.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltDebug.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltHash.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltList.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltNsUtil.c In file included from /usr/local/include/tcl8.6/generic/tclTomMathDecls.h:20, from /usr/local/include/tcl8.6/generic/tclInt.h:4930, from bltNsUtil.c:30: /usr/local/include/tcl8.6/generic/tclTomMath.h:261: warning: "SIGN" redefined #define SIGN(m) ((m)->sign) In file included from bltInt.h:112, from bltNsUtil.c:28: bltMath.h:139: note: this is the location of the previous definition #define SIGN(x) (((x) < 0.0) ? -1 : 1) cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltParse.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltPool.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltSpline.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltSwitch.c bltSwitch.c: In function 'Blt_ProcessSwitches': bltSwitch.c:325:58: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { ^~ bltSwitch.c:325:50: note: did you mean to dereference the pointer? if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTree.c bltTree.c: In function 'IsTclDict': bltTree.c:50:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] dictType = obj->typePtr; ^ In file included from blt.h:54, from bltInt.h:81, from bltTree.c:30: bltTree.c: In function 'FreeNode': bltTree.c:425:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)nodePtr->inode); ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ bltTree.c: In function 'Blt_TreeCreateNode': bltTree.c:935:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltTree.c: In function 'Blt_TreeCreateNodeWithId': bltTree.c:1031:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, &isNew); ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltTree.c: In function 'Blt_TreeGetNode': bltTree.c:1167:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)inode); ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ bltTree.c: In function 'Blt_TreeRelabelNode': bltTree.c:1235:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int result, inode; ^~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeCmd.c In file included from ./blt.h:54, from ./bltInt.h:81, from bltTreeCmd.c:107: bltTreeCmd.c: In function 'ParseNode5': bltTreeCmd.c:1644:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltTreeCmd.c:1654:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&dataPtr->idTable, (char *)parentId); ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ bltTreeCmd.c:1691:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltTreeCmd.c:1701:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltTreeCmd.c: In function 'SetValues': bltTreeCmd.c:2081:9: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int inode; ^~~~~ bltTreeCmd.c: In function 'UpdateValues': bltTreeCmd.c:2111:26: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int result = TCL_OK, inode; ^~~~~ bltTreeCmd.c: In function 'ComparePatternList': bltTreeCmd.c:2202:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] type = (int)Blt_ListGetValue(node); ^ bltTreeCmd.c: In function 'DeleteOp': bltTreeCmd.c:3664:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); ^ bltTreeCmd.c:3674:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] inode = (int)Blt_ChainGetValue(linkPtr); ^ bltTreeCmd.c: In function 'CreateOp': bltTreeCmd.c:4559:20: warning: variable 'hasnum' set but not used [-Wunused-but-set-variable] int fixed = 0, hasnum = 0, hcnt = 0; ^~~~~~ bltTreeCmd.c: In function 'KeysOp': bltTreeCmd.c:4989:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ bltTreeCmd.c: In function 'updateOp': bltTreeCmd.c:6532:29: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int i, result = TCL_OK, inode; ^~~~~ bltTreeCmd.c: In function 'SetOp': bltTreeCmd.c:6606:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ bltTreeCmd.c: In function 'ModifyOp': bltTreeCmd.c:6841:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ bltTreeCmd.c: In function 'TagNodesOp': bltTreeCmd.c:7176:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ bltTreeCmd.c: In function 'TypeOp': bltTreeCmd.c:7740:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ./bltInt.h:39, from bltTreeCmd.c:107: /usr/local/include/tcl8.6/generic/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'const char * const' EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ~~~~~~^~~~~~ bltTreeCmd.c: In function 'UnsetOp': bltTreeCmd.c:7763:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ bltTreeCmd.c: In function 'WithOp': bltTreeCmd.c:8091:57: warning: variable 'isar' set but not used [-Wunused-but-set-variable] int vobjc, kobjc, i, result = TCL_OK, len, cnt = 0, isar; ^~~~ bltTreeCmd.c: In function 'ForeachOp': bltTreeCmd.c:8567:13: warning: 'errorLine' is deprecated: use Tcl_GetErrorLine/Tcl_SetErrorLine [-Wdeprecated-declarations] "\n (\"tree foreach\" body line ", Blt_Itoa(interp->errorLine), ")\n", 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ./bltInt.h:39, from bltTreeCmd.c:107: /usr/local/include/tcl8.6/generic/tcl.h:516:9: note: declared here int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine"); ^~~~~~~~~ bltTreeCmd.c:8533:17: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *var, *string; ^~~~~~ bltTreeCmd.c: In function 'WithOp': bltTreeCmd.c:8472:29: warning: 'aName' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Blt_TreeSetArrayValue(interp, cmdPtr->tree, node, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aName, skey, newValuePtr) != TCL_OK) { ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUnixPipe.c bltUnixPipe.c: In function 'CreateProcess': bltUnixPipe.c:511:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG); ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUtil.c bltUtil.c: In function 'Blt_GetUid': bltUtil.c:830:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltUtil.c:28: bltUtil.c:833:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltUtil.c: In function 'Blt_FreeUid': bltUtil.c:867:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltUtil.c:28: bltUtil.c:872:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVector.c bltVector.c: In function 'VectorConfigureObjOp': bltVector.c:1918:13: warning: 'ovar' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Tcl_GetBooleanFromObj(interp, objv[i+1], ovar) != TCL_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVecMath.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVecCmd.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVecObjCmd.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltStubLib.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltStubInit.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltWatch.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./bltInit.c ./bltInit.c: In function 'SetLibraryPath': ./bltInit.c:441:16: warning: unused variable 'tkisinit' [-Wunused-variable] static int tkisinit = 0; ^~~~~~~~ ./bltInit.c: In function 'Blt_Init': ./bltInit.c:514:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); ^ ./bltInit.c:573:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (ClientData)(flags | BLT_TCL_CMDS)); ^ At top level: ./bltInit.c:441:16: warning: 'tkisinit' defined but not used [-Wunused-variable] static int tkisinit = 0; ^~~~~~~~ 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 bltStubLib.o bltStubInit.o bltWatch.o bltInit.o ranlib libBLTlite.a rm -f bltsh cc -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -o bltsh \ -DTCLLIBPATH=\"/usr/local/lib/tcl8.6\" \ ./bltUnixMain.c libBLTlite.a -L/usr/local/lib -ltcl86 -lm cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrAxis.c bltGrAxis.c: In function 'StringToTicks': bltGrAxis.c:672:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int mask = (unsigned int)clientData; ^ bltGrAxis.c: In function 'UseOp': bltGrAxis.c:3674:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] margin = (int)argv[-1]; ^ bltGrAxis.c: In function 'Blt_AxisOp': bltGrAxis.c:4218:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] argv[2] = (char *)margin; /* Hack. Slide a reference to the margin in ^ bltGrAxis.c: In function 'Blt_ResetAxes': bltGrAxis.c:328:27: warning: 'axisMax' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ bltGrAxis.c:1554:21: note: 'axisMax' was declared here double axisMin, axisMax; ^~~~~~~ bltGrAxis.c:328:27: warning: 'axisMin' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ bltGrAxis.c:1554:12: note: 'axisMin' was declared here double axisMin, axisMax; ^~~~~~~ bltGrAxis.c:1582:30: warning: 'step' may be used uninitialized in this function [-Wmaybe-uninitialized] axisPtr->majorSweep.step = step; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ bltGrAxis.c:1552:19: note: 'step' was declared here double range, step; ^~~~ bltGrAxis.c:328:27: warning: 'tickMax' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ bltGrAxis.c:1423:21: note: 'tickMax' was declared here double tickMin, tickMax; ^~~~~~~ bltGrAxis.c:328:27: warning: 'tickMin' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ bltGrAxis.c:1423:12: note: 'tickMin' was declared here double tickMin, tickMax; ^~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrBar.c bltGrBar.c: In function 'Blt_InitFreqTable': bltGrBar.c:2200:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltGraph.h:28, from bltGrBar.c:28: bltGrBar.c:2206:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)count); ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltGrBar.c:2222:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^ bltGrBar.c:2227:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrElem.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrGrid.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrHairs.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrLegd.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrLine.c bltGrLine.c: In function 'ClosestLine': bltGrLine.c:3109:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ bltGrLine.c:3082:13: note: 'closest.y' was declared here Point2D closest, b; ^~~~~~~ bltGrLine.c:3109:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ bltGrLine.c:3082:13: note: 'closest.x' was declared here Point2D closest, b; ^~~~~~~ bltGrLine.c:3158:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ bltGrLine.c:3137:13: note: 'closest.y' was declared here Point2D closest, b; ^~~~~~~ bltGrLine.c:3158:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ bltGrLine.c:3137:13: note: 'closest.x' was declared here Point2D closest, b; ^~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrMarker.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrMisc.c bltGrMisc.c: In function 'StringToColorPair': bltGrMisc.c:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int allowDefault = (int)clientData; ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrPen.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrPs.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGraph.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBeep.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBind.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBitmap.c In file included from blt.h:72, from bltInt.h:81, from bltBitmap.c:50: bltBitmap.c: In function 'ComposeOp': bltBitmap.c:921:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltBitmap.c:50: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltBitmap.c:50: bltBitmap.c: In function 'DefineOp': bltBitmap.c:1031:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltBitmap.c:50: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBusy.c In file included from blt.h:72, from bltInt.h:81, from bltBusy.c:29: bltBusy.c: In function 'ConfigureBusy': bltBusy.c:421:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, busyPtr->tkRef, configSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltBusy.c:29: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltCanvEps.c In file included from blt.h:72, from bltInt.h:81, from bltCanvEps.c:37: bltCanvEps.c: In function 'ConfigureEps': bltCanvEps.c:1294:6: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv, (char *)epsPtr, flags) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltCanvEps.c:37: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltCanvEps.c: In function 'Blt_InitEpsCanvasItem': bltCanvEps.c:2008:26: warning: assignment to 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)' {aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)' {aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)'} [-Wincompatible-pointer-types] tagsOption.parseProc = Tk_CanvasTagsParseProc; ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltColor.c In file included from blt.h:54, from bltInt.h:81, from bltColor.c:71: bltColor.c: In function 'GetUniqueColors': bltColor.c:538:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltColor.c:543:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltColor.c:71: bltColor.c:546:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltColor.c: In function 'PrivateColormap': 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; ^~~~~~~~~~~ At top level: bltColor.c:519:1: warning: 'GetUniqueColors' defined but not used [-Wunused-function] GetUniqueColors(image) ^~~~~~~~~~~~~~~ bltColor.c:313:1: warning: 'AllocateColors' defined but not used [-Wunused-function] AllocateColors(nImageColors, colorTabPtr, matchOnly) ^~~~~~~~~~~~~~ bltColor.c:254:1: warning: 'MatchColors' defined but not used [-Wunused-function] MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, ^~~~~~~~~~~ bltColor.c:108:1: warning: 'BuildColorRamp' defined but not used [-Wunused-function] BuildColorRamp(palettePtr, nColors) ^~~~~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltConfig.c bltConfig.c: In function 'Blt_StringToFlag': bltConfig.c:445:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ ^ bltConfig.c: In function 'Blt_FlagToString': bltConfig.c:481:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ ^ bltConfig.c: In function 'StringToDistance': bltConfig.c:562:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return Blt_GetPixels(interp, tkwin, string, (int)clientData, valuePtr); ^ bltConfig.c: In function 'StringToCount': bltConfig.c:651:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return Blt_GetInt(interp, string, (int)clientData, valuePtr); ^ bltConfig.c: In function 'Blt_ConfigureWidgetComponent': bltConfig.c:1565:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] oldClass = Tk_Class(tkwin); ^ In file included from blt.h:72, from bltInt.h:81, from bltConfig.c:28: bltConfig.c:1576:64: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] result = Tk_ConfigureWidget(interp, tkwin, specsPtr, argc, argv, widgRec, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltConfig.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from bltConfig.c:1671: bltOldConfig.c: In function 'DoConfig': bltOldConfig.c:581:4: warning: passing argument 4 of 'specPtr->customPtr->parseProc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] value, widgRec, specPtr->offset) != TCL_OK) { ^~~~~ bltOldConfig.c:581:4: note: expected 'char *' but argument is of type 'Tk_Uid' {aka 'const char *'} bltOldConfig.c: In function 'FormatConfigInfo': bltOldConfig.c:740:22: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] return Tcl_Merge(2, argv); ^~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltConfig.c:28: /usr/local/include/tcl8.6/generic/tclDecls.h:585:16: note: expected 'char * const*' but argument is of type 'const char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ In file included from bltConfig.c:1671: bltOldConfig.c:771:31: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] result = Tcl_Merge(6, argv); ^~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltConfig.c:28: /usr/local/include/tcl8.6/generic/tclDecls.h:585:16: note: expected 'char * const*' but argument is of type 'const char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ In file included from bltConfig.c:1671: bltOldConfig.c:774:31: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] result = Tcl_Merge(5, argv); ^~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltConfig.c:28: /usr/local/include/tcl8.6/generic/tclDecls.h:585:16: note: expected 'char * const*' but argument is of type 'const char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ bltConfig.c: In function 'StringToGradient': bltConfig.c:1021:25: warning: 'color2Ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] gradientPtr->color2 = color2Ptr; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltContainer.c bltContainer.c: In function 'StringToXID': bltContainer.c:825:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int flags = (int)clientData; ^ In file included from blt.h:72, from bltInt.h:81, from bltContainer.c:30: bltContainer.c: In function 'ConfigureContainer': bltContainer.c:1196:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, cntrPtr->tkwin, configSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltContainer.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltCutbuffer.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltDragdrop.c In file included from blt.h:72, from bltInt.h:81, from bltDragdrop.c:31: bltDragdrop.c: In function 'ConfigureToken': bltDragdrop.c:1068:75: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, srcPtr->tkwin, tokenConfigSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltDragdrop.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltDragdrop.c:31: bltDragdrop.c: In function 'ConfigureSource': bltDragdrop.c:1296:70: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, srcPtr->tkwin, configSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltDragdrop.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltHierbox.c In file included from blt.h:54, from bltInt.h:81, from bltHierbox.c:40: bltHierbox.c: In function 'CreateNode': bltHierbox.c:2080:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ bltHierbox.c: In function 'GetNodeByIndex': bltHierbox.c:2375:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ bltHierbox.c: In function 'NodeToString': bltHierbox.c:2409:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), ^ In file included from blt.h:72, from bltInt.h:81, from bltHierbox.c:40: bltHierbox.c: In function 'ConfigureEntry': bltHierbox.c:3325:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)entryPtr, flags) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltHierbox.c:40: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltHierbox.c:40: bltHierbox.c: In function 'ConfigureHierbox': bltHierbox.c:3938:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, hboxPtr->tkwin, configSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltHierbox.c:40: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltHierbox.c:40: bltHierbox.c: In function 'ButtonConfigureOp': bltHierbox.c:5510:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)hboxPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltHierbox.c:40: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltHtext.c In file included from blt.h:72, from bltInt.h:81, from bltHtext.c:43: bltHtext.c: In function 'AppendOp': bltHtext.c:3923:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc - 3, argv + 3, (char *)winPtr, 0) != TCL_OK) { ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltHtext.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltHtext.c:43: bltHtext.c: In function 'ConfigureOp': bltHtext.c:4093:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 2, itemPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltHtext.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltHtext.c:43: bltHtext.c: In function 'TextCmd': bltHtext.c:4491:8: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 2, (char *)htPtr, 0) != TCL_OK) || ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltHtext.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltImage.c bltImage.c: In function 'Blt_MergeColorImage': bltImage.c:2748:48: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] destPtr->Red = (int)(0.5+srcPtr->rgba.red * a1 + src2Ptr->rgba.red * a2); ~~~~~~~~~~~~~~~~~^~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUnixImage.c In file included from blt.h:54, from bltInt.h:81, from bltUnixImage.c:29: bltUnixImage.c: In function 'Blt_DrawableToColorImage': bltUnixImage.c:577:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltPs.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTable.c In file included from blt.h:72, from bltInt.h:81, from bltTable.c:47: bltTable.c: In function 'ConfigureEntry': bltTable.c:1205:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)entryPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltTable.c:47: bltTable.c: In function 'ConfigureRowColumn': bltTable.c:1557:32: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] infoPtr->configSpecs, argc, argv, (char *)rcPtr, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltTable.c:47: bltTable.c:1582:37: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] infoPtr->configSpecs, argc, argv, (char *)rcPtr, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltTable.c:47: bltTable.c: In function 'ConfigureTable': bltTable.c:1865:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)tablePtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltTable.c: In function 'BinEntry': bltTable.c:2037:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] key = (int)Blt_ListGetKey(node); ^ bltTable.c:2049:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newNode = Blt_ListCreateNode(list, (char *)entryPtr->row.span); ^ bltTable.c:2066:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] key = (int)Blt_ListGetKey(node); ^ bltTable.c:2078:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); ^ In file included from blt.h:72, from bltInt.h:81, from bltTable.c:47: bltTable.c: In function 'ManageEntry': bltTable.c:2202:30: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] entryConfigSpecs, argc, argv, (char *)entryPtr, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTabnotebook.c In file included from blt.h:72, from bltInt.h:81, from bltTabnotebook.c:30: bltTabnotebook.c: In function 'ConfigureNotebook': bltTabnotebook.c:2769:69: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, nbPtr->tkwin, configSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTabnotebook.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltTabnotebook.c:30: bltTabnotebook.c: In function 'TabConfigureOp': bltTabnotebook.c:3695:13: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); ^~~~~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTabnotebook.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltTabnotebook.c: In function 'GetWindowRectangle': bltTabnotebook.c:2433:12: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] int x, y; ^ bltTabnotebook.c:2433:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] int x, y; ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTabset.c In file included from blt.h:72, from bltInt.h:81, from bltTabset.c:31: bltTabset.c: In function 'ConfigureTabset': bltTabset.c:3166:70: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, setPtr->tkwin, configSpecs, argc, argv, ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTabset.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltTabset.c: In function 'NearestOp': bltTabset.c:3919:13: warning: variable 'dh' set but not used [-Wunused-but-set-variable] int dw, dh; ^~ bltTabset.c:3919:9: warning: variable 'dw' set but not used [-Wunused-but-set-variable] int dw, dh; ^~ In file included from blt.h:72, from bltInt.h:81, from bltTabset.c:31: bltTabset.c: In function 'TabConfigureOp': bltTabset.c:4456:13: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); ^~~~~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTabset.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltTabset.c: In function 'AdjustTabSizes': bltTabset.c:5250:28: warning: variable 'eImg' set but not used [-Wunused-but-set-variable] int x, maxWidth, sImg, eImg; ^~~~ bltTabset.c: In function 'DrawLabel': bltTabset.c:5926:5: warning: 'i2y' may be used uninitialized in this function [-Wmaybe-uninitialized] Tk_RedrawImage(ImageBits(image2), 0, 0, img2Width, img2Height, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawable, i2x, i2y); ~~~~~~~~~~~~~~~~~~~ bltTabset.c:5926:5: warning: 'i2x' may be used uninitialized in this function [-Wmaybe-uninitialized] bltTabset.c:5911:41: warning: 'ih2' may be used uninitialized in this function [-Wmaybe-uninitialized] i2y = y + (tabPtr->screenHeight - ih2) / 2; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ bltTabset.c:5919:40: warning: 'iw2' may be used uninitialized in this function [-Wmaybe-uninitialized] i2x = x + (tabPtr->screenWidth - iw2) / 2; ~~~~~~~~~~~~~~~~~~~~~^~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltText.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTile.c bltTile.c: In function 'Blt_TileRectangle': bltTile.c:1179:10: warning: variable 'ym' set but not used [-Wunused-but-set-variable] int xm, ym; ^~ bltTile.c:1179:6: warning: variable 'xm' set but not used [-Wunused-but-set-variable] int xm, ym; ^~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeView.c bltTreeView.c: In function 'LabelToObj': bltTreeView.c:1266:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = Blt_TreeNodeLabel(entryPtr->node); ^ bltTreeView.c: In function 'Blt_TreeViewGetUid': bltTreeView.c:1317:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltTreeView.c:34: bltTreeView.c:1320:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltTreeView.c: In function 'Blt_TreeViewFreeUid': bltTreeView.c:1346:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltTreeView.c:34: bltTreeView.c:1349:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ bltTreeView.c: In function 'Blt_TreeViewGetFullName': bltTreeView.c:2389:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] names[i] = GETLABEL(entryPtr); ^ bltTreeView.c:2391:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] names[i] = Blt_TreeNodeLabel(entryPtr->node); ^ bltTreeView.c: In function 'GetEntryExtents': bltTreeView.c:3310:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] label = GETLABEL(entryPtr); ^ bltTreeView.c: In function 'ComputeFillLabel': bltTreeView.c:4717:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = Blt_TreeNodeLabel(entryPtr->node); ^ bltTreeView.c: In function 'Blt_TreeViewRedrawIcon': bltTreeView.c:5045:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result, rcnt; ^~~~~~ bltTreeView.c: In function 'Blt_TreeViewGetEntryIcon': bltTreeView.c:5289:19: warning: variable 'hasFocus' set but not used [-Wunused-but-set-variable] int isActive, hasFocus; ^~~~~~~~ bltTreeView.c: In function 'DrawLabel': bltTreeView.c:5457:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] label = GETLABEL(entryPtr); ^ bltTreeView.c: In function 'DrawTitle': bltTreeView.c:5882:13: warning: variable 'mh' set but not used [-Wunused-but-set-variable] int mw, mh; ^~ In file included from bltTreeView.h:47, from bltTreeView.c:38: bltTreeView.c: In function 'DisplayTreeView': bltTree.h:512:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define Blt_TreeNodeLabel(node) ((node)->label) ^ bltTreeView.c:6510:40: note: in expansion of macro 'Blt_TreeNodeLabel' char *string = Blt_TreeNodeLabel(entryPtr->node); ^~~~~~~~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewCmd.c bltTreeViewCmd.c: In function 'GetEntryFromSpecialId': bltTreeViewCmd.c:519:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { ^ bltTreeViewCmd.c:519:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { ^ bltTreeViewCmd.c: In function 'GetTagInfo': bltTreeViewCmd.c:671:7: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int inode; ^~~~~ bltTreeViewCmd.c: In function 'Blt_TreeViewPercentSubst': bltTreeViewCmd.c:1335:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = (entryPtr?GETLABEL(entryPtr):""); ^ bltTreeViewCmd.c:1345:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = (columnPtr?columnPtr->key:"??"); ^ bltTreeViewCmd.c: In function 'EntrySetOp': bltTreeViewCmd.c:1692:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ bltTreeViewCmd.c: In function 'EntryIncrOp': bltTreeViewCmd.c:1780:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ bltTreeViewCmd.c: In function 'EntryGetOp': bltTreeViewCmd.c:1844:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ bltTreeViewCmd.c: In function 'EditOp': bltTreeViewCmd.c:2659:19: warning: variable 'wy' set but not used [-Wunused-but-set-variable] int x, y, wx, wy; ^~ bltTreeViewCmd.c:2659:15: warning: variable 'wx' set but not used [-Wunused-but-set-variable] int x, y, wx, wy; ^~ bltTreeViewCmd.c: In function 'FindOp': bltTreeViewCmd.c:4286:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] curValue = Blt_TreeNodeLabel(entryPtr->node); ^ bltTreeViewCmd.c:3771:34: warning: variable 'cmdValue' set but not used [-Wunused-but-set-variable] int isnull, retLabel, isret, cmdValue; ^~~~~~~~ bltTreeViewCmd.c: In function 'SearchAndApplyToTree': bltTreeViewCmd.c:4879:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] curValue = Blt_TreeNodeLabel(entryPtr->node); ^ bltTreeViewCmd.c:4666:11: warning: variable 'pattern' set but not used [-Wunused-but-set-variable] char *pattern, *curValue; ^~~~~~~ bltTreeViewCmd.c: In function 'InsertOp': bltTreeViewCmd.c:5231:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_ListObjGetElements(interp, objv[count+1], &tobjc, &tobjv) != TCL_OK) { ^~~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltTreeViewCmd.c:39: /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' {aka 'struct Tcl_Obj ***'} but argument is of type 'Tcl_Obj * const**' {aka 'struct Tcl_Obj * const**'} Tcl_Obj ***objvPtr); ~~~~~~~~~~~^~~~~~~ bltTreeViewCmd.c:5236:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_ListObjGetElements(interp, objv[count+1], &sobjc, &sobjv) != TCL_OK) { ^~~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltTreeViewCmd.c:39: /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' {aka 'struct Tcl_Obj ***'} but argument is of type 'Tcl_Obj * const**' {aka 'struct Tcl_Obj * const**'} Tcl_Obj ***objvPtr); ~~~~~~~~~~~^~~~~~~ bltTreeViewCmd.c:5195:42: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int optSkips, i, m, start, nOptions, inode; ^~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewEdit.c bltTreeViewEdit.c: In function 'AcquireText': bltTreeViewEdit.c:753:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = GETLABEL(entryPtr); ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewColumn.c bltTreeViewColumn.c: In function 'ObjToData': bltTreeViewColumn.c:416:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ bltTreeViewColumn.c: In function 'Blt_TreeViewNumColumns': bltTreeViewColumn.c:712:21: warning: variable 'columnPtr' set but not used [-Wunused-but-set-variable] TreeViewColumn *columnPtr; ^~~~~~~~~ bltTreeViewColumn.c: In function 'CreateColumn': bltTreeViewColumn.c:1329:11: warning: passing argument 3 of 'Blt_ConfigureComponentFromObj' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] columnPtr->key, "Column", columnSpecs, objc, objv, (char *)columnPtr, ~~~~~~~~~^~~~~ In file included from bltInt.h:39, from bltTreeViewColumn.c:40: bltObjConfig.h:211:25: note: expected 'char *' but argument is of type 'Blt_TreeKey' {aka 'const char *'} Tk_Window tkwin, char *name, char *className, Blt_ConfigSpec *specs, ~~~~~~^~~~ /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltTreeViewColumn.c: In function 'ColumnActivateOp': bltTreeViewColumn.c:1424:51: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Tcl_SetResult(interp, tvPtr->activeTitleColumnPtr->key, TCL_VOLATILE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltTreeViewColumn.c:40: /usr/local/include/tcl8.6/generic/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'Blt_TreeKey' {aka 'const char *'} EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ~~~~~~^~~~~~ bltTreeViewColumn.c: In function 'ColumnCurrentOp': bltTreeViewColumn.c:1972:33: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Tcl_SetResult(interp, columnPtr->key, TCL_VOLATILE); ~~~~~~~~~^~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from bltInt.h:39, from bltTreeViewColumn.c:40: /usr/local/include/tcl8.6/generic/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'Blt_TreeKey' {aka 'const char *'} EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ~~~~~~^~~~~~ bltTreeViewColumn.c: In function 'ColumnPercentSubst': bltTreeViewColumn.c:2011:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = columnPtr->key; ^ bltTreeViewColumn.c: In function 'ColumnSeeOp': bltTreeViewColumn.c:2480:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] int width, height; ^~~~~~ bltTreeViewColumn.c: In function 'Blt_TreeViewSortFlatView': bltTreeViewColumn.c:3345:14: warning: variable 'key' set but not used [-Wunused-but-set-variable] Blt_TreeKey key; ^~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewStyle.c bltTreeViewStyle.c: In function 'DrawCheckBox': bltTreeViewStyle.c:1603:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] TextLayout *layPtr; ^~~~~~ bltTreeViewStyle.c:1598:22: warning: variable 'relief' set but not used [-Wunused-but-set-variable] int borderWidth, relief; ^~~~~~ bltTreeViewStyle.c:1598:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] int borderWidth, relief; ^~~~~~~~~~~ bltTreeViewStyle.c: In function 'DrawBarBox': bltTreeViewStyle.c:2630:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] TextLayout *layPtr; ^~~~~~ bltTreeViewStyle.c:2627:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ bltTreeViewStyle.c: In function 'DrawWindowBox': bltTreeViewStyle.c:3415:15: warning: variable 'tkwin' set but not used [-Wunused-but-set-variable] Tk_Window tkwin; ^~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUnixDnd.c In file included from blt.h:72, from bltInt.h:81, from bltUnixDnd.c:33: bltUnixDnd.c: In function 'ConfigureToken': bltUnixDnd.c:1838:3: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv, (char *)tokenPtr, flags) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltUnixDnd.c:33: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltUnixDnd.c:33: bltUnixDnd.c: In function 'ConfigureOp': bltUnixDnd.c:3781:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 3, (char *)dndPtr, flags) != TCL_OK) { ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltUnixDnd.c:33: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from blt.h:72, from bltInt.h:81, from bltUnixDnd.c:33: bltUnixDnd.c: In function 'RegisterOp': bltUnixDnd.c:4444:10: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 3, (char *)dndPtr, 0) != TCL_OK) { ~~~~~^~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltUnixDnd.c:33: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ At top level: bltUnixDnd.c:1463:1: warning: 'MorphToken' defined but not used [-Wunused-function] MorphToken(dndPtr) ^~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltWindow.c cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltObjConfig.c bltObjConfig.c: In function 'DoConfig': bltObjConfig.c:1341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flag = (unsigned int)specPtr->customPtr; ^ bltObjConfig.c: In function 'FormatConfigValue': bltObjConfig.c:1642:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltWinop.c bltWinop.c: In function 'ColorsOp': bltWinop.c:984:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cnt = (int)Blt_GetHashValue(hPtr); ^ In file included from blt.h:54, from bltInt.h:81, from bltWinop.c:27: ./bltHash.h:191:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^ bltWinop.c:986:17: note: in expansion of macro 'Blt_SetHashValue' Blt_SetHashValue(hPtr, cnt); ^~~~~~~~~~~~~~~~ bltWinop.c:998:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cnt = (int)Blt_GetHashValue(hPtr); ^ bltWinop.c:916:9: warning: variable 'top' set but not used [-Wunused-but-set-variable] int top, x, y, isalph, iscnt, isNew, cnt; ^~~ bltWinop.c: In function 'GradientsOp': bltWinop.c:1527:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, width; ^ bltWinop.c: In function 'Blt_GetGradient': bltWinop.c:1577:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, width; ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include tkButton.c tkButton.c: In function 'StringToName': tkButton.c:355:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] char c; ^ tkButton.c: In function 'StringToIcons': tkButton.c:901:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result, i; ^~~~~~ tkButton.c: In function 'ButtonGetValue': tkButton.c:1340:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return value; ^~~~~ In file included from blt.h:72, from bltInt.h:81, from tkButton.c:18: tkButton.c: In function 'ConfigureButton': tkButton.c:1723:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)butPtr, flags) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from tkButton.c:18: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ tkButton.c:1706:9: warning: variable 'oldNode' set but not used [-Wunused-but-set-variable] int oldNode, result = TCL_OK; ^~~~~~~ tkButton.c: In function 'DisplayButton': tkButton.c:2222:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] int borderWidth, drawBorder; ^~~~~~~~~~~ In file included from bltInt.h:39, from tkButton.c:18: tkButton.c: In function 'ConfigureButton': /usr/local/include/tcl8.6/generic/tcl.h:2487:5: warning: 'oldSelVar' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_Free((char *)(x)) ^~~~~~~~ tkButton.c:1704:24: note: 'oldSelVar' was declared here char *oldTextVar, *oldSelVar; ^~~~~~~~~ In file included from bltInt.h:39, from tkButton.c:18: /usr/local/include/tcl8.6/generic/tcl.h:2487:5: warning: 'oldTextVar' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_Free((char *)(x)) ^~~~~~~~ tkButton.c:1704:11: note: 'oldTextVar' was declared here char *oldTextVar, *oldSelVar; ^~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include tkFrame.c In file included from blt.h:72, from bltInt.h:81, from tkFrame.c:18: tkFrame.c: In function 'ConfigureFrame': tkFrame.c:737:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)framePtr, flags | framePtr->mask) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from tkFrame.c:18: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltScrollbar.c In file included from blt.h:72, from bltInt.h:81, from bltScrollbar.c:19: bltScrollbar.c: In function 'ConfigureScrollbar': bltScrollbar.c:917:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)scrollPtr, flags) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltScrollbar.c:19: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ bltScrollbar.c: In function 'DisplayScrollbar': bltScrollbar.c:1020:12: warning: unused variable 'points' [-Wunused-variable] XPoint points[7]; ^~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTed.c In file included from blt.h:72, from bltInt.h:81, from bltTed.c:28: bltTed.c: In function 'ConfigureTed': bltTed.c:830:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)tedPtr, flags) != TCL_OK) { ^~~~ bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from bltInt.h:39, from bltTed.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ At top level: bltTed.c:552:1: warning: 'CreateEntry' defined but not used [-Wunused-function] CreateEntry(tedPtr, entryPtr) ^~~~~~~~~~~ cc -c -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./bltInit.c ./bltInit.c: In function 'Blt_Init': ./bltInit.c:514:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); ^ ./bltInit.c:573:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (ClientData)(flags | BLT_TCL_CMDS)); ^ ./bltInit.c:609:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (ClientData)(flags | BLT_TK_CMDS)); ^ 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 bltStubLib.o bltStubInit.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 cc -Wall -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -o bltwish \ -DTCLLIBPATH=\"/usr/local/lib/tcl8.6\" \ ./bltUnixMain.c libBLT.a -L/usr/local/lib -ltk86 -ltcl86 -lX11 -L/usr/local/lib -ljpeg -lm (cd shared; gmake CFLAGS="-pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing " all) gmake[4]: Entering directory '/construction/x11-toolkits/blt/blt2.5/generic/shared' cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrAxis.c ../bltGrAxis.c: In function 'StringToTicks': ../bltGrAxis.c:672:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int mask = (unsigned int)clientData; ^ ../bltGrAxis.c: In function 'UseOp': ../bltGrAxis.c:3674:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] margin = (int)argv[-1]; ^ ../bltGrAxis.c: In function 'Blt_AxisOp': ../bltGrAxis.c:4218:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] argv[2] = (char *)margin; /* Hack. Slide a reference to the margin in ^ ../bltGrAxis.c: In function 'Blt_ResetAxes': ../bltGrAxis.c:328:27: warning: 'axisMax' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ ../bltGrAxis.c:1554:21: note: 'axisMax' was declared here double axisMin, axisMax; ^~~~~~~ ../bltGrAxis.c:328:27: warning: 'axisMin' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ ../bltGrAxis.c:1554:12: note: 'axisMin' was declared here double axisMin, axisMax; ^~~~~~~ ../bltGrAxis.c:1582:30: warning: 'step' may be used uninitialized in this function [-Wmaybe-uninitialized] axisPtr->majorSweep.step = step; ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../bltGrAxis.c:1552:19: note: 'step' was declared here double range, step; ^~~~ ../bltGrAxis.c:328:27: warning: 'tickMax' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ ../bltGrAxis.c:1423:21: note: 'tickMax' was declared here double tickMin, tickMax; ^~~~~~~ ../bltGrAxis.c:328:27: warning: 'tickMin' may be used uninitialized in this function [-Wmaybe-uninitialized] rangePtr->range = max - min; ~~~~^~~~~ ../bltGrAxis.c:1423:12: note: 'tickMin' was declared here double tickMin, tickMax; ^~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrBar.c ../bltGrBar.c: In function 'Blt_InitFreqTable': ../bltGrBar.c:2200:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltGraph.h:28, from ../bltGrBar.c:28: ../bltGrBar.c:2206:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)count); ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ ../bltGrBar.c:2222:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^ ../bltGrBar.c:2227:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] count = (int)Blt_GetHashValue(hPtr); ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrElem.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrGrid.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrHairs.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrLegd.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrLine.c ../bltGrLine.c: In function 'ClosestLine': ../bltGrLine.c:3109:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3082:13: note: 'closest.y' was declared here Point2D closest, b; ^~~~~~~ ../bltGrLine.c:3109:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3082:13: note: 'closest.x' was declared here Point2D closest, b; ^~~~~~~ ../bltGrLine.c:3158:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3137:13: note: 'closest.y' was declared here Point2D closest, b; ^~~~~~~ ../bltGrLine.c:3158:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ &(linePtr->axes)); ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3137:13: note: 'closest.x' was declared here Point2D closest, b; ^~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrMarker.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrMisc.c ../bltGrMisc.c: In function 'StringToColorPair': ../bltGrMisc.c:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int allowDefault = (int)clientData; ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrPen.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrPs.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGraph.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltAlloc.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltArrayObj.c ../bltArrayObj.c: In function 'SetArrayFromAny': ../bltArrayObj.c:88:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] oldTypePtr = objPtr->typePtr; ^ ../bltArrayObj.c:72:13: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_AppendResult(interp, "odd length: ", string, 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBgexec.c ../bltBgexec.c: In function 'InitSink': ../bltBgexec.c:669:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sinkPtr->file = (Tcl_File)NULL; ^ ../bltBgexec.c: In function 'FreeSinkBuffer': ../bltBgexec.c:727:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sinkPtr->file = (Tcl_File)NULL; ^ ../bltBgexec.c: In function 'CloseSink': ../bltBgexec.c:884:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sinkPtr->file = (Tcl_File)NULL; ^ ../bltBgexec.c: In function 'CollectData': ../bltBgexec.c:1300:8: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((nBytes == 0) || (data[0] == '\0')) { ^ ../bltBgexec.c:1360:6: note: 'length' was declared here int length; ^~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltChain.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltDebug.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltHash.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltList.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltNsUtil.c In file included from /usr/local/include/tcl8.6/generic/tclTomMathDecls.h:20, from /usr/local/include/tcl8.6/generic/tclInt.h:4930, from ../bltNsUtil.c:30: /usr/local/include/tcl8.6/generic/tclTomMath.h:261: warning: "SIGN" redefined #define SIGN(m) ((m)->sign) In file included from ../bltInt.h:112, from ../bltNsUtil.c:28: ../bltMath.h:139: note: this is the location of the previous definition #define SIGN(x) (((x) < 0.0) ? -1 : 1) cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltParse.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltPool.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltSpline.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltSwitch.c ../bltSwitch.c: In function 'Blt_ProcessSwitches': ../bltSwitch.c:325:58: warning: comparison between pointer and zero character constant [-Wpointer-compare] if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { ^~ ../bltSwitch.c:325:50: note: did you mean to dereference the pointer? if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTree.c ../bltTree.c: In function 'IsTclDict': ../bltTree.c:50:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] dictType = obj->typePtr; ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltTree.c:30: ../bltTree.c: In function 'FreeNode': ../bltTree.c:425:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)nodePtr->inode); ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ ../bltTree.c: In function 'Blt_TreeCreateNode': ../bltTree.c:935:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltTree.c: In function 'Blt_TreeCreateNodeWithId': ../bltTree.c:1031:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, &isNew); ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltTree.c: In function 'Blt_TreeGetNode': ../bltTree.c:1167:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)inode); ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ ../bltTree.c: In function 'Blt_TreeRelabelNode': ../bltTree.c:1235:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int result, inode; ^~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeCmd.c In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltTreeCmd.c:107: ../bltTreeCmd.c: In function 'ParseNode5': ../bltTreeCmd.c:1644:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltTreeCmd.c:1654:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&dataPtr->idTable, (char *)parentId); ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ ../bltTreeCmd.c:1691:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltTreeCmd.c:1701:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltTreeCmd.c: In function 'SetValues': ../bltTreeCmd.c:2081:9: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int inode; ^~~~~ ../bltTreeCmd.c: In function 'UpdateValues': ../bltTreeCmd.c:2111:26: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int result = TCL_OK, inode; ^~~~~ ../bltTreeCmd.c: In function 'ComparePatternList': ../bltTreeCmd.c:2202:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] type = (int)Blt_ListGetValue(node); ^ ../bltTreeCmd.c: In function 'DeleteOp': ../bltTreeCmd.c:3664:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); ^ ../bltTreeCmd.c:3674:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] inode = (int)Blt_ChainGetValue(linkPtr); ^ ../bltTreeCmd.c: In function 'CreateOp': ../bltTreeCmd.c:4559:20: warning: variable 'hasnum' set but not used [-Wunused-but-set-variable] int fixed = 0, hasnum = 0, hcnt = 0; ^~~~~~ ../bltTreeCmd.c: In function 'KeysOp': ../bltTreeCmd.c:4989:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ ../bltTreeCmd.c: In function 'updateOp': ../bltTreeCmd.c:6532:29: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int i, result = TCL_OK, inode; ^~~~~ ../bltTreeCmd.c: In function 'SetOp': ../bltTreeCmd.c:6606:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ ../bltTreeCmd.c: In function 'ModifyOp': ../bltTreeCmd.c:6841:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ ../bltTreeCmd.c: In function 'TagNodesOp': ../bltTreeCmd.c:7176:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ ../bltTreeCmd.c: In function 'TypeOp': ../bltTreeCmd.c:7740:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltTreeCmd.c:107: /usr/local/include/tcl8.6/generic/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'const char * const' EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ~~~~~~^~~~~~ ../bltTreeCmd.c: In function 'UnsetOp': ../bltTreeCmd.c:7763:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ ../bltTreeCmd.c: In function 'WithOp': ../bltTreeCmd.c:8091:57: warning: variable 'isar' set but not used [-Wunused-but-set-variable] int vobjc, kobjc, i, result = TCL_OK, len, cnt = 0, isar; ^~~~ ../bltTreeCmd.c: In function 'ForeachOp': ../bltTreeCmd.c:8567:13: warning: 'errorLine' is deprecated: use Tcl_GetErrorLine/Tcl_SetErrorLine [-Wdeprecated-declarations] "\n (\"tree foreach\" body line ", Blt_Itoa(interp->errorLine), ")\n", 0); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../bltInt.h:39, from ../bltTreeCmd.c:107: /usr/local/include/tcl8.6/generic/tcl.h:516:9: note: declared here int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine"); ^~~~~~~~~ ../bltTreeCmd.c:8533:17: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *var, *string; ^~~~~~ ../bltTreeCmd.c: In function 'WithOp': ../bltTreeCmd.c:8472:29: warning: 'aName' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Blt_TreeSetArrayValue(interp, cmdPtr->tree, node, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aName, skey, newValuePtr) != TCL_OK) { ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUnixPipe.c ../bltUnixPipe.c: In function 'CreateProcess': ../bltUnixPipe.c:511:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG); ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUtil.c ../bltUtil.c: In function 'Blt_GetUid': ../bltUtil.c:830:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltUtil.c:28: ../bltUtil.c:833:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ ../bltUtil.c: In function 'Blt_FreeUid': ../bltUtil.c:867:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltUtil.c:28: ../bltUtil.c:872:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVector.c ../bltVector.c: In function 'VectorConfigureObjOp': ../bltVector.c:1918:13: warning: 'ovar' may be used uninitialized in this function [-Wmaybe-uninitialized] if (Tcl_GetBooleanFromObj(interp, objv[i+1], ovar) != TCL_OK) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVecMath.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVecCmd.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVecObjCmd.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltWatch.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBeep.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBind.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBitmap.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltBitmap.c:50: ../bltBitmap.c: In function 'ComposeOp': ../bltBitmap.c:921:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltBitmap.c:50: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltBitmap.c:50: ../bltBitmap.c: In function 'DefineOp': ../bltBitmap.c:1031:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltBitmap.c:50: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBusy.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltBusy.c:29: ../bltBusy.c: In function 'ConfigureBusy': ../bltBusy.c:421:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, busyPtr->tkRef, configSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltBusy.c:29: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltCanvEps.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltCanvEps.c:37: ../bltCanvEps.c: In function 'ConfigureEps': ../bltCanvEps.c:1294:6: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv, (char *)epsPtr, flags) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltCanvEps.c:37: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltCanvEps.c: In function 'Blt_InitEpsCanvasItem': ../bltCanvEps.c:2008:26: warning: assignment to 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)' {aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)'} from incompatible pointer type 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)' {aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)'} [-Wincompatible-pointer-types] tagsOption.parseProc = Tk_CanvasTagsParseProc; ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltColor.c In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltColor.c:71: ../bltColor.c: In function 'GetUniqueColors': ../bltColor.c:538:42: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltColor.c:543:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltColor.c:71: ../bltColor.c:546:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ ../bltColor.c: In function 'PrivateColormap': ../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; ^~~~~~~~~~~ At top level: ../bltColor.c:519:1: warning: 'GetUniqueColors' defined but not used [-Wunused-function] GetUniqueColors(image) ^~~~~~~~~~~~~~~ ../bltColor.c:313:1: warning: 'AllocateColors' defined but not used [-Wunused-function] AllocateColors(nImageColors, colorTabPtr, matchOnly) ^~~~~~~~~~~~~~ ../bltColor.c:254:1: warning: 'MatchColors' defined but not used [-Wunused-function] MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, ^~~~~~~~~~~ ../bltColor.c:108:1: warning: 'BuildColorRamp' defined but not used [-Wunused-function] BuildColorRamp(palettePtr, nColors) ^~~~~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltConfig.c ../bltConfig.c: In function 'Blt_StringToFlag': ../bltConfig.c:445:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ ^ ../bltConfig.c: In function 'Blt_FlagToString': ../bltConfig.c:481:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ ^ ../bltConfig.c: In function 'StringToDistance': ../bltConfig.c:562:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return Blt_GetPixels(interp, tkwin, string, (int)clientData, valuePtr); ^ ../bltConfig.c: In function 'StringToCount': ../bltConfig.c:651:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return Blt_GetInt(interp, string, (int)clientData, valuePtr); ^ ../bltConfig.c: In function 'Blt_ConfigureWidgetComponent': ../bltConfig.c:1565:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] oldClass = Tk_Class(tkwin); ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltConfig.c:28: ../bltConfig.c:1576:64: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] result = Tk_ConfigureWidget(interp, tkwin, specsPtr, argc, argv, widgRec, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltConfig.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../bltConfig.c:1671: ../bltOldConfig.c: In function 'DoConfig': ../bltOldConfig.c:581:4: warning: passing argument 4 of 'specPtr->customPtr->parseProc' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] value, widgRec, specPtr->offset) != TCL_OK) { ^~~~~ ../bltOldConfig.c:581:4: note: expected 'char *' but argument is of type 'Tk_Uid' {aka 'const char *'} ../bltOldConfig.c: In function 'FormatConfigInfo': ../bltOldConfig.c:740:22: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] return Tcl_Merge(2, argv); ^~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltConfig.c:28: /usr/local/include/tcl8.6/generic/tclDecls.h:585:16: note: expected 'char * const*' but argument is of type 'const char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ In file included from ../bltConfig.c:1671: ../bltOldConfig.c:771:31: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] result = Tcl_Merge(6, argv); ^~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltConfig.c:28: /usr/local/include/tcl8.6/generic/tclDecls.h:585:16: note: expected 'char * const*' but argument is of type 'const char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ In file included from ../bltConfig.c:1671: ../bltOldConfig.c:774:31: warning: passing argument 2 of 'Tcl_Merge' from incompatible pointer type [-Wincompatible-pointer-types] result = Tcl_Merge(5, argv); ^~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltConfig.c:28: /usr/local/include/tcl8.6/generic/tclDecls.h:585:16: note: expected 'char * const*' but argument is of type 'const char **' EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); ^~~~~~~~~ ../bltConfig.c: In function 'StringToGradient': ../bltConfig.c:1021:25: warning: 'color2Ptr' may be used uninitialized in this function [-Wmaybe-uninitialized] gradientPtr->color2 = color2Ptr; ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltContainer.c ../bltContainer.c: In function 'StringToXID': ../bltContainer.c:825:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] unsigned int flags = (int)clientData; ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltContainer.c:30: ../bltContainer.c: In function 'ConfigureContainer': ../bltContainer.c:1196:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, cntrPtr->tkwin, configSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltContainer.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltCutbuffer.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltDragdrop.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltDragdrop.c:31: ../bltDragdrop.c: In function 'ConfigureToken': ../bltDragdrop.c:1068:75: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, srcPtr->tkwin, tokenConfigSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltDragdrop.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltDragdrop.c:31: ../bltDragdrop.c: In function 'ConfigureSource': ../bltDragdrop.c:1296:70: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, srcPtr->tkwin, configSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltDragdrop.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltHierbox.c In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltHierbox.c:40: ../bltHierbox.c: In function 'CreateNode': ../bltHierbox.c:2080:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' (*((tablePtr)->createProc))(tablePtr, key, newPtr) ^~~ ../bltHierbox.c: In function 'GetNodeByIndex': ../bltHierbox.c:2375:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ ../bltHierbox.c: In function 'NodeToString': ../bltHierbox.c:2409:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltHierbox.c:40: ../bltHierbox.c: In function 'ConfigureEntry': ../bltHierbox.c:3325:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)entryPtr, flags) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltHierbox.c:40: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltHierbox.c:40: ../bltHierbox.c: In function 'ConfigureHierbox': ../bltHierbox.c:3938:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, hboxPtr->tkwin, configSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltHierbox.c:40: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltHierbox.c:40: ../bltHierbox.c: In function 'ButtonConfigureOp': ../bltHierbox.c:5510:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)hboxPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltHierbox.c:40: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltHtext.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltHtext.c:43: ../bltHtext.c: In function 'AppendOp': ../bltHtext.c:3923:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc - 3, argv + 3, (char *)winPtr, 0) != TCL_OK) { ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltHtext.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltHtext.c:43: ../bltHtext.c: In function 'ConfigureOp': ../bltHtext.c:4093:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 2, itemPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltHtext.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltHtext.c:43: ../bltHtext.c: In function 'TextCmd': ../bltHtext.c:4491:8: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 2, (char *)htPtr, 0) != TCL_OK) || ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltHtext.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltImage.c ../bltImage.c: In function 'Blt_MergeColorImage': ../bltImage.c:2748:48: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] destPtr->Red = (int)(0.5+srcPtr->rgba.red * a1 + src2Ptr->rgba.red * a2); ~~~~~~~~~~~~~~~~~^~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUnixImage.c In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltUnixImage.c:29: ../bltUnixImage.c: In function 'Blt_DrawableToColorImage': ../bltUnixImage.c:577:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' (*((tablePtr)->findProc))(tablePtr, key) ^~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltPs.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTable.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTable.c:47: ../bltTable.c: In function 'ConfigureEntry': ../bltTable.c:1205:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)entryPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTable.c:47: ../bltTable.c: In function 'ConfigureRowColumn': ../bltTable.c:1557:32: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] infoPtr->configSpecs, argc, argv, (char *)rcPtr, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTable.c:47: ../bltTable.c:1582:37: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] infoPtr->configSpecs, argc, argv, (char *)rcPtr, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTable.c:47: ../bltTable.c: In function 'ConfigureTable': ../bltTable.c:1865:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)tablePtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltTable.c: In function 'BinEntry': ../bltTable.c:2037:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] key = (int)Blt_ListGetKey(node); ^ ../bltTable.c:2049:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newNode = Blt_ListCreateNode(list, (char *)entryPtr->row.span); ^ ../bltTable.c:2066:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] key = (int)Blt_ListGetKey(node); ^ ../bltTable.c:2078:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTable.c:47: ../bltTable.c: In function 'ManageEntry': ../bltTable.c:2202:30: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] entryConfigSpecs, argc, argv, (char *)entryPtr, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTabnotebook.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTabnotebook.c:30: ../bltTabnotebook.c: In function 'ConfigureNotebook': ../bltTabnotebook.c:2769:69: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, nbPtr->tkwin, configSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTabnotebook.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTabnotebook.c:30: ../bltTabnotebook.c: In function 'TabConfigureOp': ../bltTabnotebook.c:3695:13: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); ^~~~~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTabnotebook.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltTabnotebook.c: In function 'GetWindowRectangle': ../bltTabnotebook.c:2433:12: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] int x, y; ^ ../bltTabnotebook.c:2433:9: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] int x, y; ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTabset.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTabset.c:31: ../bltTabset.c: In function 'ConfigureTabset': ../bltTabset.c:3166:70: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] if (Tk_ConfigureWidget(interp, setPtr->tkwin, configSpecs, argc, argv, ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTabset.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltTabset.c: In function 'NearestOp': ../bltTabset.c:3919:13: warning: variable 'dh' set but not used [-Wunused-but-set-variable] int dw, dh; ^~ ../bltTabset.c:3919:9: warning: variable 'dw' set but not used [-Wunused-but-set-variable] int dw, dh; ^~ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTabset.c:31: ../bltTabset.c: In function 'TabConfigureOp': ../bltTabset.c:4456:13: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); ^~~~~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTabset.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltTabset.c: In function 'AdjustTabSizes': ../bltTabset.c:5250:28: warning: variable 'eImg' set but not used [-Wunused-but-set-variable] int x, maxWidth, sImg, eImg; ^~~~ ../bltTabset.c: In function 'DrawLabel': ../bltTabset.c:5926:5: warning: 'i2y' may be used uninitialized in this function [-Wmaybe-uninitialized] Tk_RedrawImage(ImageBits(image2), 0, 0, img2Width, img2Height, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drawable, i2x, i2y); ~~~~~~~~~~~~~~~~~~~ ../bltTabset.c:5926:5: warning: 'i2x' may be used uninitialized in this function [-Wmaybe-uninitialized] ../bltTabset.c:5911:41: warning: 'ih2' may be used uninitialized in this function [-Wmaybe-uninitialized] i2y = y + (tabPtr->screenHeight - ih2) / 2; ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../bltTabset.c:5919:40: warning: 'iw2' may be used uninitialized in this function [-Wmaybe-uninitialized] i2x = x + (tabPtr->screenWidth - iw2) / 2; ~~~~~~~~~~~~~~~~~~~~~^~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltText.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTile.c ../bltTile.c: In function 'Blt_TileRectangle': ../bltTile.c:1179:10: warning: variable 'ym' set but not used [-Wunused-but-set-variable] int xm, ym; ^~ ../bltTile.c:1179:6: warning: variable 'xm' set but not used [-Wunused-but-set-variable] int xm, ym; ^~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeView.c ../bltTreeView.c: In function 'LabelToObj': ../bltTreeView.c:1266:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = Blt_TreeNodeLabel(entryPtr->node); ^ ../bltTreeView.c: In function 'Blt_TreeViewGetUid': ../bltTreeView.c:1317:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltTreeView.c:34: ../bltTreeView.c:1320:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ ../bltTreeView.c: In function 'Blt_TreeViewFreeUid': ../bltTreeView.c:1346:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] refCount = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltTreeView.c:34: ../bltTreeView.c:1349:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Blt_SetHashValue(hPtr, (ClientData)refCount); ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^~~~~ ../bltTreeView.c: In function 'Blt_TreeViewGetFullName': ../bltTreeView.c:2389:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] names[i] = GETLABEL(entryPtr); ^ ../bltTreeView.c:2391:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] names[i] = Blt_TreeNodeLabel(entryPtr->node); ^ ../bltTreeView.c: In function 'GetEntryExtents': ../bltTreeView.c:3310:8: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] label = GETLABEL(entryPtr); ^ ../bltTreeView.c: In function 'ComputeFillLabel': ../bltTreeView.c:4717:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = Blt_TreeNodeLabel(entryPtr->node); ^ ../bltTreeView.c: In function 'Blt_TreeViewRedrawIcon': ../bltTreeView.c:5045:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result, rcnt; ^~~~~~ ../bltTreeView.c: In function 'Blt_TreeViewGetEntryIcon': ../bltTreeView.c:5289:19: warning: variable 'hasFocus' set but not used [-Wunused-but-set-variable] int isActive, hasFocus; ^~~~~~~~ ../bltTreeView.c: In function 'DrawLabel': ../bltTreeView.c:5457:11: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] label = GETLABEL(entryPtr); ^ ../bltTreeView.c: In function 'DrawTitle': ../bltTreeView.c:5882:13: warning: variable 'mh' set but not used [-Wunused-but-set-variable] int mw, mh; ^~ In file included from ../bltTreeView.h:47, from ../bltTreeView.c:38: ../bltTreeView.c: In function 'DisplayTreeView': ../bltTree.h:512:34: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define Blt_TreeNodeLabel(node) ((node)->label) ^ ../bltTreeView.c:6510:40: note: in expansion of macro 'Blt_TreeNodeLabel' char *string = Blt_TreeNodeLabel(entryPtr->node); ^~~~~~~~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewCmd.c ../bltTreeViewCmd.c: In function 'GetEntryFromSpecialId': ../bltTreeViewCmd.c:519:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { ^ ../bltTreeViewCmd.c:519:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { ^ ../bltTreeViewCmd.c: In function 'GetTagInfo': ../bltTreeViewCmd.c:671:7: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int inode; ^~~~~ ../bltTreeViewCmd.c: In function 'Blt_TreeViewPercentSubst': ../bltTreeViewCmd.c:1335:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = (entryPtr?GETLABEL(entryPtr):""); ^ ../bltTreeViewCmd.c:1345:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = (columnPtr?columnPtr->key:"??"); ^ ../bltTreeViewCmd.c: In function 'EntrySetOp': ../bltTreeViewCmd.c:1692:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ ../bltTreeViewCmd.c: In function 'EntryIncrOp': ../bltTreeViewCmd.c:1780:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ ../bltTreeViewCmd.c: In function 'EntryGetOp': ../bltTreeViewCmd.c:1844:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ ../bltTreeViewCmd.c: In function 'EditOp': ../bltTreeViewCmd.c:2659:19: warning: variable 'wy' set but not used [-Wunused-but-set-variable] int x, y, wx, wy; ^~ ../bltTreeViewCmd.c:2659:15: warning: variable 'wx' set but not used [-Wunused-but-set-variable] int x, y, wx, wy; ^~ ../bltTreeViewCmd.c: In function 'FindOp': ../bltTreeViewCmd.c:4286:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] curValue = Blt_TreeNodeLabel(entryPtr->node); ^ ../bltTreeViewCmd.c:3771:34: warning: variable 'cmdValue' set but not used [-Wunused-but-set-variable] int isnull, retLabel, isret, cmdValue; ^~~~~~~~ ../bltTreeViewCmd.c: In function 'SearchAndApplyToTree': ../bltTreeViewCmd.c:4879:26: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] curValue = Blt_TreeNodeLabel(entryPtr->node); ^ ../bltTreeViewCmd.c:4666:11: warning: variable 'pattern' set but not used [-Wunused-but-set-variable] char *pattern, *curValue; ^~~~~~~ ../bltTreeViewCmd.c: In function 'InsertOp': ../bltTreeViewCmd.c:5231:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_ListObjGetElements(interp, objv[count+1], &tobjc, &tobjv) != TCL_OK) { ^~~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltTreeViewCmd.c:39: /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' {aka 'struct Tcl_Obj ***'} but argument is of type 'Tcl_Obj * const**' {aka 'struct Tcl_Obj * const**'} Tcl_Obj ***objvPtr); ~~~~~~~~~~~^~~~~~~ ../bltTreeViewCmd.c:5236:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] if (Tcl_ListObjGetElements(interp, objv[count+1], &sobjc, &sobjv) != TCL_OK) { ^~~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltTreeViewCmd.c:39: /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' {aka 'struct Tcl_Obj ***'} but argument is of type 'Tcl_Obj * const**' {aka 'struct Tcl_Obj * const**'} Tcl_Obj ***objvPtr); ~~~~~~~~~~~^~~~~~~ ../bltTreeViewCmd.c:5195:42: warning: variable 'inode' set but not used [-Wunused-but-set-variable] int optSkips, i, m, start, nOptions, inode; ^~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewColumn.c ../bltTreeViewColumn.c: In function 'ObjToData': ../bltTreeViewColumn.c:416:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] Blt_TreeNode node; ^~~~ ../bltTreeViewColumn.c: In function 'Blt_TreeViewNumColumns': ../bltTreeViewColumn.c:712:21: warning: variable 'columnPtr' set but not used [-Wunused-but-set-variable] TreeViewColumn *columnPtr; ^~~~~~~~~ ../bltTreeViewColumn.c: In function 'CreateColumn': ../bltTreeViewColumn.c:1329:11: warning: passing argument 3 of 'Blt_ConfigureComponentFromObj' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] columnPtr->key, "Column", columnSpecs, objc, objv, (char *)columnPtr, ~~~~~~~~~^~~~~ In file included from ../bltInt.h:39, from ../bltTreeViewColumn.c:40: ../bltObjConfig.h:211:25: note: expected 'char *' but argument is of type 'Blt_TreeKey' {aka 'const char *'} Tk_Window tkwin, char *name, char *className, Blt_ConfigSpec *specs, ~~~~~~^~~~ /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltTreeViewColumn.c: In function 'ColumnActivateOp': ../bltTreeViewColumn.c:1424:51: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Tcl_SetResult(interp, tvPtr->activeTitleColumnPtr->key, TCL_VOLATILE); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltTreeViewColumn.c:40: /usr/local/include/tcl8.6/generic/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'Blt_TreeKey' {aka 'const char *'} EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ~~~~~~^~~~~~ ../bltTreeViewColumn.c: In function 'ColumnCurrentOp': ../bltTreeViewColumn.c:1972:33: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Tcl_SetResult(interp, columnPtr->key, TCL_VOLATILE); ~~~~~~~~~^~~~~ In file included from /usr/local/include/tcl8.6/generic/tcl.h:2441, from ../bltInt.h:39, from ../bltTreeViewColumn.c:40: /usr/local/include/tcl8.6/generic/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'Blt_TreeKey' {aka 'const char *'} EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, ~~~~~~^~~~~~ ../bltTreeViewColumn.c: In function 'ColumnPercentSubst': ../bltTreeViewColumn.c:2011:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = columnPtr->key; ^ ../bltTreeViewColumn.c: In function 'ColumnSeeOp': ../bltTreeViewColumn.c:2480:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] int width, height; ^~~~~~ ../bltTreeViewColumn.c: In function 'Blt_TreeViewSortFlatView': ../bltTreeViewColumn.c:3345:14: warning: variable 'key' set but not used [-Wunused-but-set-variable] Blt_TreeKey key; ^~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewEdit.c ../bltTreeViewEdit.c: In function 'AcquireText': ../bltTreeViewEdit.c:753:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] string = GETLABEL(entryPtr); ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewStyle.c ../bltTreeViewStyle.c: In function 'DrawCheckBox': ../bltTreeViewStyle.c:1603:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] TextLayout *layPtr; ^~~~~~ ../bltTreeViewStyle.c:1598:22: warning: variable 'relief' set but not used [-Wunused-but-set-variable] int borderWidth, relief; ^~~~~~ ../bltTreeViewStyle.c:1598:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] int borderWidth, relief; ^~~~~~~~~~~ ../bltTreeViewStyle.c: In function 'DrawBarBox': ../bltTreeViewStyle.c:2630:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] TextLayout *layPtr; ^~~~~~ ../bltTreeViewStyle.c:2627:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] char *string; ^~~~~~ ../bltTreeViewStyle.c: In function 'DrawWindowBox': ../bltTreeViewStyle.c:3415:15: warning: variable 'tkwin' set but not used [-Wunused-but-set-variable] Tk_Window tkwin; ^~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUnixDnd.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltUnixDnd.c:33: ../bltUnixDnd.c: In function 'ConfigureToken': ../bltUnixDnd.c:1838:3: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv, (char *)tokenPtr, flags) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltUnixDnd.c:33: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltUnixDnd.c:33: ../bltUnixDnd.c: In function 'ConfigureOp': ../bltUnixDnd.c:3781:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 3, (char *)dndPtr, flags) != TCL_OK) { ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltUnixDnd.c:33: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltUnixDnd.c:33: ../bltUnixDnd.c: In function 'RegisterOp': ../bltUnixDnd.c:4444:10: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argv + 3, (char *)dndPtr, 0) != TCL_OK) { ~~~~~^~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltUnixDnd.c:33: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ At top level: ../bltUnixDnd.c:1463:1: warning: 'MorphToken' defined but not used [-Wunused-function] MorphToken(dndPtr) ^~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltWindow.c cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltObjConfig.c ../bltObjConfig.c: In function 'DoConfig': ../bltObjConfig.c:1341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flag = (unsigned int)specPtr->customPtr; ^ ../bltObjConfig.c: In function 'FormatConfigValue': ../bltObjConfig.c:1642:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltWinop.c ../bltWinop.c: In function 'ColorsOp': ../bltWinop.c:984:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cnt = (int)Blt_GetHashValue(hPtr); ^ In file included from ../blt.h:54, from ../bltInt.h:81, from ../bltWinop.c:27: ../bltHash.h:191:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) ^ ../bltWinop.c:986:17: note: in expansion of macro 'Blt_SetHashValue' Blt_SetHashValue(hPtr, cnt); ^~~~~~~~~~~~~~~~ ../bltWinop.c:998:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cnt = (int)Blt_GetHashValue(hPtr); ^ ../bltWinop.c:916:9: warning: variable 'top' set but not used [-Wunused-but-set-variable] int top, x, y, isalph, iscnt, isNew, cnt; ^~~ ../bltWinop.c: In function 'GradientsOp': ../bltWinop.c:1527:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, width; ^ ../bltWinop.c: In function 'Blt_GetGradient': ../bltWinop.c:1577:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y, width; ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../tkButton.c ../tkButton.c: In function 'StringToName': ../tkButton.c:355:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] char c; ^ ../tkButton.c: In function 'StringToIcons': ../tkButton.c:901:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] int result, i; ^~~~~~ ../tkButton.c: In function 'ButtonGetValue': ../tkButton.c:1340:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] return value; ^~~~~ In file included from ../blt.h:72, from ../bltInt.h:81, from ../tkButton.c:18: ../tkButton.c: In function 'ConfigureButton': ../tkButton.c:1723:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)butPtr, flags) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../tkButton.c:18: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../tkButton.c:1706:9: warning: variable 'oldNode' set but not used [-Wunused-but-set-variable] int oldNode, result = TCL_OK; ^~~~~~~ ../tkButton.c: In function 'DisplayButton': ../tkButton.c:2222:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] int borderWidth, drawBorder; ^~~~~~~~~~~ In file included from ../bltInt.h:39, from ../tkButton.c:18: ../tkButton.c: In function 'ConfigureButton': /usr/local/include/tcl8.6/generic/tcl.h:2487:5: warning: 'oldSelVar' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_Free((char *)(x)) ^~~~~~~~ ../tkButton.c:1704:24: note: 'oldSelVar' was declared here char *oldTextVar, *oldSelVar; ^~~~~~~~~ In file included from ../bltInt.h:39, from ../tkButton.c:18: /usr/local/include/tcl8.6/generic/tcl.h:2487:5: warning: 'oldTextVar' may be used uninitialized in this function [-Wmaybe-uninitialized] Tcl_Free((char *)(x)) ^~~~~~~~ ../tkButton.c:1704:11: note: 'oldTextVar' was declared here char *oldTextVar, *oldSelVar; ^~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../tkFrame.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../tkFrame.c:18: ../tkFrame.c: In function 'ConfigureFrame': ../tkFrame.c:737:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)framePtr, flags | framePtr->mask) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../tkFrame.c:18: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltScrollbar.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltScrollbar.c:19: ../bltScrollbar.c: In function 'ConfigureScrollbar': ../bltScrollbar.c:917:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)scrollPtr, flags) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltScrollbar.c:19: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ ../bltScrollbar.c: In function 'DisplayScrollbar': ../bltScrollbar.c:1020:12: warning: unused variable 'points' [-Wunused-variable] XPoint points[7]; ^~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTed.c In file included from ../blt.h:72, from ../bltInt.h:81, from ../bltTed.c:28: ../bltTed.c: In function 'ConfigureTed': ../bltTed.c:830:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] argc, argv, (char *)tedPtr, flags) != TCL_OK) { ^~~~ ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) ^~~~ In file included from ../bltInt.h:39, from ../bltTed.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' int argc, CONST char ** argv, /usr/local/include/tcl8.6/generic/tcl.h:250:27: note: in definition of macro '_ANSI_ARGS_' # define _ANSI_ARGS_(x) x ^ At top level: ../bltTed.c:552:1: warning: 'CreateEntry' defined but not used [-Wunused-function] CreateEntry(tedPtr, entryPtr) ^~~~~~~~~~~ cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./../bltInit.c ./../bltInit.c: In function 'Blt_Init': ./../bltInit.c:514:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); ^ ./../bltInit.c:573:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (ClientData)(flags | BLT_TCL_CMDS)); ^ ./../bltInit.c:609:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (ClientData)(flags | BLT_TK_CMDS)); ^ rm -f libBLT25.so cc -shared -Wl,-x -o libBLT25.so bltInit.o 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 bltTreeViewColumn.o bltTreeViewEdit.o bltTreeViewStyle.o bltUnixDnd.o bltWindow.o bltObjConfig.o bltWinop.o tkButton.o tkFrame.o bltScrollbar.o bltTed.o \ -lm -L/usr/local/lib -ljpeg -ltk86 -ltcl86 cc -c -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./../bltInit.c ./../bltInit.c: In function 'SetLibraryPath': ./../bltInit.c:441:16: warning: unused variable 'tkisinit' [-Wunused-variable] static int tkisinit = 0; ^~~~~~~~ ./../bltInit.c: In function 'Blt_Init': ./../bltInit.c:514:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); ^ ./../bltInit.c:573:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] (ClientData)(flags | BLT_TCL_CMDS)); ^ At top level: ./../bltInit.c:441:16: warning: 'tkisinit' defined but not used [-Wunused-variable] static int tkisinit = 0; ^~~~~~~~ rm -f libBLTlite25.so cc -shared -Wl,-x -o libBLTlite25.so bltInit.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 \ -lm rm -f bltwish25 cc -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -o bltwish25 \ ./../bltUnixMain.c libBLT25.so -L/usr/local/lib -ltk86 -ltcl86 -lX11 -L/usr/local/lib -ljpeg -lm rm -f bltsh25 cc -Wall -fPIC -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -O2 -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -o bltsh25 \ ./../bltUnixMain.c libBLTlite25.so \ -lm -L/usr/local/lib -ltcl86 -lm gmake[4]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/generic/shared' gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/generic' (cd library; gmake all) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/library' rm -f pkgIndex.tcl sed -e 's/%VERSION%/2.5/' ./pkgIndex.tcl.in | \ sed -e 's/%LIB_PREFIX%/lib/' | \ sed -e 's;%LIB_DIR%;/usr/local/lib;' > pkgIndex.tcl gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/library' (cd man; gmake all) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/man' Makefile:66: warning: ignoring prerequisites on suffix rule definition Makefile:62: warning: ignoring prerequisites on suffix rule definition rm -rf BLT.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' BLT.mann > BLT.n rm -rf barchart.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' barchart.mann > barchart.n rm -rf beep.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' beep.mann > beep.n rm -rf bgexec.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' bgexec.mann > bgexec.n rm -rf bitmap.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' bitmap.mann > bitmap.n rm -rf bltdebug.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' bltdebug.mann > bltdebug.n rm -rf busy.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' busy.mann > busy.n rm -rf container.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' container.mann > container.n rm -rf cutbuffer.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' cutbuffer.mann > cutbuffer.n rm -rf dragdrop.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' dragdrop.mann > dragdrop.n rm -rf eps.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' eps.mann > eps.n rm -rf graph.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' graph.mann > graph.n rm -rf hierbox.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' hierbox.mann > hierbox.n rm -rf hiertable.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' hiertable.mann > hiertable.n rm -rf htext.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' htext.mann > htext.n rm -rf spline.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' spline.mann > spline.n rm -rf stripchart.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' stripchart.mann > stripchart.n rm -rf table.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' table.mann > table.n rm -rf tabset.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' tabset.mann > tabset.n rm -rf tile.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' tile.mann > tile.n rm -rf tree.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' tree.mann > tree.n rm -rf treeview.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' treeview.mann > treeview.n rm -rf vector.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' vector.mann > vector.n rm -rf watch.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' watch.mann > watch.n rm -rf winop.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' 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.5/' 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.5/' 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.5/' 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.5/' 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.5/' 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.5/' 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.5/' 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.5/' 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.5/' 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.5/' Blt_TreeReleaseToken.man3 > Blt_TreeReleaseToken.3 gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/man' (cd demos; gmake all) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/demos' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/demos' gmake[2]: Leaving directory '/construction/x11-toolkits/blt/blt2.5' SUCCEEDED 00:03:00 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> blt-2.5.3_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for blt-2.5.3_5 ===> blt-2.5.3_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Generating temporary packing list gmake[2]: Entering directory '/construction/x11-toolkits/blt/blt2.5' mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5 (cd generic; gmake install) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/generic' cc -fPIC -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -c ./bltStubLib.c ar rc libBLTstub.a bltStubLib.o ranlib libBLTstub.a install -m 0644 libBLT.a /construction/x11-toolkits/blt/stage/usr/local/lib/libBLT25.a (cd /construction/x11-toolkits/blt/stage/usr/local/lib; rm -f libBLT.a ; ln -s libBLT25.a libBLT.a) ranlib /construction/x11-toolkits/blt/stage/usr/local/lib/libBLT25.a install -m 0644 libBLTlite.a /construction/x11-toolkits/blt/stage/usr/local/lib/libBLTlite25.a (cd /construction/x11-toolkits/blt/stage/usr/local/lib; rm -f libBLTlite.a ; ln -s libBLTlite25.a libBLTlite.a) ranlib /construction/x11-toolkits/blt/stage/usr/local/lib/libBLTlite25.a install -m 0644 libBLTstub.a /construction/x11-toolkits/blt/stage/usr/local/lib/libBLTstub25.a (cd /construction/x11-toolkits/blt/stage/usr/local/lib; rm -f libBLTstub.a ; ln -s libBLTstub25.a libBLTstub.a) (cd shared; gmake install) gmake[4]: Entering directory '/construction/x11-toolkits/blt/blt2.5/generic/shared' /usr/bin/install -c -m 0755 libBLT25.so /construction/x11-toolkits/blt/stage/usr/local/lib /usr/bin/install -c -m 0755 libBLTlite25.so /construction/x11-toolkits/blt/stage/usr/local/lib /usr/bin/install -c -m 0755 bltwish25 /construction/x11-toolkits/blt/stage/usr/local/bin /usr/bin/install -c -m 0755 bltsh25 /construction/x11-toolkits/blt/stage/usr/local/bin gmake[4]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/generic/shared' /usr/bin/install -c -m 0755 bltwish /construction/x11-toolkits/blt/stage/usr/local/bin /usr/bin/install -c -m 0755 bltsh /construction/x11-toolkits/blt/stage/usr/local/bin installing ./blt.h... installing ./bltOldConfig.h... installing ./bltBind.h... installing ./bltChain.h... installing bltHash.h... installing ./bltList.h... installing ./bltPool.h... installing ./bltTree.h... installing ./bltDecls.h... installing ./bltVector.h... gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/generic' (cd library; gmake install) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/library' mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/dd_protocols rm -f pkgIndex.tcl sed -e 's/%VERSION%/2.5/' ./pkgIndex.tcl.in | \ sed -e 's/%LIB_PREFIX%/lib/' | \ sed -e 's;%LIB_DIR%;/usr/local/lib;' > pkgIndex.tcl for i in dd-color.tcl dd-file.tcl dd-number.tcl dd-text.tcl tclIndex ; do \ install -m 0644 ./dd_protocols/$i \ /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/dd_protocols ; \ done for i in bltCanvEps.pro bltGraph.pro dnd.tcl dragdrop.tcl graph.tcl hierbox.tcl tabnotebook.tcl tabset.tcl treeview.tcl tvutil.tcl init.tcl tclIndex treeview.xbm treeview_m.xbm ; do \ install -m 0644 ./$i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5 ; \ done install -m 0644 pkgIndex.tcl /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5 gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/library' (cd man; gmake install) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/man' Makefile:66: warning: ignoring prerequisites on suffix rule definition Makefile:62: warning: ignoring prerequisites on suffix rule definition for i in *.n ; do \ install -m 0644 $i /construction/x11-toolkits/blt/stage/usr/local/man/mann; \ done for i in *.3 ; do \ install -m 0644 $i /construction/x11-toolkits/blt/stage/usr/local/man/man3; \ done gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/man' (cd demos; gmake install) gmake[3]: Entering directory '/construction/x11-toolkits/blt/blt2.5/demos' mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/bitmaps mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/bitmaps/hand mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/bitmaps/fish mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/images mkdir /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/scripts for i in ./bitmaps/*.xbm ; do \ install -m 0644 $i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/bitmaps ; \ done for i in ./bitmaps/hand/*.xbm ; do \ install -m 0644 $i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/bitmaps/hand ; \ done for i in ./bitmaps/fish/*.xbm ; do \ install -m 0644 $i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/bitmaps/fish ; \ done for i in ./images/*.gif ./images/*.ps ; do \ install -m 0644 $i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/images ; \ done for i in ./scripts/*.tcl ; do \ /usr/bin/install -c $i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/scripts ; \ done for i in barchart1.tcl barchart2.tcl barchart3.tcl barchart4.tcl barchart5.tcl bgexec1.tcl bgexec2.tcl bgexec3.tcl bgexec4.tcl bitmap.tcl busy1.tcl busy2.tcl dnd1.tcl dnd2.tcl dragdrop1.tcl dragdrop2.tcl eps.tcl graph1.tcl graph2.tcl graph3.tcl graph4.tcl graph5.tcl graph6.tcl graph7.tcl hierbox1.tcl hierbox2.tcl hierbox3.tcl hierbox4.tcl hiertable1.tcl hiertable2.tcl htext1.tcl htext.txt spline.tcl stripchart1.tcl tabset1.tcl tabset2.tcl tabset3.tcl tabset4.tcl tabnotebook1.tcl tabnotebook2.tcl tabnotebook3.tcl treeview1.tcl winop1.tcl winop2.tcl ; do \ /usr/bin/install -c ./$i /construction/x11-toolkits/blt/stage/usr/local/lib/blt2.5/demos/$i ; \ done gmake[3]: Leaving directory '/construction/x11-toolkits/blt/blt2.5/demos' gmake[2]: Leaving directory '/construction/x11-toolkits/blt/blt2.5' /usr/bin/strip /construction/x11-toolkits/blt/stage/usr/local/bin/* /usr/bin/strip /construction/x11-toolkits/blt/stage/usr/local/lib/*.so ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libXft.so.2 from x11-fonts/libXft but it is not declared as a dependency Warning: you need USE_XORG+=xft Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libfreetype.so.6 from print/freetype2 but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libfreetype.so:print/freetype2 Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libfontconfig.so.1 from x11-fonts/fontconfig but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libfontconfig.so:x11-fonts/fontconfig Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libXrender.so.1 from x11/libXrender but it is not declared as a dependency Warning: you need USE_XORG+=xrender Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libXss.so.1 from x11/libXScrnSaver but it is not declared as a dependency Warning: you need USE_XORG+=xscrnsaver Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libXext.so.6 from x11/libXext but it is not declared as a dependency Warning: you need USE_XORG+=xext Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libxcb.so.1 from x11/libxcb but it is not declared as a dependency Warning: you need USE_XORG+=xcb Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libexpat.so.1 from textproc/expat2 but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libexpat.so:textproc/expat2 Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libintl.so.8 from devel/gettext-runtime but it is not declared as a dependency Warning: you need USES+=gettext-runtime Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libXau.so.6 from x11/libXau but it is not declared as a dependency Warning: you need USE_XORG+=xau Error: /usr/local/lib/libBLT25.so is linked to /usr/local/lib/libXdmcp.so.6 from x11/libXdmcp but it is not declared as a dependency Warning: you need USE_XORG+=xdmcp Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks Warning: Possible REINPLACE_CMD issues sed failed: file content unchanged from backup: demos/BLT.tcl sed failed: file content unchanged from backup: demos/scripts/xcolors.tcl sed failed: file content unchanged from backup: demos/scripts/page.tcl sed failed: file content unchanged from backup: demos/scripts/graph2.tcl sed failed: file content unchanged from backup: demos/scripts/bgtest.tcl sed failed: file content unchanged from backup: demos/scripts/barchart2.tcl sed failed: file content unchanged from backup: demos/scripts/graph8.tcl sed failed: file content unchanged from backup: demos/scripts/graph5.tcl sed failed: file content unchanged from backup: demos/scripts/patterns.tcl sed failed: file content unchanged from backup: demos/scripts/graph1.tcl sed failed: file content unchanged from backup: demos/scripts/graph3.tcl sed failed: file content unchanged from backup: demos/scripts/clone.tcl sed failed: file content unchanged from backup: demos/scripts/send.tcl sed failed: file content unchanged from backup: demos/scripts/demo.tcl sed failed: file content unchanged from backup: demos/scripts/globe.tcl sed failed: file content unchanged from backup: demos/scripts/stipples.tcl sed failed: file content unchanged from backup: demos/scripts/ps.tcl sed failed: file content unchanged from backup: demos/tree1.tcl sed failed: file content unchanged from backup: demos/tour.tcl SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for blt-2.5.3_5 file sizes/checksums [210]: 0% file sizes/checksums [210]: 47% file sizes/checksums [210]: 95% file sizes/checksums [210]: 100% packing files [210]: 0% packing files [210]: 47% packing files [210]: 95% packing files [210]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:17 TOTAL TIME 00:03:36