D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/blt-2.5-17.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pePFpP + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf blt2.5 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/blt-src-2.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd blt2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/blt-2.5-mga-cplusplus.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/blt2.4z-tcl8.6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/blt2.4z-tk8.6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/blt-2.5-mga-errorLine.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/blt-autoconf.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/blt-rpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i -e s,local/,,g demos/scripts/page.tcl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.rnaL3R + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd blt2.5 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: configure.in: not using aclocal autoreconf: configure.in: tracing configure.in:353: warning: AC_TRY_RUN_WITH_OUTPUT called without default to allow cross compiling autoreconf: configure.in: not using Libtool autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.in:353: warning: AC_TRY_RUN_WITH_OUTPUT called without default to allow cross compiling configure.in:4: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.in:4: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:4: the top level configure.in:68: warning: The macro `AC_CANONICAL_SYSTEM' is obsolete. configure.in:68: You should run autoupdate. ./lib/autoconf/general.m4:2080: AC_CANONICAL_SYSTEM is expanded from... configure.in:68: the top level configure.in:175: warning: The macro `AC_CYGWIN' is obsolete. configure.in:175: You should run autoupdate. ./lib/autoconf/specific.m4:319: AC_CYGWIN is expanded from... configure.in:175: the top level configure.in:220: warning: The macro `AC_HEADER_STDC' is obsolete. configure.in:220: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.in:220: the top level configure.in:222: warning: The macro `AC_HEADER_TIME' is obsolete. configure.in:222: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.in:222: the top level configure.in:262: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.in:262: You should run autoupdate. ./lib/autoconf/general.m4:2846: AC_TRY_COMPILE is expanded from... configure.in:262: the top level configure.in:310: warning: The macro `AC_HAVE_FUNCS' is obsolete. configure.in:310: You should run autoupdate. ./lib/autoconf/functions.m4:230: AC_HAVE_FUNCS is expanded from... configure.in:310: the top level configure.in:315: warning: The macro `AC_TRY_LINK' is obsolete. configure.in:315: You should run autoupdate. ./lib/autoconf/general.m4:2919: AC_TRY_LINK is expanded from... configure.in:315: the top level configure.in:1446: warning: AC_OUTPUT should be used without arguments. configure.in:1446: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoheader: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot' autoheader: WARNING: and 'config.h.top', to define templates for 'config.h.in' autoheader: WARNING: is deprecated and discouraged. autoheader: autoheader: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and autoheader: WARNING: 'AC_DEFINE' allows one to define a template without autoheader: WARNING: 'acconfig.h': autoheader: autoheader: WARNING: AC_DEFINE([NEED_FUNC_MAIN], 1, autoheader: [Define if a function 'main' is needed.]) autoheader: autoheader: WARNING: More sophisticated templates can also be produced, see the autoheader: WARNING: documentation. configure.in:353: warning: AC_TRY_RUN_WITH_OUTPUT called without default to allow cross compiling autoreconf: configure.in: not using Automake autoreconf: 'cf/config.sub' is updated autoreconf: 'cf/config.guess' is updated autoreconf: 'cf/install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./cf/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./cf/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./cf/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./cf/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./cf/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./cf/config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --libdir=/usr/lib64/tcl8.6 --with-tcl=/usr/lib64 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking target system type... aarch64-mageia-linux-gnu checking which C compiler... checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed aarch64-mageia-linux-gnu-gcc checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking default compiler flags... -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables checking for gawk... gawk checking for a BSD-compatible install... /usr/bin/install -c checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-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 stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.h... yes checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for sys/param.h... yes checking for string.h... (cached) yes checking for ctype.h... yes checking for errno.h... yes checking for float.h... yes checking for math.h... yes checking for ieeefp.h... no checking for sys/time.h... (cached) yes checking for waitflags.h... no checking for sys/wait.h... (cached) yes checking for malloc.h... yes checking for memory.h... yes checking for setjmp.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... yes checking for pid_t... 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... yes checking for strcasecmp... yes checking for strncasecmp... 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 , headers checking for tclConfig.sh... /usr/lib64/tclConfig.sh checking for tkConfig.sh... /usr/lib64/tkConfig.sh 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 Configuration results: tcl.h found in /usr/include tk.h found in /usr/include X11/Xlib.h found in libtcl8.6 found in /usr/include/tcl-private/unix libtk8.6 found in /usr/include/tk-private/unix libX11 found in Directories where BLT is to be installed: "$prefix" is /usr "$exec_prefix" is /usr bltwish to be installed in /usr/bin libBLT.a to be installed in /usr/lib scripts to be installed in /usr/lib/blt2.5 manual pages to be installed in /usr/share/man configure: creating ./config.status config.status: creating Makefile config.status: creating generic/Makefile config.status: creating generic/bltHash.h config.status: creating generic/shared/Makefile config.status: creating man/Makefile config.status: WARNING: 'man/Makefile.in' seems to ignore the --datarootdir setting config.status: creating library/Makefile config.status: creating demos/Makefile config.status: creating generic/bltConfig.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make 'LDFLAGS= -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' (cd generic; make all) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic' aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltAlloc.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltArrayObj.c bltArrayObj.c: In function 'SetArrayFromAny': bltArrayObj.c:88:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | oldTypePtr = objPtr->typePtr; | ^ bltArrayObj.c:72:13: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] 72 | Tcl_AppendResult(interp, "odd length: ", string, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltBgexec.c bltBgexec.c: In function 'InitSink': bltBgexec.c:669:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 669 | 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] 727 | 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] 884 | sinkPtr->file = (Tcl_File)NULL; | ^ bltBgexec.c: In function 'SinkCallback': bltBgexec.c:929:41: warning: pointer targets in passing argument 2 of 'Tcl_DStringAppendElement' differ in signedness [-Wpointer-sign] 929 | Tcl_DStringAppendElement(&dStr, data); | ^~~~ | | | unsigned char * In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from bltBgexec.c:30: /usr/include/tclDecls.h:386:17: note: expected 'const char *' but argument is of type 'unsigned char *' 386 | const char *element); | ~~~~~~~~~~~~^~~~~~~ bltBgexec.c: In function 'CollectData': bltBgexec.c:1300:8: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] 1300 | if ((nBytes == 0) || (data[0] == '\0')) { | ^ bltBgexec.c:1360:6: note: 'length' was declared here 1360 | int length; | ^~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltChain.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltDebug.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltHash.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltList.c bltList.c: In function 'Blt_ListCreateNode': bltList.c:172:5: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 172 | case BLT_ONE_WORD_KEYS: | ^~~~ bltList.c: In function 'Blt_ListGetNode': bltList.c:409:2: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 409 | case BLT_ONE_WORD_KEYS: | ^~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltNsUtil.c bltNsUtil.c: In function 'Blt_GetVariableNamespace': bltNsUtil.c:351:21: warning: implicit declaration of function 'Tcl_FindNamespaceVar'; did you mean 'Tcl_FindNamespace'? [-Wimplicit-function-declaration] 351 | varPtr = (Var *)Tcl_FindNamespaceVar(interp, (char *)name, | ^~~~~~~~~~~~~~~~~~~~ | Tcl_FindNamespace bltNsUtil.c:351:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 351 | varPtr = (Var *)Tcl_FindNamespaceVar(interp, (char *)name, | ^ bltNsUtil.c: In function 'Blt_EnterNamespace': bltNsUtil.c:379:9: warning: implicit declaration of function 'Tcl_PushCallFrame' [-Wimplicit-function-declaration] 379 | if (Tcl_PushCallFrame(interp, framePtr, (Tcl_Namespace *)nsPtr, 0) | ^~~~~~~~~~~~~~~~~ bltNsUtil.c: In function 'Blt_LeaveNamespace': bltNsUtil.c:392:5: warning: implicit declaration of function 'Tcl_PopCallFrame' [-Wimplicit-function-declaration] 392 | Tcl_PopCallFrame(interp); | ^~~~~~~~~~~~~~~~ In file included from blt.h:54, from bltInt.h:86, from bltNsUtil.c:28: bltNsUtil.c: In function 'Blt_CreateNsDeleteNotify': ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltNsUtil.c:547:24: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 547 | list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltParse.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltPool.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltSpline.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltSwitch.c bltSwitch.c: In function 'Blt_ProcessSwitches': bltSwitch.c:325:58: warning: comparison between pointer and zero character constant [-Wpointer-compare] 325 | if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { | ^~ bltSwitch.c:325:50: note: did you mean to dereference the pointer? 325 | if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTree.c bltTree.c: In function 'IsTclDict': bltTree.c:50:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | dictType = obj->typePtr; | ^ In file included from blt.h:54, from bltInt.h:86, 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] 425 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)nodePtr->inode); | ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((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] 935 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((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] 1031 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, &isNew); | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((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] 1167 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)inode); | ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((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] 1235 | int result, inode; | ^~~~~ bltTree.c: In function 'Blt_TreeAddTag': bltTree.c:3321:72: warning: passing argument 5 of 'CallTraces' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3321 | result = CallTraces(interp, clientPtr, node->treeObject, node, tagName, | ^~~~~~~ bltTree.c:1511:17: note: expected 'Blt_TreeKey' {aka 'char *'} but argument is of type 'const char *' 1511 | Blt_TreeKey key, | ~~~~~~~~~~~~^~~ bltTree.c: In function 'Blt_TreeTagDelTrace': bltTree.c:3350:70: warning: passing argument 5 of 'CallTraces' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3350 | return CallTraces(interp, clientPtr, node->treeObject, node, tagName, | ^~~~~~~ bltTree.c:1511:17: note: expected 'Blt_TreeKey' {aka 'char *'} but argument is of type 'const char *' 1511 | Blt_TreeKey key, | ~~~~~~~~~~~~^~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTreeCmd.c In file included from ./blt.h:54, from ./bltInt.h:86, from bltTreeCmd.c:107: bltTreeCmd.c: In function 'ParseNode5': bltTreeCmd.c:1637:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1637 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTreeCmd.c:1647:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1647 | hPtr = Blt_FindHashEntry(&dataPtr->idTable, (char *)parentId); | ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ bltTreeCmd.c:1684:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1684 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTreeCmd.c:1694:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1694 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTreeCmd.c: In function 'SetValues': bltTreeCmd.c:2074:9: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2074 | int inode; | ^~~~~ bltTreeCmd.c: In function 'UpdateValues': bltTreeCmd.c:2104:26: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2104 | int result = TCL_OK, inode; | ^~~~~ bltTreeCmd.c: In function 'ComparePatternList': bltTreeCmd.c:2195:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2195 | type = (int)Blt_ListGetValue(node); | ^ bltTreeCmd.c: In function 'DeleteOp': bltTreeCmd.c:3604:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3604 | Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); | ^ bltTreeCmd.c:3614:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3614 | inode = (int)Blt_ChainGetValue(linkPtr); | ^ bltTreeCmd.c: In function 'CreateOp': bltTreeCmd.c:4472:20: warning: variable 'hasnum' set but not used [-Wunused-but-set-variable] 4472 | int fixed = 0, hasnum = 0, hcnt = 0; | ^~~~~~ bltTreeCmd.c: In function 'KeysOp': bltTreeCmd.c:4902:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 4902 | char *string; | ^~~~~~ bltTreeCmd.c: In function 'updateOp': bltTreeCmd.c:6445:29: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 6445 | int i, result = TCL_OK, inode; | ^~~~~ bltTreeCmd.c: In function 'SetOp': bltTreeCmd.c:6519:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6519 | char *string; | ^~~~~~ bltTreeCmd.c: In function 'ModifyOp': bltTreeCmd.c:6754:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6754 | char *string; | ^~~~~~ bltTreeCmd.c: In function 'TagNodesOp': bltTreeCmd.c:7089:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7089 | char *string; | ^~~~~~ bltTreeCmd.c: In function 'TypeOp': bltTreeCmd.c:7653:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7653 | Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/tcl.h:2441, from ./bltInt.h:44, from bltTreeCmd.c:107: /usr/include/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'const char * const' 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ bltTreeCmd.c: In function 'UnsetOp': bltTreeCmd.c:7676:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7676 | char *string; | ^~~~~~ bltTreeCmd.c: In function 'WithOp': bltTreeCmd.c:8003:57: warning: variable 'isar' set but not used [-Wunused-but-set-variable] 8003 | int vobjc, kobjc, i, result = TCL_OK, len, cnt = 0, isar; | ^~~~ bltTreeCmd.c: In function 'ForeachOp': bltTreeCmd.c:8305:17: warning: variable 'string' set but not used [-Wunused-but-set-variable] 8305 | char *var, *string; | ^~~~~~ bltTreeCmd.c: In function 'SqlCallbackObj': bltTreeCmd.c:8675:28: warning: variable 'tcid' set but not used [-Wunused-but-set-variable] 8675 | int i, j, rid, lid, n, tcid, vobjc, tobjc; | ^~~~ bltTreeCmd.c:8675:25: warning: variable 'n' set but not used [-Wunused-but-set-variable] 8675 | int i, j, rid, lid, n, tcid, vobjc, tobjc; | ^ bltTreeCmd.c:8675:20: warning: variable 'lid' set but not used [-Wunused-but-set-variable] 8675 | int i, j, rid, lid, n, tcid, vobjc, tobjc; | ^~~ At top level: bltTreeCmd.c:8673:12: warning: 'SqlCallbackObj' defined but not used [-Wunused-function] 8673 | static int SqlCallbackObj(SqlData *sqlPtr, int argc, Tcl_Obj **objv, Tcl_Obj **azColName) | ^~~~~~~~~~~~~~ bltTreeCmd.c: In function 'WithOp': bltTreeCmd.c:8221:25: warning: 'aName' may be used uninitialized in this function [-Wmaybe-uninitialized] 8221 | if (Blt_TreeGetArrayValue(NULL, cmdPtr->tree, node, aName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8222 | skey, &valuePtr) != TCL_OK) { | ~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltUnixPipe.c bltUnixPipe.c: In function 'CreateProcess': bltUnixPipe.c:511:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 511 | Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG); | ^ bltUnixPipe.c: In function 'CreateTempFile': bltUnixPipe.c:114:5: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | mkstemp(fileName); | ^~~~~~~~~~~~~~~~~ bltUnixPipe.c: In function 'CreateProcess': bltUnixPipe.c:452:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | write(fd, errSpace, (size_t) strlen(errSpace)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltUnixPipe.c:463:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | write(fd, errSpace, (size_t) strlen(errSpace)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. 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] 830 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, from bltUtil.c:28: bltUtil.c:833:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 833 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #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] 867 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, from bltUtil.c:28: bltUtil.c:872:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 872 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltVector.c bltVector.c: In function 'Blt_VectorGetIndex': bltVector.c:373:19: warning: passing argument 1 of 'Blt_FreeProcPtr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 373 | Blt_Free( string ); | ^~~~~~ bltVector.c:373:19: note: expected 'void *' but argument is of type 'const char *' bltVector.c: In function 'VectorConfigureObjOp': bltVector.c:1918:13: warning: 'ovar' may be used uninitialized in this function [-Wmaybe-uninitialized] 1918 | if (Tcl_GetBooleanFromObj(interp, objv[i+1], ovar) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltVecMath.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltVecCmd.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltVecObjCmd.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltStubLib.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltStubInit.c bltStubInit.c:29:5: warning: initialization of 'struct Blt_TreeNodeStruct * (*)(struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *, int, int)' from incompatible pointer type 'struct Blt_TreeNodeStruct * (*)(struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *, unsigned int, int)' [-Wincompatible-pointer-types] 29 | Blt_TreeCreateNodeWithId, /* 2 */ | ^~~~~~~~~~~~~~~~~~~~~~~~ bltStubInit.c:29:5: note: (near initialization for 'bltStubs.blt_TreeCreateNodeWithId') bltStubInit.c:55:5: warning: initialization of 'int (*)(Tcl_Interp *, struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *, Tcl_Obj *)' from incompatible pointer type 'int (*)(Tcl_Interp *, struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *, Tcl_Obj *, const char *)' [-Wincompatible-pointer-types] 55 | Blt_TreeArrayNames, /* 28 */ | ^~~~~~~~~~~~~~~~~~ bltStubInit.c:55:5: note: (near initialization for 'bltStubs.blt_TreeArrayNames') bltStubInit.c:75:5: warning: initialization of 'void (*)(struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *)' from incompatible pointer type 'int (*)(struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *)' [-Wincompatible-pointer-types] 75 | Blt_TreeRelabelNode, /* 48 */ | ^~~~~~~~~~~~~~~~~~~ bltStubInit.c:75:5: note: (near initialization for 'bltStubs.blt_TreeRelabelNode') bltStubInit.c:76:5: warning: initialization of 'void (*)(struct Blt_TreeNodeStruct *, const char *)' from incompatible pointer type 'int (*)(struct Blt_TreeNodeStruct *, const char *)' [-Wincompatible-pointer-types] 76 | Blt_TreeRelabelNode2, /* 49 */ | ^~~~~~~~~~~~~~~~~~~~ bltStubInit.c:76:5: note: (near initialization for 'bltStubs.blt_TreeRelabelNode2') bltStubInit.c:80:5: warning: initialization of 'void (*)(struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *)' from incompatible pointer type 'int (*)(struct Blt_TreeClientStruct *, struct Blt_TreeNodeStruct *, const char *)' [-Wincompatible-pointer-types] 80 | Blt_TreeAddTag, /* 53 */ | ^~~~~~~~~~~~~~ bltStubInit.c:80:5: note: (near initialization for 'bltStubs.blt_TreeAddTag') bltStubInit.c:81:5: warning: initialization of 'void (*)(struct Blt_TreeClientStruct *, const char *)' from incompatible pointer type 'int (*)(struct Blt_TreeClientStruct *, const char *)' [-Wincompatible-pointer-types] 81 | Blt_TreeForgetTag, /* 54 */ | ^~~~~~~~~~~~~~~~~ bltStubInit.c:81:5: note: (near initialization for 'bltStubs.blt_TreeForgetTag') aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltWatch.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. -DTCL_ONLY -DBLT_LIBRARY=\"/usr/lib/blt2.5\" \ ./bltInit.c ./bltInit.c: In function 'SetLibraryPath': ./bltInit.c:438:16: warning: unused variable 'tkisinit' [-Wunused-variable] 438 | static int tkisinit = 0; | ^~~~~~~~ ./bltInit.c: In function 'Blt_Init': ./bltInit.c:512:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 512 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^ ./bltInit.c:569:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 569 | (ClientData)(flags | BLT_TCL_CMDS)); | ^ At top level: ./bltInit.c:438:16: warning: 'tkisinit' defined but not used [-Wunused-variable] 438 | 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 aarch64-mageia-linux-gnu-ranlib libBLTlite.a rm -f bltsh aarch64-mageia-linux-gnu-gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DTCL_ONLY -o bltsh \ -DTCLLIBPATH=\"/usr/include/tcl-private/unix/tcl8.6\" \ ./bltUnixMain.c libBLTlite.a -L/usr/include/tcl-private/unix -ltcl8.6 -lm -ldl aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrAxis.c bltGrAxis.c: In function 'StringToTicks': bltGrAxis.c:672:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 672 | unsigned int mask = (unsigned int)clientData; | ^ In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrAxis.c:28: bltGrAxis.c: In function 'ConfigureOp': bltGrAxis.c:3452:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 3452 | argc, argv, (char *)axisPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrAxis.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltGrAxis.c: In function 'UseOp': bltGrAxis.c:3674:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3674 | margin = (int)argv[-1]; | ^ bltGrAxis.c: In function 'Blt_AxisOp': bltGrAxis.c:4217:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4217 | 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] 328 | rangePtr->range = max - min; | ~~~~^~~~~ bltGrAxis.c:1554:21: note: 'axisMax' was declared here 1554 | double axisMin, axisMax; | ^~~~~~~ bltGrAxis.c:328:27: warning: 'axisMin' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rangePtr->range = max - min; | ~~~~^~~~~ bltGrAxis.c:1554:12: note: 'axisMin' was declared here 1554 | double axisMin, axisMax; | ^~~~~~~ bltGrAxis.c:1582:30: warning: 'step' may be used uninitialized in this function [-Wmaybe-uninitialized] 1582 | axisPtr->majorSweep.step = step; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ bltGrAxis.c:1552:19: note: 'step' was declared here 1552 | double range, step; | ^~~~ bltGrAxis.c:328:27: warning: 'tickMax' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rangePtr->range = max - min; | ~~~~^~~~~ bltGrAxis.c:1423:21: note: 'tickMax' was declared here 1423 | double tickMin, tickMax; | ^~~~~~~ bltGrAxis.c:328:27: warning: 'tickMin' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rangePtr->range = max - min; | ~~~~^~~~~ bltGrAxis.c:1423:12: note: 'tickMin' was declared here 1423 | double tickMin, tickMax; | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. 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] 2200 | count = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, 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] 2206 | Blt_SetHashValue(hPtr, (ClientData)count); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #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] 2222 | count = (int)Blt_GetHashValue(hPtr); | ^ bltGrBar.c:2227:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2227 | count = (int)Blt_GetHashValue(hPtr); | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrElem.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrElem.c:28: bltGrElem.c: In function 'ClosestOp': bltGrElem.c:1703:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1703 | argv + 6, (char *)&search, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrElem.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrElem.c:28: bltGrElem.c: In function 'ConfigureOp': bltGrElem.c:1857:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1857 | numOpts, options, (char *)elemPtr, flags) != TCL_OK) { | ^~~~~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrElem.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrGrid.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrGrid.c:30: bltGrGrid.c: In function 'ConfigureOp': bltGrGrid.c:372:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 372 | argc - 3, argv + 3, (char *)gridPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrGrid.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrHairs.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrHairs.c:30: bltGrHairs.c: In function 'ConfigureOp': bltGrHairs.c:394:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 394 | argv + 3, (char *)chPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrHairs.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrLegd.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrLegd.c:28: bltGrLegd.c: In function 'ConfigureOp': bltGrLegd.c:1410:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1410 | argv + 3, (char *)legendPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrLegd.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrLine.c bltGrLine.c: In function 'ClosestLine': bltGrLine.c:3109:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] 3109 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3110 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ bltGrLine.c:3082:13: note: 'closest.y' was declared here 3082 | Point2D closest, b; | ^~~~~~~ bltGrLine.c:3109:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] 3109 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3110 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ bltGrLine.c:3082:13: note: 'closest.x' was declared here 3082 | Point2D closest, b; | ^~~~~~~ bltGrLine.c:3158:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] 3158 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3159 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ bltGrLine.c:3137:13: note: 'closest.y' was declared here 3137 | Point2D closest, b; | ^~~~~~~ bltGrLine.c:3158:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] 3158 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3159 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ bltGrLine.c:3137:13: note: 'closest.x' was declared here 3137 | Point2D closest, b; | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrMarker.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrMarker.c:28: bltGrMarker.c: In function 'ConfigureOp': bltGrMarker.c:4317:44: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 4317 | markerPtr->classPtr->configSpecs, nOpts, options, | ^~~~~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrMarker.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrMisc.c bltGrMisc.c: In function 'StringToColorPair': bltGrMisc.c:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | int allowDefault = (int)clientData; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrPen.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrPen.c:28: bltGrPen.c: In function 'ConfigureOp': bltGrPen.c:514:10: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 514 | nOpts, options, (char *)penPtr, flags) != TCL_OK) { | ^~~~~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrPen.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGrPs.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrPs.c:36: bltGrPs.c: In function 'ConfigureOp': bltGrPs.c:422:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 422 | argv + 3, (char *)psPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrPs.c:36: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGrPs.c:36: bltGrPs.c: In function 'OutputOp': bltGrPs.c:1128:8: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1128 | argv + 3, (char *)psPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGrPs.c:36: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltGraph.c In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGraph.c:43: bltGraph.c: In function 'CreateGraph': bltGraph.c:947:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 947 | if (Tk_ConfigureWidget(interp, tkwin, configSpecs, argc - 2, argv + 2, | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGraph.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, from bltGraph.h:28, from bltGraph.c:43: bltGraph.c: In function 'ConfigureOp': bltGraph.c:1098:8: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1098 | argv + 2, (char *)graphPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltGraph.h:28, from bltGraph.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltBeep.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltBind.c In file included from blt.h:54, from bltInt.h:86, from bltBind.c:28: bltBind.c: In function 'DoEvent': ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltBind.c:120:30: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 120 | bindIds = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltBitmap.c In file included from blt.h:72, from bltInt.h:86, 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] 921 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltBitmap.c:50: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 1031 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltBitmap.c:50: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltBusy.c In file included from blt.h:72, from bltInt.h:86, 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] 421 | if (Tk_ConfigureWidget(interp, busyPtr->tkRef, configSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltBusy.c:29: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltCanvEps.c In file included from blt.h:72, from bltInt.h:86, 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] 1294 | argv, (char *)epsPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltCanvEps.c:37: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltCanvEps.c: In function 'Blt_InitEpsCanvasItem': bltCanvEps.c:2008:26: warning: assignment to 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)' [-Wincompatible-pointer-types] 2008 | tagsOption.parseProc = Tk_CanvasTagsParseProc; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltColor.c In file included from blt.h:54, from bltInt.h:86, 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] 538 | hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltColor.c:543:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 543 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, from bltColor.c:71: bltColor.c:546:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 546 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #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] 570 | XColor *imageColors; | ^~~~~~~~~~~ bltColor.c:566:9: warning: variable 'nFreeColors' set but not used [-Wunused-but-set-variable] 566 | int nFreeColors, nUsedColors; | ^~~~~~~~~~~ At top level: bltColor.c:519:1: warning: 'GetUniqueColors' defined but not used [-Wunused-function] 519 | GetUniqueColors(image) | ^~~~~~~~~~~~~~~ bltColor.c:313:1: warning: 'AllocateColors' defined but not used [-Wunused-function] 313 | AllocateColors(nImageColors, colorTabPtr, matchOnly) | ^~~~~~~~~~~~~~ bltColor.c:254:1: warning: 'MatchColors' defined but not used [-Wunused-function] 254 | MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, | ^~~~~~~~~~~ bltColor.c:108:1: warning: 'BuildColorRamp' defined but not used [-Wunused-function] 108 | BuildColorRamp(palettePtr, nColors) | ^~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. 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] 445 | 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] 481 | 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] 562 | 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] 651 | 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] 1565 | oldClass = Tk_Class(tkwin); | ^ In file included from blt.h:72, from bltInt.h:86, from bltConfig.c:28: bltConfig.c:1576:64: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1576 | result = Tk_ConfigureWidget(interp, tkwin, specsPtr, argc, argv, widgRec, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltConfig.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ 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] 581 | 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] 740 | return Tcl_Merge(2, argv); | ^~~~ | | | const char ** In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from bltConfig.c:28: /usr/include/tclDecls.h:585:57: note: expected 'char * const*' but argument is of type 'const char **' 585 | 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] 771 | result = Tcl_Merge(6, argv); | ^~~~ | | | const char ** In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from bltConfig.c:28: /usr/include/tclDecls.h:585:57: note: expected 'char * const*' but argument is of type 'const char **' 585 | 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] 774 | result = Tcl_Merge(5, argv); | ^~~~ | | | const char ** In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from bltConfig.c:28: /usr/include/tclDecls.h:585:57: note: expected 'char * const*' but argument is of type 'const char **' 585 | 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] 1021 | gradientPtr->color2 = color2Ptr; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltContainer.c bltContainer.c: In function 'StringToXID': bltContainer.c:825:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 825 | unsigned int flags = (int)clientData; | ^ In file included from blt.h:72, from bltInt.h:86, 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] 1196 | if (Tk_ConfigureWidget(interp, cntrPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltContainer.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltCutbuffer.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltDragdrop.c In file included from blt.h:72, from bltInt.h:86, 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] 1068 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, tokenConfigSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltDragdrop.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 1296 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltDragdrop.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltHierbox.c In file included from blt.h:54, from bltInt.h:86, 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] 2080 | hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, | ^ ./bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((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] 2375 | hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); | ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((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] 2409 | serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), | ^ In file included from blt.h:72, from bltInt.h:86, 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] 3325 | argc, argv, (char *)entryPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltHierbox.c:40: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 3938 | if (Tk_ConfigureWidget(interp, hboxPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltHierbox.c:40: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 5510 | argc, argv, (char *)hboxPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltHierbox.c:40: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltHtext.c In file included from blt.h:72, from bltInt.h:86, 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] 3923 | argc - 3, argv + 3, (char *)winPtr, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltHtext.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 4093 | argv + 2, itemPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltHtext.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 4491 | argv + 2, (char *)htPtr, 0) != TCL_OK) || | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltHtext.c:43: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltImage.c bltImage.c: In function 'Blt_MergeColorImage': bltImage.c:2658:31: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] 2658 | destPtr->Blue = (int)(0.5+srcPtr->rgba.blue * a1 + src2Ptr->rgba.blue * a2); | ~~~^~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltUnixImage.c In file included from blt.h:54, from bltInt.h:86, 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] 577 | hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); | ^ ./bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltPs.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTable.c In file included from blt.h:72, from bltInt.h:86, 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] 1205 | argc, argv, (char *)entryPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 1557 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, from bltTable.c:47: bltTable.c:1582:37: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1582 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:54, from bltInt.h:86, from bltTable.c:47: bltTable.c: In function 'CreateTable': ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltTable.c:1820:45: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 1820 | tablePtr->rowInfo.list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltTable.c:1821:48: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 1821 | tablePtr->columnInfo.list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ In file included from blt.h:72, from bltInt.h:86, 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] 1865 | argc, argv, (char *)tablePtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltTable.c: In function 'BinEntry': bltTable.c:2037:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2037 | key = (int)Blt_ListGetKey(node); | ^ bltTable.c:2049:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2049 | 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] 2066 | key = (int)Blt_ListGetKey(node); | ^ bltTable.c:2078:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2078 | newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); | ^ In file included from blt.h:72, from bltInt.h:86, 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] 2202 | entryConfigSpecs, argc, argv, (char *)entryPtr, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTable.c:47: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTabnotebook.c In file included from blt.h:72, from bltInt.h:86, 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] 2769 | if (Tk_ConfigureWidget(interp, nbPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTabnotebook.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 3695 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTabnotebook.c:30: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltTabnotebook.c: In function 'GetWindowRectangle': bltTabnotebook.c:2417:21: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 2417 | *yPtr = (*yPtr) + y; | ~~~~~~~~^~~ bltTabnotebook.c:2433:12: note: 'y' was declared here 2433 | int x, y; | ^ bltTabnotebook.c:2416:21: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 2416 | *xPtr = (*xPtr) + x; | ~~~~~~~~^~~ bltTabnotebook.c:2433:9: note: 'x' was declared here 2433 | int x, y; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTabset.c In file included from blt.h:72, from bltInt.h:86, from bltTabset.c:31: bltTabset.c: In function 'ConfigureTabset': bltTabset.c:3163:70: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 3163 | if (Tk_ConfigureWidget(interp, setPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTabset.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltTabset.c: In function 'NearestOp': bltTabset.c:3915:13: warning: variable 'dh' set but not used [-Wunused-but-set-variable] 3915 | int dw, dh; | ^~ bltTabset.c:3915:9: warning: variable 'dw' set but not used [-Wunused-but-set-variable] 3915 | int dw, dh; | ^~ In file included from blt.h:72, from bltInt.h:86, from bltTabset.c:31: bltTabset.c: In function 'TabConfigureOp': bltTabset.c:4445:13: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 4445 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTabset.c:31: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltTabset.c: In function 'AdjustTabSizes': bltTabset.c:5202:28: warning: variable 'eImg' set but not used [-Wunused-but-set-variable] 5202 | int x, maxWidth, sImg, eImg; | ^~~~ bltTabset.c: In function 'DrawLabel': bltTabset.c:5878:5: warning: 'i2y' may be used uninitialized in this function [-Wmaybe-uninitialized] 5878 | Tk_RedrawImage(ImageBits(image2), 0, 0, img2Width, img2Height, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5879 | drawable, i2x, i2y); | ~~~~~~~~~~~~~~~~~~~ bltTabset.c:5878:5: warning: 'i2x' may be used uninitialized in this function [-Wmaybe-uninitialized] bltTabset.c:5863:41: warning: 'ih2' may be used uninitialized in this function [-Wmaybe-uninitialized] 5863 | i2y = y + (tabPtr->screenHeight - ih2) / 2; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ bltTabset.c:5871:40: warning: 'iw2' may be used uninitialized in this function [-Wmaybe-uninitialized] 5871 | i2x = x + (tabPtr->screenWidth - iw2) / 2; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltText.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTile.c bltTile.c: In function 'Blt_TileRectangle': bltTile.c:1181:10: warning: variable 'ym' set but not used [-Wunused-but-set-variable] 1181 | int xm, ym; | ^~ bltTile.c:1181:6: warning: variable 'xm' set but not used [-Wunused-but-set-variable] 1181 | int xm, ym; | ^~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTreeView.c bltTreeView.c: In function 'Blt_TreeViewGetUid': bltTreeView.c:1312:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1312 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, from bltTreeView.c:34: bltTreeView.c:1315:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1315 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltTreeView.c: In function 'Blt_TreeViewFreeUid': bltTreeView.c:1341:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1341 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, from bltTreeView.c:34: bltTreeView.c:1344:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1344 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ./bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltTreeView.c: In function 'Blt_TreeViewRedrawIcon': bltTreeView.c:5036:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 5036 | int result, rcnt; | ^~~~~~ bltTreeView.c: In function 'Blt_TreeViewGetEntryIcon': bltTreeView.c:5280:19: warning: variable 'hasFocus' set but not used [-Wunused-but-set-variable] 5280 | int isActive, hasFocus; | ^~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTreeViewCmd.c bltTreeViewCmd.c: In function 'GetEntryFromSpecialId': bltTreeViewCmd.c:519:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 519 | ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { | ^ bltTreeViewCmd.c:519:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 519 | ((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] 671 | int inode; | ^~~~~ bltTreeViewCmd.c: In function 'EntrySetOp': bltTreeViewCmd.c:1692:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1692 | Blt_TreeNode node; | ^~~~ bltTreeViewCmd.c: In function 'EntryIncrOp': bltTreeViewCmd.c:1780:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1780 | Blt_TreeNode node; | ^~~~ bltTreeViewCmd.c: In function 'EntryGetOp': bltTreeViewCmd.c:1844:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1844 | Blt_TreeNode node; | ^~~~ bltTreeViewCmd.c: In function 'EditOp': bltTreeViewCmd.c:2659:19: warning: variable 'wy' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^~ bltTreeViewCmd.c:2659:15: warning: variable 'wx' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^~ In file included from blt.h:54, from bltInt.h:86, from bltTreeViewCmd.c:39: bltTreeViewCmd.c: In function 'FindOp': ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltTreeViewCmd.c:3766:30: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 3766 | options = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ bltTreeViewCmd.c: In function 'SearchAndApplyToTree': ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltTreeViewCmd.c:4579:30: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 4579 | options = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ bltTreeViewCmd.c: In function 'InsertOp': bltTreeViewCmd.c:5112:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] 5112 | if (Tcl_ListObjGetElements(interp, objv[count+1], &tobjc, &tobjv) != TCL_OK) { | ^~~~~~ | | | Tcl_Obj * const** In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from bltTreeViewCmd.c:39: /usr/include/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' but argument is of type 'Tcl_Obj * const**' 180 | Tcl_Obj ***objvPtr); | ~~~~~~~~~~~^~~~~~~ bltTreeViewCmd.c:5117:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] 5117 | if (Tcl_ListObjGetElements(interp, objv[count+1], &sobjc, &sobjv) != TCL_OK) { | ^~~~~~ | | | Tcl_Obj * const** In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from bltTreeViewCmd.c:39: /usr/include/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' but argument is of type 'Tcl_Obj * const**' 180 | Tcl_Obj ***objvPtr); | ~~~~~~~~~~~^~~~~~~ bltTreeViewCmd.c:5076:42: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 5076 | int optSkips, i, m, start, nOptions, inode; | ^~~~~ In file included from blt.h:54, from bltInt.h:86, from bltTreeViewCmd.c:39: bltTreeViewCmd.c: In function 'TagNamesOp': ./bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ bltTreeViewCmd.c:6898:28: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 6898 | list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ bltTreeViewCmd.c: In function 'SearchAndApplyToTree': bltTreeViewCmd.c:4809:16: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 4809 | if (result == invertMatch) { | ^ bltTreeViewCmd.c: In function 'FindOp': bltTreeViewCmd.c:4348:18: warning: 'curValue' may be used uninitialized in this function [-Wmaybe-uninitialized] 4348 | Blt_TreeViewPercentSubst(tvPtr, entryPtr, columnPtr, retPctPtr, curValue, &cmdString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTreeViewEdit.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTreeViewColumn.c bltTreeViewColumn.c: In function 'ObjToData': bltTreeViewColumn.c:413:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 413 | Blt_TreeNode node; | ^~~~ bltTreeViewColumn.c: In function 'Blt_TreeViewNumColumns': bltTreeViewColumn.c:709:21: warning: variable 'columnPtr' set but not used [-Wunused-but-set-variable] 709 | TreeViewColumn *columnPtr; | ^~~~~~~~~ bltTreeViewColumn.c: In function 'ColumnSeeOp': bltTreeViewColumn.c:2446:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] 2446 | int width, height; | ^~~~~~ bltTreeViewColumn.c: In function 'Blt_TreeViewSortFlatView': bltTreeViewColumn.c:3263:14: warning: variable 'key' set but not used [-Wunused-but-set-variable] 3263 | Blt_TreeKey key; | ^~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTreeViewStyle.c bltTreeViewStyle.c: In function 'DrawCheckBox': bltTreeViewStyle.c:1603:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 1603 | TextLayout *layPtr; | ^~~~~~ bltTreeViewStyle.c:1598:22: warning: variable 'relief' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^~~~~~ bltTreeViewStyle.c:1598:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^~~~~~~~~~~ bltTreeViewStyle.c: In function 'DrawBarBox': bltTreeViewStyle.c:2630:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 2630 | TextLayout *layPtr; | ^~~~~~ bltTreeViewStyle.c:2627:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 2627 | char *string; | ^~~~~~ bltTreeViewStyle.c: In function 'DrawWindowBox': bltTreeViewStyle.c:3415:15: warning: variable 'tkwin' set but not used [-Wunused-but-set-variable] 3415 | Tk_Window tkwin; | ^~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltUnixDnd.c In file included from blt.h:72, from bltInt.h:86, 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] 1838 | argv, (char *)tokenPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltUnixDnd.c:33: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 3781 | argv + 3, (char *)dndPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltUnixDnd.c:33: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from blt.h:72, from bltInt.h:86, 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] 4444 | argv + 3, (char *)dndPtr, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltUnixDnd.c:33: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ At top level: bltUnixDnd.c:1463:1: warning: 'MorphToken' defined but not used [-Wunused-function] 1463 | MorphToken(dndPtr) | ^~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltWindow.c aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltObjConfig.c bltObjConfig.c: In function 'DoConfig': bltObjConfig.c:1341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1341 | 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] 1642 | flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltWinop.c bltWinop.c: In function 'ColorsOp': bltWinop.c:954:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 954 | cnt = (int)Blt_GetHashValue(hPtr); | ^ In file included from blt.h:54, from bltInt.h:86, from bltWinop.c:27: ./bltHash.h:191:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^ bltWinop.c:956:17: note: in expansion of macro 'Blt_SetHashValue' 956 | Blt_SetHashValue(hPtr, cnt); | ^~~~~~~~~~~~~~~~ bltWinop.c:968:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 968 | cnt = (int)Blt_GetHashValue(hPtr); | ^ bltWinop.c:902:9: warning: variable 'top' set but not used [-Wunused-but-set-variable] 902 | int top, x, y, isalph, iscnt, isNew, cnt; | ^~~ bltWinop.c: In function 'GradientsOp': bltWinop.c:1437:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1437 | int x, y, width; | ^ bltWinop.c: In function 'Blt_GetGradient': bltWinop.c:1487:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1487 | int x, y, width; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. tkButton.c tkButton.c: In function 'StringToName': tkButton.c:348:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] 348 | char c; | ^ tkButton.c: In function 'StringToIcons': tkButton.c:881:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] 881 | int result, i; | ^~~~~~ tkButton.c: In function 'ButtonGetValue': tkButton.c:1224:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1224 | return value; | ^~~~~ In file included from blt.h:72, from bltInt.h:86, from tkButton.c:18: tkButton.c: In function 'ConfigureButton': tkButton.c:1599:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1599 | argc, argv, (char *)butPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from tkButton.c:18: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ tkButton.c:1584:9: warning: variable 'oldNode' set but not used [-Wunused-but-set-variable] 1584 | int oldNode, result = TCL_OK; | ^~~~~~~ tkButton.c: In function 'DisplayButton': tkButton.c:2060:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 2060 | int borderWidth, drawBorder; | ^~~~~~~~~~~ tkButton.c: In function 'InvokeButton': tkButton.c:3098:45: warning: passing argument 2 of 'Tcl_EvalObjEx' from incompatible pointer type [-Wincompatible-pointer-types] 3098 | return Tcl_EvalObjEx(butPtr->interp, butPtr->command, TCL_EVAL_GLOBAL); | ~~~~~~^~~~~~~~~ | | | char * In file included from /usr/include/tcl.h:2441, from bltInt.h:44, from tkButton.c:18: /usr/include/tclDecls.h:878:56: note: expected 'Tcl_Obj *' but argument is of type 'char *' 878 | EXTERN int Tcl_EvalObjEx(Tcl_Interp *interp, Tcl_Obj *objPtr, | ~~~~~~~~~^~~~~~ tkButton.c: In function 'DrawAALines': tkButton.c:3512:13: warning: unused variable 'j' [-Wunused-variable] 3512 | int i, j; | ^ At top level: tkButton.c:3590:13: warning: 'put_pixel_clip' defined but not used [-Wunused-function] 3590 | static void put_pixel_clip(AAImage *img, int x, int y, unsigned short r, unsigned short g, unsigned short b, unsigned char alpha) { | ^~~~~~~~~~~~~~ tkButton.c:3509:15: warning: 'DrawAALines' defined but not used [-Wunused-function] 3509 | static Pixmap DrawAALines(Button *butPtr, Drawable pixmap, XColor *color, XPoint *polyPoints, int numPoints) { | ^~~~~~~~~~~ tkButton.c:3422:1: warning: 'ButtonImageBdProc' defined but not used [-Wunused-function] 3422 | ButtonImageBdProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. tkFrame.c In file included from blt.h:72, from bltInt.h:86, from tkFrame.c:18: tkFrame.c: In function 'ConfigureFrame': tkFrame.c:748:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 748 | argc, argv, (char *)framePtr, flags | framePtr->mask) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from tkFrame.c:18: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltScrollbar.c In file included from blt.h:72, from bltInt.h:86, from bltScrollbar.c:19: bltScrollbar.c: In function 'ConfigureScrollbar': bltScrollbar.c:890:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 890 | argc, argv, (char *)scrollPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltScrollbar.c:19: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ bltScrollbar.c: In function 'DisplayScrollbar': bltScrollbar.c:993:12: warning: unused variable 'points' [-Wunused-variable] 993 | XPoint points[7]; | ^~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. bltTed.c In file included from blt.h:72, from bltInt.h:86, 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] 830 | argc, argv, (char *)tedPtr, flags) != TCL_OK) { | ^~~~ | | | char ** bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from bltTed.c:28: bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ At top level: bltTed.c:552:1: warning: 'CreateEntry' defined but not used [-Wunused-function] 552 | CreateEntry(tedPtr, entryPtr) | ^~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. -DBLT_LIBRARY=\"/usr/lib/blt2.5\" \ ./bltInit.c ./bltInit.c: In function 'Blt_Init': ./bltInit.c:512:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 512 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^ ./bltInit.c:569:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 569 | (ClientData)(flags | BLT_TCL_CMDS)); | ^ ./bltInit.c:605:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 605 | (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 aarch64-mageia-linux-gnu-ranlib libBLT.a rm -f bltwish aarch64-mageia-linux-gnu-gcc -Wall -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I. -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o bltwish \ -DTCLLIBPATH=\"/usr/include/tcl-private/unix/tcl8.6\" \ ./bltUnixMain.c libBLT.a -L/usr/include/tk-private/unix -ltk8.6 -L/usr/include/tcl-private/unix -ltcl8.6 -lX11 -lm -ldl (cd shared; make CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables " all) make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic/shared' aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrAxis.c ../bltGrAxis.c: In function 'StringToTicks': ../bltGrAxis.c:672:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 672 | unsigned int mask = (unsigned int)clientData; | ^ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrAxis.c:28: ../bltGrAxis.c: In function 'ConfigureOp': ../bltGrAxis.c:3452:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 3452 | argc, argv, (char *)axisPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrAxis.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltGrAxis.c: In function 'UseOp': ../bltGrAxis.c:3674:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3674 | margin = (int)argv[-1]; | ^ ../bltGrAxis.c: In function 'Blt_AxisOp': ../bltGrAxis.c:4217:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4217 | 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] 328 | rangePtr->range = max - min; | ~~~~^~~~~ ../bltGrAxis.c:1554:21: note: 'axisMax' was declared here 1554 | double axisMin, axisMax; | ^~~~~~~ ../bltGrAxis.c:328:27: warning: 'axisMin' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rangePtr->range = max - min; | ~~~~^~~~~ ../bltGrAxis.c:1554:12: note: 'axisMin' was declared here 1554 | double axisMin, axisMax; | ^~~~~~~ ../bltGrAxis.c:1582:30: warning: 'step' may be used uninitialized in this function [-Wmaybe-uninitialized] 1582 | axisPtr->majorSweep.step = step; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../bltGrAxis.c:1552:19: note: 'step' was declared here 1552 | double range, step; | ^~~~ ../bltGrAxis.c:328:27: warning: 'tickMax' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rangePtr->range = max - min; | ~~~~^~~~~ ../bltGrAxis.c:1423:21: note: 'tickMax' was declared here 1423 | double tickMin, tickMax; | ^~~~~~~ ../bltGrAxis.c:328:27: warning: 'tickMin' may be used uninitialized in this function [-Wmaybe-uninitialized] 328 | rangePtr->range = max - min; | ~~~~^~~~~ ../bltGrAxis.c:1423:12: note: 'tickMin' was declared here 1423 | double tickMin, tickMax; | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../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] 2200 | count = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, 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] 2206 | Blt_SetHashValue(hPtr, (ClientData)count); | ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #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] 2222 | count = (int)Blt_GetHashValue(hPtr); | ^ ../bltGrBar.c:2227:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2227 | count = (int)Blt_GetHashValue(hPtr); | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrElem.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrElem.c:28: ../bltGrElem.c: In function 'ClosestOp': ../bltGrElem.c:1703:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1703 | argv + 6, (char *)&search, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrElem.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrElem.c:28: ../bltGrElem.c: In function 'ConfigureOp': ../bltGrElem.c:1857:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1857 | numOpts, options, (char *)elemPtr, flags) != TCL_OK) { | ^~~~~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrElem.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrGrid.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrGrid.c:30: ../bltGrGrid.c: In function 'ConfigureOp': ../bltGrGrid.c:372:21: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 372 | argc - 3, argv + 3, (char *)gridPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrGrid.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrHairs.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrHairs.c:30: ../bltGrHairs.c: In function 'ConfigureOp': ../bltGrHairs.c:394:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 394 | argv + 3, (char *)chPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrHairs.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrLegd.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrLegd.c:28: ../bltGrLegd.c: In function 'ConfigureOp': ../bltGrLegd.c:1410:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1410 | argv + 3, (char *)legendPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrLegd.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrLine.c ../bltGrLine.c: In function 'ClosestLine': ../bltGrLine.c:3109:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] 3109 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3110 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3082:13: note: 'closest.y' was declared here 3082 | Point2D closest, b; | ^~~~~~~ ../bltGrLine.c:3109:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] 3109 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3110 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3082:13: note: 'closest.x' was declared here 3082 | Point2D closest, b; | ^~~~~~~ ../bltGrLine.c:3158:21: warning: 'closest.y' may be used uninitialized in this function [-Wmaybe-uninitialized] 3158 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3159 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3137:13: note: 'closest.y' was declared here 3137 | Point2D closest, b; | ^~~~~~~ ../bltGrLine.c:3158:21: warning: 'closest.x' may be used uninitialized in this function [-Wmaybe-uninitialized] 3158 | searchPtr->point = Blt_InvMap2D(graphPtr, closest.x, closest.y, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3159 | &(linePtr->axes)); | ~~~~~~~~~~~~~~~~~ ../bltGrLine.c:3137:13: note: 'closest.x' was declared here 3137 | Point2D closest, b; | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrMarker.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrMarker.c:28: ../bltGrMarker.c: In function 'ConfigureOp': ../bltGrMarker.c:4317:44: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 4317 | markerPtr->classPtr->configSpecs, nOpts, options, | ^~~~~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrMarker.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrMisc.c ../bltGrMisc.c: In function 'StringToColorPair': ../bltGrMisc.c:263:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 263 | int allowDefault = (int)clientData; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrPen.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrPen.c:28: ../bltGrPen.c: In function 'ConfigureOp': ../bltGrPen.c:514:10: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 514 | nOpts, options, (char *)penPtr, flags) != TCL_OK) { | ^~~~~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrPen.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGrPs.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrPs.c:36: ../bltGrPs.c: In function 'ConfigureOp': ../bltGrPs.c:422:11: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 422 | argv + 3, (char *)psPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrPs.c:36: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGrPs.c:36: ../bltGrPs.c: In function 'OutputOp': ../bltGrPs.c:1128:8: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1128 | argv + 3, (char *)psPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGrPs.c:36: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltGraph.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGraph.c:43: ../bltGraph.c: In function 'CreateGraph': ../bltGraph.c:947:71: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 947 | if (Tk_ConfigureWidget(interp, tkwin, configSpecs, argc - 2, argv + 2, | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGraph.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltGraph.h:28, from ../bltGraph.c:43: ../bltGraph.c: In function 'ConfigureOp': ../bltGraph.c:1098:8: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1098 | argv + 2, (char *)graphPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltGraph.h:28, from ../bltGraph.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltAlloc.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltArrayObj.c ../bltArrayObj.c: In function 'SetArrayFromAny': ../bltArrayObj.c:88:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 88 | oldTypePtr = objPtr->typePtr; | ^ ../bltArrayObj.c:72:13: warning: 'string' may be used uninitialized in this function [-Wmaybe-uninitialized] 72 | Tcl_AppendResult(interp, "odd length: ", string, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltBgexec.c ../bltBgexec.c: In function 'InitSink': ../bltBgexec.c:669:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 669 | 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] 727 | 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] 884 | sinkPtr->file = (Tcl_File)NULL; | ^ ../bltBgexec.c: In function 'SinkCallback': ../bltBgexec.c:929:41: warning: pointer targets in passing argument 2 of 'Tcl_DStringAppendElement' differ in signedness [-Wpointer-sign] 929 | Tcl_DStringAppendElement(&dStr, data); | ^~~~ | | | unsigned char * In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltBgexec.c:30: /usr/include/tclDecls.h:386:17: note: expected 'const char *' but argument is of type 'unsigned char *' 386 | const char *element); | ~~~~~~~~~~~~^~~~~~~ ../bltBgexec.c: In function 'CollectData': ../bltBgexec.c:1300:8: warning: 'length' may be used uninitialized in this function [-Wmaybe-uninitialized] 1300 | if ((nBytes == 0) || (data[0] == '\0')) { | ^ ../bltBgexec.c:1360:6: note: 'length' was declared here 1360 | int length; | ^~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltChain.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltDebug.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltHash.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltList.c ../bltList.c: In function 'Blt_ListCreateNode': ../bltList.c:172:5: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 172 | case BLT_ONE_WORD_KEYS: | ^~~~ ../bltList.c: In function 'Blt_ListGetNode': ../bltList.c:409:2: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 409 | case BLT_ONE_WORD_KEYS: | ^~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltNsUtil.c ../bltNsUtil.c: In function 'Blt_GetVariableNamespace': ../bltNsUtil.c:351:21: warning: implicit declaration of function 'Tcl_FindNamespaceVar'; did you mean 'Tcl_FindNamespace'? [-Wimplicit-function-declaration] 351 | varPtr = (Var *)Tcl_FindNamespaceVar(interp, (char *)name, | ^~~~~~~~~~~~~~~~~~~~ | Tcl_FindNamespace ../bltNsUtil.c:351:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 351 | varPtr = (Var *)Tcl_FindNamespaceVar(interp, (char *)name, | ^ ../bltNsUtil.c: In function 'Blt_EnterNamespace': ../bltNsUtil.c:379:9: warning: implicit declaration of function 'Tcl_PushCallFrame' [-Wimplicit-function-declaration] 379 | if (Tcl_PushCallFrame(interp, framePtr, (Tcl_Namespace *)nsPtr, 0) | ^~~~~~~~~~~~~~~~~ ../bltNsUtil.c: In function 'Blt_LeaveNamespace': ../bltNsUtil.c:392:5: warning: implicit declaration of function 'Tcl_PopCallFrame' [-Wimplicit-function-declaration] 392 | Tcl_PopCallFrame(interp); | ^~~~~~~~~~~~~~~~ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltNsUtil.c:28: ../bltNsUtil.c: In function 'Blt_CreateNsDeleteNotify': ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltNsUtil.c:547:24: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 547 | list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltParse.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltPool.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltSpline.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltSwitch.c ../bltSwitch.c: In function 'Blt_ProcessSwitches': ../bltSwitch.c:325:58: warning: comparison between pointer and zero character constant [-Wpointer-compare] 325 | if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { | ^~ ../bltSwitch.c:325:50: note: did you mean to dereference the pointer? 325 | if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTree.c ../bltTree.c: In function 'IsTclDict': ../bltTree.c:50:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | dictType = obj->typePtr; | ^ In file included from ../blt.h:54, from ../bltInt.h:86, 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] 425 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)nodePtr->inode); | ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((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] 935 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((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] 1031 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, &isNew); | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((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] 1167 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)inode); | ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((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] 1235 | int result, inode; | ^~~~~ ../bltTree.c: In function 'Blt_TreeAddTag': ../bltTree.c:3321:72: warning: passing argument 5 of 'CallTraces' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3321 | result = CallTraces(interp, clientPtr, node->treeObject, node, tagName, | ^~~~~~~ ../bltTree.c:1511:17: note: expected 'Blt_TreeKey' {aka 'char *'} but argument is of type 'const char *' 1511 | Blt_TreeKey key, | ~~~~~~~~~~~~^~~ ../bltTree.c: In function 'Blt_TreeTagDelTrace': ../bltTree.c:3350:70: warning: passing argument 5 of 'CallTraces' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 3350 | return CallTraces(interp, clientPtr, node->treeObject, node, tagName, | ^~~~~~~ ../bltTree.c:1511:17: note: expected 'Blt_TreeKey' {aka 'char *'} but argument is of type 'const char *' 1511 | Blt_TreeKey key, | ~~~~~~~~~~~~^~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTreeCmd.c In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltTreeCmd.c:107: ../bltTreeCmd.c: In function 'ParseNode5': ../bltTreeCmd.c:1637:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1637 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTreeCmd.c:1647:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1647 | hPtr = Blt_FindHashEntry(&dataPtr->idTable, (char *)parentId); | ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ ../bltTreeCmd.c:1684:52: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1684 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTreeCmd.c:1694:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1694 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTreeCmd.c: In function 'SetValues': ../bltTreeCmd.c:2074:9: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2074 | int inode; | ^~~~~ ../bltTreeCmd.c: In function 'UpdateValues': ../bltTreeCmd.c:2104:26: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2104 | int result = TCL_OK, inode; | ^~~~~ ../bltTreeCmd.c: In function 'ComparePatternList': ../bltTreeCmd.c:2195:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2195 | type = (int)Blt_ListGetValue(node); | ^ ../bltTreeCmd.c: In function 'DeleteOp': ../bltTreeCmd.c:3604:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3604 | Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); | ^ ../bltTreeCmd.c:3614:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3614 | inode = (int)Blt_ChainGetValue(linkPtr); | ^ ../bltTreeCmd.c: In function 'CreateOp': ../bltTreeCmd.c:4472:20: warning: variable 'hasnum' set but not used [-Wunused-but-set-variable] 4472 | int fixed = 0, hasnum = 0, hcnt = 0; | ^~~~~~ ../bltTreeCmd.c: In function 'KeysOp': ../bltTreeCmd.c:4902:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 4902 | char *string; | ^~~~~~ ../bltTreeCmd.c: In function 'updateOp': ../bltTreeCmd.c:6445:29: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 6445 | int i, result = TCL_OK, inode; | ^~~~~ ../bltTreeCmd.c: In function 'SetOp': ../bltTreeCmd.c:6519:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6519 | char *string; | ^~~~~~ ../bltTreeCmd.c: In function 'ModifyOp': ../bltTreeCmd.c:6754:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6754 | char *string; | ^~~~~~ ../bltTreeCmd.c: In function 'TagNodesOp': ../bltTreeCmd.c:7089:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7089 | char *string; | ^~~~~~ ../bltTreeCmd.c: In function 'TypeOp': ../bltTreeCmd.c:7653:44: warning: passing argument 2 of 'Tcl_SetResult' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 7653 | Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); | ~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltTreeCmd.c:107: /usr/include/tclDecls.h:694:54: note: expected 'char *' but argument is of type 'const char * const' 694 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ~~~~~~^~~~~~ ../bltTreeCmd.c: In function 'UnsetOp': ../bltTreeCmd.c:7676:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7676 | char *string; | ^~~~~~ ../bltTreeCmd.c: In function 'WithOp': ../bltTreeCmd.c:8003:57: warning: variable 'isar' set but not used [-Wunused-but-set-variable] 8003 | int vobjc, kobjc, i, result = TCL_OK, len, cnt = 0, isar; | ^~~~ ../bltTreeCmd.c: In function 'ForeachOp': ../bltTreeCmd.c:8305:17: warning: variable 'string' set but not used [-Wunused-but-set-variable] 8305 | char *var, *string; | ^~~~~~ ../bltTreeCmd.c: In function 'SqlCallbackObj': ../bltTreeCmd.c:8675:28: warning: variable 'tcid' set but not used [-Wunused-but-set-variable] 8675 | int i, j, rid, lid, n, tcid, vobjc, tobjc; | ^~~~ ../bltTreeCmd.c:8675:25: warning: variable 'n' set but not used [-Wunused-but-set-variable] 8675 | int i, j, rid, lid, n, tcid, vobjc, tobjc; | ^ ../bltTreeCmd.c:8675:20: warning: variable 'lid' set but not used [-Wunused-but-set-variable] 8675 | int i, j, rid, lid, n, tcid, vobjc, tobjc; | ^~~ At top level: ../bltTreeCmd.c:8673:12: warning: 'SqlCallbackObj' defined but not used [-Wunused-function] 8673 | static int SqlCallbackObj(SqlData *sqlPtr, int argc, Tcl_Obj **objv, Tcl_Obj **azColName) | ^~~~~~~~~~~~~~ ../bltTreeCmd.c: In function 'WithOp': ../bltTreeCmd.c:8221:25: warning: 'aName' may be used uninitialized in this function [-Wmaybe-uninitialized] 8221 | if (Blt_TreeGetArrayValue(NULL, cmdPtr->tree, node, aName, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 8222 | skey, &valuePtr) != TCL_OK) { | ~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltUnixPipe.c ../bltUnixPipe.c: In function 'CreateProcess': ../bltUnixPipe.c:511:14: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 511 | Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG); | ^ ../bltUnixPipe.c: In function 'CreateTempFile': ../bltUnixPipe.c:114:5: warning: ignoring return value of 'mkstemp' declared with attribute 'warn_unused_result' [-Wunused-result] 114 | mkstemp(fileName); | ^~~~~~~~~~~~~~~~~ ../bltUnixPipe.c: In function 'CreateProcess': ../bltUnixPipe.c:452:6: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 452 | write(fd, errSpace, (size_t) strlen(errSpace)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltUnixPipe.c:463:2: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | write(fd, errSpace, (size_t) strlen(errSpace)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../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] 830 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltUtil.c:28: ../bltUtil.c:833:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 833 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #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] 867 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltUtil.c:28: ../bltUtil.c:872:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 872 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltVector.c ../bltVector.c: In function 'Blt_VectorGetIndex': ../bltVector.c:373:19: warning: passing argument 1 of 'Blt_FreeProcPtr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 373 | Blt_Free( string ); | ^~~~~~ ../bltVector.c:373:19: note: expected 'void *' but argument is of type 'const char *' ../bltVector.c: In function 'VectorConfigureObjOp': ../bltVector.c:1918:13: warning: 'ovar' may be used uninitialized in this function [-Wmaybe-uninitialized] 1918 | if (Tcl_GetBooleanFromObj(interp, objv[i+1], ovar) != TCL_OK) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltVecMath.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltVecCmd.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltVecObjCmd.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltWatch.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltBeep.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltBind.c In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltBind.c:28: ../bltBind.c: In function 'DoEvent': ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltBind.c:120:30: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 120 | bindIds = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltBitmap.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 921 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltBitmap.c:50: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1031 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltBitmap.c:50: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltBusy.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 421 | if (Tk_ConfigureWidget(interp, busyPtr->tkRef, configSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltBusy.c:29: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltCanvEps.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1294 | argv, (char *)epsPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltCanvEps.c:37: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltCanvEps.c: In function 'Blt_InitEpsCanvasItem': ../bltCanvEps.c:2008:26: warning: assignment to 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)' from incompatible pointer type 'int (*)(void *, Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)' [-Wincompatible-pointer-types] 2008 | tagsOption.parseProc = Tk_CanvasTagsParseProc; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltColor.c In file included from ../blt.h:54, from ../bltInt.h:86, 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] 538 | hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltColor.c:543:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 543 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltColor.c:71: ../bltColor.c:546:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 546 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #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] 570 | XColor *imageColors; | ^~~~~~~~~~~ ../bltColor.c:566:9: warning: variable 'nFreeColors' set but not used [-Wunused-but-set-variable] 566 | int nFreeColors, nUsedColors; | ^~~~~~~~~~~ At top level: ../bltColor.c:519:1: warning: 'GetUniqueColors' defined but not used [-Wunused-function] 519 | GetUniqueColors(image) | ^~~~~~~~~~~~~~~ ../bltColor.c:313:1: warning: 'AllocateColors' defined but not used [-Wunused-function] 313 | AllocateColors(nImageColors, colorTabPtr, matchOnly) | ^~~~~~~~~~~~~~ ../bltColor.c:254:1: warning: 'MatchColors' defined but not used [-Wunused-function] 254 | MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, | ^~~~~~~~~~~ ../bltColor.c:108:1: warning: 'BuildColorRamp' defined but not used [-Wunused-function] 108 | BuildColorRamp(palettePtr, nColors) | ^~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../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] 445 | 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] 481 | 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] 562 | 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] 651 | 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] 1565 | oldClass = Tk_Class(tkwin); | ^ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltConfig.c:28: ../bltConfig.c:1576:64: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1576 | result = Tk_ConfigureWidget(interp, tkwin, specsPtr, argc, argv, widgRec, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltConfig.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ 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] 581 | 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] 740 | return Tcl_Merge(2, argv); | ^~~~ | | | const char ** In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltConfig.c:28: /usr/include/tclDecls.h:585:57: note: expected 'char * const*' but argument is of type 'const char **' 585 | 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] 771 | result = Tcl_Merge(6, argv); | ^~~~ | | | const char ** In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltConfig.c:28: /usr/include/tclDecls.h:585:57: note: expected 'char * const*' but argument is of type 'const char **' 585 | 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] 774 | result = Tcl_Merge(5, argv); | ^~~~ | | | const char ** In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltConfig.c:28: /usr/include/tclDecls.h:585:57: note: expected 'char * const*' but argument is of type 'const char **' 585 | 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] 1021 | gradientPtr->color2 = color2Ptr; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltContainer.c ../bltContainer.c: In function 'StringToXID': ../bltContainer.c:825:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 825 | unsigned int flags = (int)clientData; | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1196 | if (Tk_ConfigureWidget(interp, cntrPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltContainer.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltCutbuffer.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltDragdrop.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1068 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, tokenConfigSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltDragdrop.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1296 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltDragdrop.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltHierbox.c In file included from ../blt.h:54, from ../bltInt.h:86, 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] 2080 | hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, | ^ ../bltHash.h:203:40: note: in definition of macro 'Blt_CreateHashEntry' 203 | (*((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] 2375 | hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); | ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((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] 2409 | serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 3325 | argc, argv, (char *)entryPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltHierbox.c:40: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 3938 | if (Tk_ConfigureWidget(interp, hboxPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltHierbox.c:40: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 5510 | argc, argv, (char *)hboxPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltHierbox.c:40: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltHtext.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 3923 | argc - 3, argv + 3, (char *)winPtr, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltHtext.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 4093 | argv + 2, itemPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltHtext.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 4491 | argv + 2, (char *)htPtr, 0) != TCL_OK) || | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltHtext.c:43: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltImage.c ../bltImage.c: In function 'Blt_MergeColorImage': ../bltImage.c:2658:31: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] 2658 | destPtr->Blue = (int)(0.5+srcPtr->rgba.blue * a1 + src2Ptr->rgba.blue * a2); | ~~~^~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltUnixImage.c In file included from ../blt.h:54, from ../bltInt.h:86, 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] 577 | hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); | ^ ../bltHash.h:201:38: note: in definition of macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltPs.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTable.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1205 | argc, argv, (char *)entryPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1557 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltTable.c:47: ../bltTable.c:1582:37: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1582 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltTable.c:47: ../bltTable.c: In function 'CreateTable': ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltTable.c:1820:45: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 1820 | tablePtr->rowInfo.list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltTable.c:1821:48: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 1821 | tablePtr->columnInfo.list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1865 | argc, argv, (char *)tablePtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltTable.c: In function 'BinEntry': ../bltTable.c:2037:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2037 | key = (int)Blt_ListGetKey(node); | ^ ../bltTable.c:2049:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2049 | 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] 2066 | key = (int)Blt_ListGetKey(node); | ^ ../bltTable.c:2078:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2078 | newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 2202 | entryConfigSpecs, argc, argv, (char *)entryPtr, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTable.c:47: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTabnotebook.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 2769 | if (Tk_ConfigureWidget(interp, nbPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTabnotebook.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 3695 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTabnotebook.c:30: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltTabnotebook.c: In function 'GetWindowRectangle': ../bltTabnotebook.c:2417:21: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized] 2417 | *yPtr = (*yPtr) + y; | ~~~~~~~~^~~ ../bltTabnotebook.c:2433:12: note: 'y' was declared here 2433 | int x, y; | ^ ../bltTabnotebook.c:2416:21: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized] 2416 | *xPtr = (*xPtr) + x; | ~~~~~~~~^~~ ../bltTabnotebook.c:2433:9: note: 'x' was declared here 2433 | int x, y; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTabset.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltTabset.c:31: ../bltTabset.c: In function 'ConfigureTabset': ../bltTabset.c:3163:70: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 3163 | if (Tk_ConfigureWidget(interp, setPtr->tkwin, configSpecs, argc, argv, | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTabset.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltTabset.c: In function 'NearestOp': ../bltTabset.c:3915:13: warning: variable 'dh' set but not used [-Wunused-but-set-variable] 3915 | int dw, dh; | ^~ ../bltTabset.c:3915:9: warning: variable 'dw' set but not used [-Wunused-but-set-variable] 3915 | int dw, dh; | ^~ In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltTabset.c:31: ../bltTabset.c: In function 'TabConfigureOp': ../bltTabset.c:4445:13: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 4445 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTabset.c:31: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltTabset.c: In function 'AdjustTabSizes': ../bltTabset.c:5202:28: warning: variable 'eImg' set but not used [-Wunused-but-set-variable] 5202 | int x, maxWidth, sImg, eImg; | ^~~~ ../bltTabset.c: In function 'DrawLabel': ../bltTabset.c:5878:5: warning: 'i2y' may be used uninitialized in this function [-Wmaybe-uninitialized] 5878 | Tk_RedrawImage(ImageBits(image2), 0, 0, img2Width, img2Height, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5879 | drawable, i2x, i2y); | ~~~~~~~~~~~~~~~~~~~ ../bltTabset.c:5878:5: warning: 'i2x' may be used uninitialized in this function [-Wmaybe-uninitialized] ../bltTabset.c:5863:41: warning: 'ih2' may be used uninitialized in this function [-Wmaybe-uninitialized] 5863 | i2y = y + (tabPtr->screenHeight - ih2) / 2; | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ ../bltTabset.c:5871:40: warning: 'iw2' may be used uninitialized in this function [-Wmaybe-uninitialized] 5871 | i2x = x + (tabPtr->screenWidth - iw2) / 2; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltText.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTile.c ../bltTile.c: In function 'Blt_TileRectangle': ../bltTile.c:1181:10: warning: variable 'ym' set but not used [-Wunused-but-set-variable] 1181 | int xm, ym; | ^~ ../bltTile.c:1181:6: warning: variable 'xm' set but not used [-Wunused-but-set-variable] 1181 | int xm, ym; | ^~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTreeView.c ../bltTreeView.c: In function 'Blt_TreeViewGetUid': ../bltTreeView.c:1312:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1312 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltTreeView.c:34: ../bltTreeView.c:1315:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1315 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltTreeView.c: In function 'Blt_TreeViewFreeUid': ../bltTreeView.c:1341:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1341 | refCount = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltTreeView.c:34: ../bltTreeView.c:1344:25: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1344 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^ ../bltHash.h:191:68: note: in definition of macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltTreeView.c: In function 'Blt_TreeViewRedrawIcon': ../bltTreeView.c:5036:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 5036 | int result, rcnt; | ^~~~~~ ../bltTreeView.c: In function 'Blt_TreeViewGetEntryIcon': ../bltTreeView.c:5280:19: warning: variable 'hasFocus' set but not used [-Wunused-but-set-variable] 5280 | int isActive, hasFocus; | ^~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTreeViewCmd.c ../bltTreeViewCmd.c: In function 'GetEntryFromSpecialId': ../bltTreeViewCmd.c:519:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 519 | ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { | ^ ../bltTreeViewCmd.c:519:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 519 | ((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] 671 | int inode; | ^~~~~ ../bltTreeViewCmd.c: In function 'EntrySetOp': ../bltTreeViewCmd.c:1692:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1692 | Blt_TreeNode node; | ^~~~ ../bltTreeViewCmd.c: In function 'EntryIncrOp': ../bltTreeViewCmd.c:1780:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1780 | Blt_TreeNode node; | ^~~~ ../bltTreeViewCmd.c: In function 'EntryGetOp': ../bltTreeViewCmd.c:1844:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1844 | Blt_TreeNode node; | ^~~~ ../bltTreeViewCmd.c: In function 'EditOp': ../bltTreeViewCmd.c:2659:19: warning: variable 'wy' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^~ ../bltTreeViewCmd.c:2659:15: warning: variable 'wx' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^~ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltTreeViewCmd.c:39: ../bltTreeViewCmd.c: In function 'FindOp': ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltTreeViewCmd.c:3766:30: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 3766 | options = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c: In function 'SearchAndApplyToTree': ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltTreeViewCmd.c:4579:30: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 4579 | options = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c: In function 'InsertOp': ../bltTreeViewCmd.c:5112:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] 5112 | if (Tcl_ListObjGetElements(interp, objv[count+1], &tobjc, &tobjv) != TCL_OK) { | ^~~~~~ | | | Tcl_Obj * const** In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltTreeViewCmd.c:39: /usr/include/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' but argument is of type 'Tcl_Obj * const**' 180 | Tcl_Obj ***objvPtr); | ~~~~~~~~~~~^~~~~~~ ../bltTreeViewCmd.c:5117:71: warning: passing argument 4 of 'Tcl_ListObjGetElements' from incompatible pointer type [-Wincompatible-pointer-types] 5117 | if (Tcl_ListObjGetElements(interp, objv[count+1], &sobjc, &sobjv) != TCL_OK) { | ^~~~~~ | | | Tcl_Obj * const** In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../bltTreeViewCmd.c:39: /usr/include/tclDecls.h:180:16: note: expected 'Tcl_Obj ***' but argument is of type 'Tcl_Obj * const**' 180 | Tcl_Obj ***objvPtr); | ~~~~~~~~~~~^~~~~~~ ../bltTreeViewCmd.c:5076:42: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 5076 | int optSkips, i, m, start, nOptions, inode; | ^~~~~ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltTreeViewCmd.c:39: ../bltTreeViewCmd.c: In function 'TagNamesOp': ../bltHash.h:91:27: warning: overflow in conversion from 'long unsigned int' to 'int' changes value from '18446744073709551615' to '-1' [-Woverflow] 91 | #define BLT_ONE_WORD_KEYS ((size_t)-1) | ^~~~~~~~~~~~ ../bltTreeViewCmd.c:6898:28: note: in expansion of macro 'BLT_ONE_WORD_KEYS' 6898 | list = Blt_ListCreate(BLT_ONE_WORD_KEYS); | ^~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c: In function 'SearchAndApplyToTree': ../bltTreeViewCmd.c:4809:16: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] 4809 | if (result == invertMatch) { | ^ ../bltTreeViewCmd.c: In function 'FindOp': ../bltTreeViewCmd.c:4348:18: warning: 'curValue' may be used uninitialized in this function [-Wmaybe-uninitialized] 4348 | Blt_TreeViewPercentSubst(tvPtr, entryPtr, columnPtr, retPctPtr, curValue, &cmdString); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTreeViewColumn.c ../bltTreeViewColumn.c: In function 'ObjToData': ../bltTreeViewColumn.c:413:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 413 | Blt_TreeNode node; | ^~~~ ../bltTreeViewColumn.c: In function 'Blt_TreeViewNumColumns': ../bltTreeViewColumn.c:709:21: warning: variable 'columnPtr' set but not used [-Wunused-but-set-variable] 709 | TreeViewColumn *columnPtr; | ^~~~~~~~~ ../bltTreeViewColumn.c: In function 'ColumnSeeOp': ../bltTreeViewColumn.c:2446:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] 2446 | int width, height; | ^~~~~~ ../bltTreeViewColumn.c: In function 'Blt_TreeViewSortFlatView': ../bltTreeViewColumn.c:3263:14: warning: variable 'key' set but not used [-Wunused-but-set-variable] 3263 | Blt_TreeKey key; | ^~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTreeViewEdit.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTreeViewStyle.c ../bltTreeViewStyle.c: In function 'DrawCheckBox': ../bltTreeViewStyle.c:1603:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 1603 | TextLayout *layPtr; | ^~~~~~ ../bltTreeViewStyle.c:1598:22: warning: variable 'relief' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^~~~~~ ../bltTreeViewStyle.c:1598:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^~~~~~~~~~~ ../bltTreeViewStyle.c: In function 'DrawBarBox': ../bltTreeViewStyle.c:2630:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 2630 | TextLayout *layPtr; | ^~~~~~ ../bltTreeViewStyle.c:2627:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 2627 | char *string; | ^~~~~~ ../bltTreeViewStyle.c: In function 'DrawWindowBox': ../bltTreeViewStyle.c:3415:15: warning: variable 'tkwin' set but not used [-Wunused-but-set-variable] 3415 | Tk_Window tkwin; | ^~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltUnixDnd.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 1838 | argv, (char *)tokenPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltUnixDnd.c:33: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 3781 | argv + 3, (char *)dndPtr, flags) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltUnixDnd.c:33: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ In file included from ../blt.h:72, from ../bltInt.h:86, 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] 4444 | argv + 3, (char *)dndPtr, 0) != TCL_OK) { | ~~~~~^~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltUnixDnd.c:33: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ At top level: ../bltUnixDnd.c:1463:1: warning: 'MorphToken' defined but not used [-Wunused-function] 1463 | MorphToken(dndPtr) | ^~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltWindow.c aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltObjConfig.c ../bltObjConfig.c: In function 'DoConfig': ../bltObjConfig.c:1341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1341 | 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] 1642 | flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltWinop.c ../bltWinop.c: In function 'ColorsOp': ../bltWinop.c:954:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 954 | cnt = (int)Blt_GetHashValue(hPtr); | ^ In file included from ../blt.h:54, from ../bltInt.h:86, from ../bltWinop.c:27: ../bltHash.h:191:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^ ../bltWinop.c:956:17: note: in expansion of macro 'Blt_SetHashValue' 956 | Blt_SetHashValue(hPtr, cnt); | ^~~~~~~~~~~~~~~~ ../bltWinop.c:968:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 968 | cnt = (int)Blt_GetHashValue(hPtr); | ^ ../bltWinop.c:902:9: warning: variable 'top' set but not used [-Wunused-but-set-variable] 902 | int top, x, y, isalph, iscnt, isNew, cnt; | ^~~ ../bltWinop.c: In function 'GradientsOp': ../bltWinop.c:1437:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1437 | int x, y, width; | ^ ../bltWinop.c: In function 'Blt_GetGradient': ../bltWinop.c:1487:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1487 | int x, y, width; | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../tkButton.c ../tkButton.c: In function 'StringToName': ../tkButton.c:348:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] 348 | char c; | ^ ../tkButton.c: In function 'StringToIcons': ../tkButton.c:881:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] 881 | int result, i; | ^~~~~~ ../tkButton.c: In function 'ButtonGetValue': ../tkButton.c:1224:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 1224 | return value; | ^~~~~ In file included from ../blt.h:72, from ../bltInt.h:86, from ../tkButton.c:18: ../tkButton.c: In function 'ConfigureButton': ../tkButton.c:1599:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 1599 | argc, argv, (char *)butPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../tkButton.c:18: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../tkButton.c:1584:9: warning: variable 'oldNode' set but not used [-Wunused-but-set-variable] 1584 | int oldNode, result = TCL_OK; | ^~~~~~~ ../tkButton.c: In function 'DisplayButton': ../tkButton.c:2060:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 2060 | int borderWidth, drawBorder; | ^~~~~~~~~~~ ../tkButton.c: In function 'InvokeButton': ../tkButton.c:3098:45: warning: passing argument 2 of 'Tcl_EvalObjEx' from incompatible pointer type [-Wincompatible-pointer-types] 3098 | return Tcl_EvalObjEx(butPtr->interp, butPtr->command, TCL_EVAL_GLOBAL); | ~~~~~~^~~~~~~~~ | | | char * In file included from /usr/include/tcl.h:2441, from ../bltInt.h:44, from ../tkButton.c:18: /usr/include/tclDecls.h:878:56: note: expected 'Tcl_Obj *' but argument is of type 'char *' 878 | EXTERN int Tcl_EvalObjEx(Tcl_Interp *interp, Tcl_Obj *objPtr, | ~~~~~~~~~^~~~~~ ../tkButton.c: In function 'DrawAALines': ../tkButton.c:3512:13: warning: unused variable 'j' [-Wunused-variable] 3512 | int i, j; | ^ At top level: ../tkButton.c:3590:13: warning: 'put_pixel_clip' defined but not used [-Wunused-function] 3590 | static void put_pixel_clip(AAImage *img, int x, int y, unsigned short r, unsigned short g, unsigned short b, unsigned char alpha) { | ^~~~~~~~~~~~~~ ../tkButton.c:3509:15: warning: 'DrawAALines' defined but not used [-Wunused-function] 3509 | static Pixmap DrawAALines(Button *butPtr, Drawable pixmap, XColor *color, XPoint *polyPoints, int numPoints) { | ^~~~~~~~~~~ ../tkButton.c:3422:1: warning: 'ButtonImageBdProc' defined but not used [-Wunused-function] 3422 | ButtonImageBdProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../tkFrame.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../tkFrame.c:18: ../tkFrame.c: In function 'ConfigureFrame': ../tkFrame.c:748:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 748 | argc, argv, (char *)framePtr, flags | framePtr->mask) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../tkFrame.c:18: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltScrollbar.c In file included from ../blt.h:72, from ../bltInt.h:86, from ../bltScrollbar.c:19: ../bltScrollbar.c: In function 'ConfigureScrollbar': ../bltScrollbar.c:890:12: warning: passing argument 5 of 'Blt_ConfigureWidget' from incompatible pointer type [-Wincompatible-pointer-types] 890 | argc, argv, (char *)scrollPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltScrollbar.c:19: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ ../bltScrollbar.c: In function 'DisplayScrollbar': ../bltScrollbar.c:993:12: warning: unused variable 'points' [-Wunused-variable] 993 | XPoint points[7]; | ^~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. ../bltTed.c In file included from ../blt.h:72, from ../bltInt.h:86, 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] 830 | argc, argv, (char *)tedPtr, flags) != TCL_OK) { | ^~~~ | | | char ** ../bltOldConfig.h:29:134: note: in definition of macro 'Tk_ConfigureWidget' 29 | #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:44, from ../bltTed.c:28: ../bltOldConfig.h:13:29: note: expected 'const char **' but argument is of type 'char **' 13 | int argc, CONST char ** argv, | ^ At top level: ../bltTed.c:552:1: warning: 'CreateEntry' defined but not used [-Wunused-function] 552 | CreateEntry(tedPtr, entryPtr) | ^~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. -DBLT_LIBRARY=\"/usr/lib/blt2.5\" \ ./../bltInit.c ./../bltInit.c: In function 'Blt_Init': ./../bltInit.c:512:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 512 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^ ./../bltInit.c:569:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 569 | (ClientData)(flags | BLT_TCL_CMDS)); | ^ ./../bltInit.c:605:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 605 | (ClientData)(flags | BLT_TK_CMDS)); | ^ rm -f libBLT25.so aarch64-mageia-linux-gnu-gcc -rdynamic -shared -Wl,-E -Wl,-soname,libBLT25.so -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 \ aarch64-mageia-linux-gnu-gcc -c -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. -DTCL_ONLY -DBLT_LIBRARY=\"/usr/lib/blt2.5\" \ ./../bltInit.c ./../bltInit.c: In function 'SetLibraryPath': ./../bltInit.c:438:16: warning: unused variable 'tkisinit' [-Wunused-variable] 438 | static int tkisinit = 0; | ^~~~~~~~ ./../bltInit.c: In function 'Blt_Init': ./../bltInit.c:512:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 512 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^ ./../bltInit.c:569:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 569 | (ClientData)(flags | BLT_TCL_CMDS)); | ^ At top level: ./../bltInit.c:438:16: warning: 'tkisinit' defined but not used [-Wunused-variable] 438 | static int tkisinit = 0; | ^~~~~~~~ rm -f libBLTlite25.so aarch64-mageia-linux-gnu-gcc -rdynamic -shared -Wl,-E -Wl,-soname,libBLTlite25.so -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 \ rm -f bltwish25 aarch64-mageia-linux-gnu-gcc -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o bltwish25 \ ./../bltUnixMain.c libBLT25.so -L/usr/include/tk-private/unix -ltk8.6 -L/usr/include/tcl-private/unix -ltcl8.6 -lX11 -lm -ldl rm -f bltsh25 aarch64-mageia-linux-gnu-gcc -Wall -fPIC -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -I.. -I./.. -I./../.. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -DTCL_ONLY -o bltsh25 \ ./../bltUnixMain.c libBLTlite25.so \ -L/usr/include/tcl-private/unix -ltcl8.6 -lm -ldl make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic/shared' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic' (cd library; make all) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/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/lib;' > pkgIndex.tcl make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/library' (cd man; make all) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/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 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/man' (cd demos; make all) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/demos' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/demos' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.QJRTGP + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64 + cd blt2.5 + '[' 1 -eq 1 ']' + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64 + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man + make prefix=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr exec_prefix=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr bindir=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin libdir=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6 includedir=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/include mandir=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man scriptdir=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 install mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6 mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/include mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 (cd generic; make install) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic' /usr/bin/install -c -m 644 libBLT.a /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLT25.a (cd /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6; rm -f libBLT.a ; ln -s libBLT25.a libBLT.a) aarch64-mageia-linux-gnu-ranlib /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLT25.a /usr/bin/install -c -m 644 libBLTlite.a /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLTlite25.a (cd /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6; rm -f libBLTlite.a ; ln -s libBLTlite25.a libBLTlite.a) aarch64-mageia-linux-gnu-ranlib /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLTlite25.a (cd shared; make install) make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic/shared' /usr/bin/install -c -m 0755 libBLT25.so /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6 /usr/bin/install -c -m 0755 libBLTlite25.so /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6 /usr/bin/install -c -m 0755 bltwish25 /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin /usr/bin/install -c -m 0755 bltsh25 /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic/shared' /usr/bin/install -c -m 0755 bltwish /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin /usr/bin/install -c -m 0755 bltsh /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin installing ./blt.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... make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/generic' (cd library; make install) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/library' mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/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%;/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6;' > pkgIndex.tcl for i in dd-color.tcl dd-file.tcl dd-number.tcl dd-text.tcl tclIndex ; do \ /usr/bin/install -c -m 644 ./dd_protocols/$i \ /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/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 tclIndex treeview.xbm treeview_m.xbm ; do \ /usr/bin/install -c -m 644 ./$i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 ; \ done /usr/bin/install -c -m 644 pkgIndex.tcl /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/library' (cd man; make install) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/man' Makefile:66: warning: ignoring prerequisites on suffix rule definition Makefile:62: warning: ignoring prerequisites on suffix rule definition mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/man3 for i in *.n ; do \ /usr/bin/install -c -m 644 $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann; \ done for i in *.3 ; do \ /usr/bin/install -c -m 644 $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/man3; \ done make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/man' (cd demos; make install) make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/blt2.5/demos' mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/bitmaps mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/bitmaps/hand mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/bitmaps/fish mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/images mkdir /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/scripts for i in ./bitmaps/*.xbm ; do \ /usr/bin/install -c -m 644 $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/bitmaps ; \ done for i in ./bitmaps/hand/*.xbm ; do \ /usr/bin/install -c -m 644 $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/bitmaps/hand ; \ done for i in ./bitmaps/fish/*.xbm ; do \ /usr/bin/install -c -m 644 $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/bitmaps/fish ; \ done for i in ./images/*.gif ./images/*.ps ; do \ /usr/bin/install -c -m 644 $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/images ; \ done for i in ./scripts/*.tcl ; do \ /usr/bin/install -c $i /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/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 /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos/$i ; \ done make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/blt2.5/demos' /usr/bin/install -c -m 644 ./README /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 /usr/bin/install -c -m 644 ./PROBLEMS /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 /usr/bin/install -c -m 644 ./NEWS /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5 + ln -sf bltwish25 /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin/bltwish + ln -sf bltsh25 /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin/bltsh + rm -fr /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/NEWS + rm -fr /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/PROBLEMS + rm -fr /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/README + rm -fr /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/demos + for i in bitmap graph tabset tree watch + mv /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/bitmap.n /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/bitmap-blt.n + for i in bitmap graph tabset tree watch + mv /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/graph.n /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/graph-blt.n + for i in bitmap graph tabset tree watch + mv /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/tabset.n /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/tabset-blt.n + for i in bitmap graph tabset tree watch + mv /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/tree.n /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/tree-blt.n + for i in bitmap graph tabset tree watch + mv /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/watch.n /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/man/mann/watch-blt.n + ln -s /usr/lib64/tcl8.6/libBLT25.so /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/libBLT25.so + ln -s /usr/lib64/tcl8.6/libBLTlite25.so /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/libBLTlite25.so + rm -f '/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/*.a' + rm -f /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLT.a /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLT25.a /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLTlite.a /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLTlite25.a + sed -i -e 's!/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64!!g' /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/blt2.5/pkgIndex.tcl + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.5-17.mga8 --unique-debug-suffix -2.5-17.mga8.aarch64 --unique-debug-src-base blt-2.5-17.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/blt2.5 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLT25.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLT25.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin/bltwish25 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLTlite25.so explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin/bltsh25 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/lib64/tcl8.6/libBLTlite25.so extracting debug info from /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin/bltsh25 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/bin/bltwish25 original debug info size: 6212kB, size after compression: 5516kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. 9703 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: blt-2.5-17.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.w2vQaQ + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd blt2.5 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr MANIFEST /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr NEWS /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr PROBLEMS /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr README /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr examples/ /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr html/ /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + cp -pr demos/ /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64/usr/share/doc/blt + RPM_EC=0 ++ jobs -p + exit 0 Provides: blt = 2.5-17.mga8 blt(aarch-64) = 2.5-17.mga8 devel(libBLT25(64bit)) devel(libBLTlite25(64bit)) libBLT25.so()(64bit) libBLTlite25.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: coreutils ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libBLT25.so()(64bit) libBLTlite25.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libtcl8.6.so()(64bit) libtk8.6.so()(64bit) tcl Processing files: blt-devel-2.5-17.mga8.aarch64 Provides: blt-devel = 2.5-17.mga8 blt-devel(aarch-64) = 2.5-17.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: blt-debugsource-2.5-17.mga8.aarch64 Provides: blt-debugsource = 2.5-17.mga8 blt-debugsource(aarch-64) = 2.5-17.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: blt-debuginfo-2.5-17.mga8.aarch64 Provides: blt-debuginfo = 2.5-17.mga8 blt-debuginfo(aarch-64) = 2.5-17.mga8 debuginfo(build-id) = 7041cb7d0a3caaa6578b749e3c1cfe817887629d debuginfo(build-id) = 87b2428ce6f5dfad7b4b4081fccab09a531204cb debuginfo(build-id) = c821d361807a1baa102bb6d1bddb019c5b4a5c7e debuginfo(build-id) = e29be73fa26408779d3667bce603d19ff9dbb41d Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: blt-debugsource(aarch-64) = 2.5-17.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/blt-devel-2.5-17.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/blt-debuginfo-2.5-17.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/blt-2.5-17.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/blt-debugsource-2.5-17.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.v0SNwO + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd blt2.5 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/blt-2.5-17.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.FJIN5Q + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf blt2.5 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!