=>> Building x11-toolkits/blt build started at Fri Jan 23 11:29:36 EST 2026 port directory: /usr/ports/x11-toolkits/blt package name: blt-2.5.3_7 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: doconnor@gsoft.com.au Makefile datestamp: -rw-r--r-- 1 root wheel 1418 Oct 16 2024 /usr/ports/x11-toolkits/blt/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- doconnor@gsoft.com.au --End MAINTAINER-- --CONFIGURE_ARGS-- --enable-jpeg=/usr/local --exec-prefix=/usr/local --with-tcl=/usr/local/lib/tcl8.6 --with-tclinclude=/usr/local/include/tcl8.6 --with-tk=/usr/local/lib/tk8.6 --with-tkinclude=/usr/local/include/tk8.6 --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work/.cache HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/blt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/blt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work/.cache HOME=/wrkdirs/usr/ports/x11-toolkits/blt/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/blt/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/blt/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- BLTVER=2.5 BLTSHORTVER=25 TCL_PKG=blt2.5.3 TCL_PKG_LIB_PREFIX= TCL_PKG_STUB_POSTFIX=2.5.3 OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/blt" EXAMPLESDIR="share/examples/blt" DATADIR="share/blt" WWWDIR="www/blt" ETCDIR="etc/blt" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/blt DOCSDIR=/usr/local/share/doc/blt EXAMPLESDIR=/usr/local/share/examples/blt WWWDIR=/usr/local/www/blt ETCDIR=/usr/local/etc/blt --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blt-2.5.3_7 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> blt-2.5.3_7 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of blt-2.5.3_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by blt-2.5.3_7 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by blt-2.5.3_7 for building => SHA256 Checksum OK for blt-src-2.5.3.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by blt-2.5.3_7 for building ===> Extracting for blt-2.5.3_7 => SHA256 Checksum OK for blt-src-2.5.3.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for blt-2.5.3_7 ===> Applying FreeBSD patches for blt-2.5.3_7 from /usr/ports/x11-toolkits/blt/files /usr/bin/find /wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5 -name Makefile.in | /usr/bin/xargs /usr/bin/sed -i.bak -e '/^INSTALL_ROOT/s|$|${DESTDIR}|' /usr/bin/find /wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/demos -name "*.tcl" | /usr/bin/xargs /usr/bin/sed -i.bak -e 's|../src/bltwish|/usr/local/bin/bltwish|' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blt-2.5.3_7 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg.DaveG.ca] Installing gmake-4.4.1... [pkg.DaveG.ca] `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] Extracting gmake-4.4.1: .......... done ===> blt-2.5.3_7 depends on package: gmake>=4.4.1 - found ===> Returning to build of blt-2.5.3_7 ===> blt-2.5.3_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> blt-2.5.3_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of blt-2.5.3_7 ===> blt-2.5.3_7 depends on file: /usr/local/bin/ccache - not found ===> Installing existing package /packages/All/ccache-3.7.12_8.pkg [pkg.DaveG.ca] Installing ccache-3.7.12_8... [pkg.DaveG.ca] Extracting ccache-3.7.12_8: ......... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) create symlink for clang create symlink for clang (world) create symlink for clang++ create symlink for clang++ (world) ===== Message from ccache-3.7.12_8: -- NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> blt-2.5.3_7 depends on file: /usr/local/bin/ccache - found ===> Returning to build of blt-2.5.3_7 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blt-2.5.3_7 depends on shared library: libjpeg.so - not found ===> Installing existing package /packages/All/jpeg-turbo-3.1.3.pkg [pkg.DaveG.ca] Installing jpeg-turbo-3.1.3... [pkg.DaveG.ca] Extracting jpeg-turbo-3.1.3: .......... done ===> blt-2.5.3_7 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> Returning to build of blt-2.5.3_7 ===> blt-2.5.3_7 depends on shared library: libtk86.so - not found ===> Installing existing package /packages/All/tk86-8.6.17.pkg [pkg.DaveG.ca] Installing tk86-8.6.17... [pkg.DaveG.ca] `-- Installing fontconfig-2.17.1,1... [pkg.DaveG.ca] | `-- Installing expat-2.7.3... [pkg.DaveG.ca] | `-- Extracting expat-2.7.3: .......... done [pkg.DaveG.ca] | `-- Installing freetype2-2.14.1... [pkg.DaveG.ca] | | `-- Installing brotli-1.2.0,1... [pkg.DaveG.ca] | | `-- Extracting brotli-1.2.0,1: .......... done [pkg.DaveG.ca] | | `-- Installing png-1.6.53... [pkg.DaveG.ca] | | `-- Extracting png-1.6.53: .......... done [pkg.DaveG.ca] | `-- Extracting freetype2-2.14.1: .......... done [pkg.DaveG.ca] `-- Extracting fontconfig-2.17.1,1: .......... done [pkg.DaveG.ca] `-- Installing libXScrnSaver-1.2.4_1... [pkg.DaveG.ca] | `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] | `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] `-- Extracting libXScrnSaver-1.2.4_1: .......... done [pkg.DaveG.ca] `-- Installing libXft-2.3.8... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXft-2.3.8: .......... done [pkg.DaveG.ca] `-- Installing tcl86-8.6.17... [pkg.DaveG.ca] `-- Extracting tcl86-8.6.17: .......... done [pkg.DaveG.ca] Extracting tk86-8.6.17: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.14.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===> blt-2.5.3_7 depends on shared library: libtk86.so - found (/usr/local/lib/libtk86.so) ===> Returning to build of blt-2.5.3_7 ===> blt-2.5.3_7 depends on shared library: libtcl86.so - found (/usr/local/lib/libtcl86.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for blt-2.5.3_7 loading site script /usr/ports/Templates/config.site checking host system type... amd64-portbld-freebsd13.5 checking target system type... amd64-portbld-freebsd13.5 checking build system type... amd64-portbld-freebsd13.5 checking which C compiler... cc checking how to run the C preprocessor... cpp checking if C compiler is really gcc... yes checking default compiler flags... -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing checking for Cygwin environment... no checking for mawk... (cached) /usr/bin/awk checking for a BSD compatible install... /usr/bin/install -c checking for ranlib... ranlib checking whether ln -s works... yes checking for main in -lsocket... no checking for main in -lnsl... no checking for main in -lm... yes checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for inttypes.h... (cached) yes checking for limits.h... (cached) yes checking for sys/param.h... (cached) yes checking for string.h... (cached) yes checking for ctype.h... (cached) yes checking for errno.h... (cached) yes checking for float.h... (cached) yes checking for math.h... (cached) yes checking for ieeefp.h... yes checking for sys/time.h... (cached) yes checking for waitflags.h... no checking for sys/wait.h... (cached) yes checking for malloc.h... yes checking for memory.h... (cached) yes checking for setjmp.h... yes checking for jpeglib.h... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for size_t... (cached) yes checking for pid_t... (cached) yes checking whether union wait is defined correctly... no checking whether byte ordering is bigendian... no checking size of int... 4 checking size of long... 8 checking size of long long... 8 checking size of void *... 8 checking for strdup... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for drand48... yes checking for srand48... yes checking for finite... yes checking for isnan... yes checking for isfinite... yes checking whether DBL_EPSILON is defined in float.h... yes checking whether declaration is needed for strdup... no checking whether declaration is needed for drand48... no checking whether declaration is needed for srand48... no checking whether declaration is needed for j1... no checking for X... libraries /usr/local/lib, headers /usr/local/include checking for tclConfig.sh... /usr/local/lib/tcl8.6/tclConfig.sh checking for tkConfig.sh... /usr/local/lib/tk8.6/tkConfig.sh checking for jpeg_read_header in -ljpeg... yes checking for XExtendedMaxRequestSize... yes checking BLT_MAJOR_VERSION... 2 checking BLT_MINOR_VERSION... 5 checking TCL_VERSION in tcl.h... 8.6 checking TK_VERSION in tk.h... 8.6 checking for dlfcn.h... (cached) yes Configuration results: tcl.h found in /usr/local/include/tcl8.6 tk.h found in /usr/local/include/tk8.6 X11/Xlib.h found in /usr/local/include libtcl86 found in /usr/local/lib libtk86 found in /usr/local/lib libX11 found in /usr/local/lib Directories where BLT is to be installed: "$prefix" is /usr/local "$exec_prefix" is /usr/local bltwish to be installed in ${exec_prefix}/bin libBLT.a to be installed in /usr/local/lib scripts to be installed in /usr/local/lib/blt2.5 manual pages to be installed in /usr/local/share/man creating ./config.status creating Makefile creating generic/Makefile creating generic/bltHash.h creating generic/shared/Makefile creating man/Makefile creating library/Makefile creating demos/Makefile creating generic/bltConfig.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for blt-2.5.3_7 (cd generic; /usr/local/bin/gmake all) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic' cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltAlloc.c bltAlloc.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Blt_Calloc(nElems, sizeOfElem) | ^ bltAlloc.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Blt_Strdup(string) | ^ 2 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltArrayObj.c bltArrayObj.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | SetArrayFromAny(interp, objPtr) | ^ bltArrayObj.c:88:16: warning: assigning to 'Tcl_ObjType *' (aka 'struct Tcl_ObjType *') from 'const Tcl_ObjType *' (aka 'const struct Tcl_ObjType *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 88 | oldTypePtr = objPtr->typePtr; | ^ ~~~~~~~~~~~~~~~ bltArrayObj.c:72:54: warning: variable 'string' is uninitialized when used here [-Wuninitialized] 72 | Tcl_AppendResult(interp, "odd length: ", string, 0); | ^~~~~~ bltArrayObj.c:59:17: note: initialize the variable 'string' to silence this warning 59 | char *string; | ^ | = NULL bltArrayObj.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | DupArrayInternalRep(srcPtr, destPtr) | ^ bltArrayObj.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | UpdateStringOfArray(objPtr) | ^ bltArrayObj.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | FreeArrayInternalRep(objPtr) | ^ bltArrayObj.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | Blt_GetArrayFromObj(interp, objPtr, tablePtrPtr) | ^ bltArrayObj.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | Blt_NewArrayObj(objc, objv) | ^ bltArrayObj.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | Blt_IsArrayObj(objPtr) | ^ bltArrayObj.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Blt_RegisterArrayObj(interp) | ^ 10 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBgexec.c bltBgexec.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | StringToSignal(clientData, interp, switchName, string, record, offset) | ^ bltBgexec.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | GetSinkData(sinkPtr, dataPtr, lengthPtr) | ^ bltBgexec.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | NextBlock(sinkPtr, lengthPtr) | ^ bltBgexec.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | NextLine(sinkPtr, lengthPtr) | ^ bltBgexec.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | ResetSink(sinkPtr) | ^ bltBgexec.c:669:21: warning: cast to smaller integer type 'Tcl_File' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 669 | sinkPtr->file = (Tcl_File)NULL; | ^~~~~~~~~~~~~~ bltBgexec.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | InitSink(bgPtr, sinkPtr, name, encoding) | ^ bltBgexec.c:727:21: warning: cast to smaller integer type 'Tcl_File' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 727 | sinkPtr->file = (Tcl_File)NULL; | ^~~~~~~~~~~~~~ bltBgexec.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | FreeSinkBuffer(sinkPtr) | ^ bltBgexec.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | ExtendSinkBuffer(sinkPtr) | ^ bltBgexec.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | ReadBytes(bgPtr, sinkPtr) | ^ bltBgexec.c:884:18: warning: cast to smaller integer type 'Tcl_File' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 884 | sinkPtr->file = (Tcl_File)NULL; | ^~~~~~~~~~~~~~ bltBgexec.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | CloseSink(bgPtr, interp, sinkPtr) | ^ bltBgexec.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | SinkCallback(interp, sinkPtr, status) | ^ bltBgexec.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | CookSink(interp, sinkPtr) | ^ bltBgexec.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | NotifyOnUpdate(bgPtr, interp, sinkPtr, data, nBytes) | ^ bltBgexec.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | CollectData(bgPtr, sinkPtr) | ^ bltBgexec.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | CreateSinkHandler(bgPtr, sinkPtr, proc) | ^ bltBgexec.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | DisableTriggers(bgPtr) | ^ bltBgexec.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | FreeBackgroundInfo(bgPtr) | ^ bltBgexec.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | DestroyBackgroundInfo(bgPtr) | ^ bltBgexec.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | TimerProc(clientData) | ^ bltBgexec.c:1775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | StdoutProc(clientData, mask) | ^ bltBgexec.c:1823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1823 | StderrProc(clientData, mask) | ^ bltBgexec.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | AddTimerHandler( bgPtr, interval ) | ^ bltBgexec.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | InterpDeleted(clientData, interp) | ^ bltBgexec.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | BgexecCmd(clientData, interp, argc, argv) | ^ bltBgexec.c:2143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | KillCmd(clientData, interp, argc, argv) | ^ bltBgexec.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | Blt_BgexecInit(interp) | ^ 29 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltChain.c bltChain.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | Blt_ChainAllocLink(extraSize) | ^ bltChain.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Blt_ChainReset(chainPtr) | ^ bltChain.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Blt_ChainDestroy(chainPtr) | ^ bltChain.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | Blt_ChainInit(chainPtr) | ^ bltChain.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | Blt_ChainLinkAfter(chainPtr, linkPtr, afterPtr) | ^ bltChain.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | Blt_ChainLinkBefore(chainPtr, linkPtr, beforePtr) | ^ bltChain.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Blt_ChainUnlinkLink(chainPtr, linkPtr) | ^ bltChain.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | Blt_ChainDeleteLink(chainPtr, linkPtr) | ^ bltChain.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | Blt_ChainAppend(chainPtr, clientData) | ^ bltChain.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Blt_ChainPrepend(chainPtr, clientData) | ^ bltChain.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | Blt_ChainGetNthLink(chainPtr, position) | ^ bltChain.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | Blt_ChainSort(chainPtr, proc) | ^ 12 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltDebug.c bltDebug.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | GetWatch(name) | ^ bltDebug.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | DeleteWatch(watchName) | ^ bltDebug.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | DebugProc(clientData, interp, level, command, proc, cmdClientData, | ^ bltDebug.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | DebugCmd(clientData, interp, argc, argv) | ^ bltDebug.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | Blt_DebugInit(interp) | ^ 5 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltHash.c cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltList.c bltList.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | FindString(listPtr, key) | ^ bltList.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | FindOneWord(listPtr, key) | ^ bltList.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | FindArray(listPtr, key) | ^ bltList.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | FreeNode(nodePtr) | ^ bltList.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | Blt_ListCreate(type) | ^ bltList.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | Blt_ListCreateNode(listPtr, key) | ^ bltList.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Blt_ListReset(listPtr) | ^ bltList.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Blt_ListDestroy(listPtr) | ^ bltList.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Blt_ListInit(listPtr, type) | ^ bltList.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Blt_ListLinkAfter(listPtr, nodePtr, afterPtr) | ^ bltList.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | Blt_ListLinkBefore(listPtr, nodePtr, beforePtr) | ^ bltList.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Blt_ListUnlinkNode(nodePtr) | ^ bltList.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | Blt_ListGetNode(listPtr, key) | ^ bltList.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | Blt_ListDeleteNode(nodePtr) | ^ bltList.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | Blt_ListDeleteNodeByKey(listPtr, key) | ^ bltList.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | Blt_ListAppend(listPtr, key, clientData) | ^ bltList.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | Blt_ListPrepend(listPtr, key, clientData) | ^ bltList.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | Blt_ListGetNthNode(listPtr, position, direction) | ^ bltList.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Blt_ListSort(listPtr, proc) | ^ 19 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltNsUtil.c In file included from bltNsUtil.c:30: In file included from /usr/local/include/tcl8.6/generic/tclInt.h:4501: In file included from /usr/local/include/tcl8.6/generic/tclTomMathDecls.h:20: /usr/local/include/tcl8.6/generic/tclTomMath.h:269:9: warning: 'SIGN' macro redefined [-Wmacro-redefined] 269 | #define SIGN(m) ((m)->sign) | ^ ./bltMath.h:139:9: note: previous definition is here 139 | #define SIGN(x) (((x) < 0.0) ? -1 : 1) | ^ bltNsUtil.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | Blt_GetVariableNamespace(interp, name) | ^ bltNsUtil.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Blt_GetCommandNamespace(interp, cmdToken) | ^ bltNsUtil.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | Blt_EnterNamespace(interp, nsPtr) | ^ bltNsUtil.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | Blt_LeaveNamespace(interp, framePtr) | ^ bltNsUtil.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | Blt_ParseQualifiedName(interp, qualName, nsPtrPtr, namePtrPtr) | ^ bltNsUtil.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | Blt_GetQualifiedName(nsPtr, name, resultPtr) | ^ bltNsUtil.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | NamespaceDeleteCmd(clientData, interp, argc, argv) | ^ bltNsUtil.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | NamespaceDeleteNotify(clientData) | ^ bltNsUtil.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | Blt_DestroyNsDeleteNotify(interp, nsPtr, clientData) | ^ bltNsUtil.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Blt_CreateNsDeleteNotify(interp, nsPtr, clientData, deleteProc) | ^ bltNsUtil.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | Blt_CreateCommand(interp, cmdName, proc, clientData, deleteProc) | ^ bltNsUtil.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | Blt_CreateCommandObj(interp, cmdName, proc, clientData, deleteProc) | ^ 13 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltParse.c bltParse.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Blt_ParseNestedCmd(interp, string, flags, termPtr, parsePtr) | ^ bltParse.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Blt_ParseBraces(interp, string, termPtr, parsePtr) | ^ bltParse.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | Blt_ExpandParseValue(parsePtr, needed) | ^ bltParse.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | Blt_ParseQuotes(interp, string, termChar, flags, termPtr, parsePtr) | ^ 4 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltPool.c bltPool.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | VariablePoolAllocItem(poolPtr, size) | ^ bltPool.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | VariablePoolFreeItem(poolPtr, item) | ^ bltPool.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | StringPoolAllocItem(poolPtr, size) | ^ bltPool.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | StringPoolFreeItem(poolPtr, item) | ^ bltPool.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | FixedPoolAllocItem(poolPtr, size) | ^ bltPool.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | FixedPoolFreeItem(poolPtr, item) | ^ bltPool.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | Blt_PoolCreate(type) | ^ bltPool.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | Blt_PoolDestroy(poolPtr) | ^ 8 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltSpline.c bltSpline.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | Search(points, nPoints, key, foundPtr) | ^ bltSpline.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | QuadChoose(p, q, m1, m2, epsilon) | ^ bltSpline.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | QuadCases(p, q, m1, m2, param, which) | ^ bltSpline.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | QuadSelect(p, q, m1, m2, epsilon, param) | ^ bltSpline.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | QuadGetImage(p1, p2, p3, x1, x2, x3) | ^ bltSpline.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | QuadSpline(intp, left, right, param, ncase) | ^ bltSpline.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | QuadSlopes(points, m, nPoints) | ^ bltSpline.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | QuadEval(origPts, nOrigPts, intpPts, nIntpPts, m, epsilon) | ^ bltSpline.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | Blt_QuadraticSpline(origPts, nOrigPts, intpPts, nIntpPts) | ^ bltSpline.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | Blt_NaturalSpline(origPts, nOrigPts, intpPts, nIntpPts) | ^ bltSpline.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | SplineCmd(clientData, interp, argc, argv) | ^ bltSpline.c:973:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | if (!(*proc) (origPts, nOrigPts, intpPts, nIntpPts)) { | ^ bltSpline.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | Blt_SplineInit(interp) | ^ bltSpline.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | SolveCubic1(A, n) | ^ bltSpline.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | SolveCubic2(A, spline, nIntervals) | ^ bltSpline.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | CubicSlopes(points, nPoints, isClosed, unitX, unitY) | ^ bltSpline.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | CubicEval(origPts, nOrigPts, intpPts, nIntpPts, spline) | ^ bltSpline.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | Blt_NaturalParametricSpline(origPts, nOrigPts, extsPtr, isClosed, | ^ bltSpline.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | CatromCoeffs(p, a, b, c, d) | ^ bltSpline.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | Blt_CatromParametricSpline(points, nPoints, intpPts, nIntpPts) | ^ 20 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltSwitch.c bltSwitch.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | FindSwitchSpec(interp, specs, name, needFlags, hateFlags, flags) | ^ bltSwitch.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | DoSwitch(interp, specPtr, string, record, obj) | ^ bltSwitch.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | Blt_ProcessSwitches(interp, specs, argc, argv, record, flags) | ^ bltSwitch.c:325:61: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 325 | if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { | ^~~~ | (void *)0 bltSwitch.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | Blt_ProcessObjSwitches(interp, specs, objc, objv, record, flags) | ^ bltSwitch.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | Blt_FreeSwitches(interp, specs, record, needFlags) | ^ bltSwitch.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | DeleteSpecCacheTable(clientData, interp) | ^ bltSwitch.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | Blt_GetCachedSwitchSpecs(interp, staticSpecs) | ^ bltSwitch.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | GetCachedSwitchSpecs(interp, staticSpecs) | ^ 9 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTree.c bltTree.c:50:18: warning: assigning to 'Tcl_ObjType *' (aka 'struct Tcl_ObjType *') from 'const Tcl_ObjType *' (aka 'const struct Tcl_ObjType *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 50 | dictType = obj->typePtr; | ^ ~~~~~~~~~~~~ bltTree.c:425:54: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 425 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)nodePtr->inode); | ^~~~~~~~~~~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ bltTree.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | Blt_TreeGetKey(string) | ^ bltTree.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | Blt_TreeKeyGet(interp, treeObjPtr, string) | ^ bltTree.c:935:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 935 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, | ^~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTree.c:1031:55: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 1031 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, &isNew); | ^~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTree.c:1167:54: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 1167 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)inode); | ^~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ bltTree.c:1235:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 1235 | int result, inode; | ^ bltTree.c:1662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | Blt_TreeValueExistsByKey(clientPtr, nodePtr, key) | ^ bltTree.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | Blt_TreeApplyBFS(nodePtr, proc, clientData) | ^ bltTree.c:2522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | Blt_TreeExists(interp, name) | ^ 11 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeCmd.c bltTreeCmd.c:1199:17: warning: variable 'node' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1199 | } else if (cmdPtr != NULL) { | ^~~~~~~~~~~~~~ bltTreeCmd.c:1264:9: note: uninitialized use occurs here 1264 | if (node != NULL) { | ^~~~ bltTreeCmd.c:1199:13: note: remove the 'if' if its condition is always true 1199 | } else if (cmdPtr != NULL) { | ^~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:1168:22: note: initialize the variable 'node' to silence this warning 1168 | Blt_TreeNode node; | ^ | = NULL bltTreeCmd.c:1644:48: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1644 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTreeCmd.c:1654:46: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1654 | hPtr = Blt_FindHashEntry(&dataPtr->idTable, (char *)parentId); | ^~~~~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ bltTreeCmd.c:1691:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1691 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTreeCmd.c:1701:49: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1701 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltTreeCmd.c:2081:9: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2081 | int inode; | ^ bltTreeCmd.c:2111:26: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2111 | int result = TCL_OK, inode; | ^ bltTreeCmd.c:2202:9: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2202 | type = (int)Blt_ListGetValue(node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:3554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3554 | DegreeOp(cmdPtr, interp, objc, objv) | ^ bltTreeCmd.c:3664:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 3664 | Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:3674:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 3674 | inode = (int)Blt_ChainGetValue(linkPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:4559:20: warning: variable 'hasnum' set but not used [-Wunused-but-set-variable] 4559 | int fixed = 0, hasnum = 0, hcnt = 0; | ^ bltTreeCmd.c:4961:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4961 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ bltTreeCmd.c:4989:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 4989 | char *string; | ^ bltTreeCmd.c:5141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5141 | LastChildOp(cmdPtr, interp, objc, objv) | ^ bltTreeCmd.c:5577:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5577 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ bltTreeCmd.c:5898:9: warning: variable 'elemArr' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 5898 | if (Blt_ProcessObjSwitches(interp, restoreSwitches, objc - 3, objv + 3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5899 | (char *)&data, BLT_SWITCH_EXACT) < 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeCmd.c:6015:9: note: uninitialized use occurs here 6015 | if (elemArr != NULL) { | ^~~~~~~ bltTreeCmd.c:5898:5: note: remove the 'if' if its condition is always false 5898 | if (Blt_ProcessObjSwitches(interp, restoreSwitches, objc - 3, objv + 3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5899 | (char *)&data, BLT_SWITCH_EXACT) < 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5900 | result = TCL_ERROR; | ~~~~~~~~~~~~~~~~~~~ 5901 | goto done; | ~~~~~~~~~~ 5902 | } | ~ bltTreeCmd.c:5883:19: note: initialize the variable 'elemArr' to silence this warning 5883 | char **elemArr, *entry, *eol, *next, saved; | ^ | = NULL bltTreeCmd.c:6532:29: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 6532 | int i, result = TCL_OK, inode; | ^ bltTreeCmd.c:6606:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6606 | char *string; | ^ bltTreeCmd.c:6841:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6841 | char *string; | ^ bltTreeCmd.c:7176:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7176 | char *string; | ^ bltTreeCmd.c:7488:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7488 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ bltTreeCmd.c:7707:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7707 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ bltTreeCmd.c:7740:24: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 7740 | Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:692:54: note: passing argument to parameter 'result' here 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ^ bltTreeCmd.c:7763:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7763 | char *string; | ^ bltTreeCmd.c:8091:57: warning: variable 'isar' set but not used [-Wunused-but-set-variable] 8091 | int vobjc, kobjc, i, result = TCL_OK, len, cnt = 0, isar; | ^ bltTreeCmd.c:8567:68: warning: 'errorLine' is deprecated [-Wdeprecated-declarations] 8567 | "\n (\"tree foreach\" body line ", Blt_Itoa(interp->errorLine), ")\n", 0); | ^ /usr/local/include/tcl8.6/generic/tcl.h:530:19: note: 'errorLine' has been explicitly marked deprecated here 530 | int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine"); | ^ /usr/local/include/tcl8.6/generic/tcl.h:172:50: note: expanded from macro 'TCL_DEPRECATED_API' 172 | # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) | ^ bltTreeCmd.c:8533:17: warning: variable 'string' set but not used [-Wunused-but-set-variable] 8533 | char *var, *string; | ^ bltTreeCmd.c:9665:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9665 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ bltTreeCmd.c:10009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10009 | TreeOpOp(clientData, interp, objc, objv) | ^ bltTreeCmd.c:10089:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10089 | return (*proc) (clientData, interp, objc, objv); | ^ 31 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUnixPipe.c bltUnixPipe.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | OpenFile(fname, mode) | ^ bltUnixPipe.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | CreateTempFile(contents) | ^ bltUnixPipe.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | CreatePipe(inFilePtr, outFilePtr) | ^ bltUnixPipe.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | CloseFile(fd) | ^ bltUnixPipe.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | SetupStdFile(fd, type) | ^ bltUnixPipe.c:511:14: warning: cast to 'Tcl_Pid' (aka 'struct Tcl_Pid_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 511 | Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG); | ^~~~~~~~~~~~ bltUnixPipe.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | CreateProcess(interp, argc, argv, inputFile, outputFile, errorFile, pidPtr) | ^ bltUnixPipe.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | FileForRedirect(interp, spec, atOK, arg, nextArg, flags, skipPtr, closePtr) | ^ bltUnixPipe.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | Blt_CreatePipeline(interp, argc, argv, pidArrayPtr, inPipePtr, | ^ 9 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUtil.c bltUtil.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | strtolower(s) | ^ bltUtil.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | Blt_DictionaryCompare(left, right) | ^ bltUtil.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | Blt_Assert(testExpr, fileName, lineNumber) | ^ bltUtil.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | Blt_Itoa(value) | ^ bltUtil.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | Blt_Utoa(value) | ^ bltUtil.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | Blt_Dtoa(interp, value) | ^ bltUtil.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | Blt_OpenUtfFile(fileName, mode) | ^ bltUtil.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | Blt_InitHexTable(hexTable) | ^ bltUtil.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | Blt_GetPosition(interp, string, indexPtr) | ^ bltUtil.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | Blt_GetPositionSize(interp, string, size, indexPtr) | ^ bltUtil.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | Blt_GetUid(string) | ^ bltUtil.c:830:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 830 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltUtil.c:833:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 833 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltUtil.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | Blt_FreeUid(uid) | ^ bltUtil.c:867:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 867 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltUtil.c:872:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 872 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltUtil.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | Blt_FindUid(string) | ^ bltUtil.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | BinaryOpSearch(specArr, nSpecs, string) | ^ bltUtil.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | LinearOpSearch(specArr, nSpecs, string) | ^ bltUtil.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | Blt_GetOp(interp, nSpecs, specArr, operPos, argc, argv, flags) | ^ bltUtil.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | Blt_GetOpFromObj(interp, nSpecs, specArr, operPos, objc, objv, flags) | ^ bltUtil.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | Blt_Crc32Init(interp) | ^ 22 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVector.c bltVector.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | FindVectorInNamespace(dataPtr, nsPtr, vecName) | ^ bltVector.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | GetVectorObject(dataPtr, name, flags) | ^ bltVector.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Blt_VectorUpdateRange(vPtr) | ^ bltVector.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | GetIntEnd(interp, string, iPtr, endVal) | ^ bltVector.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Blt_VectorGetIndex(interp, vPtr, string, indexPtr, flags, procPtrPtr) | ^ bltVector.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | Blt_VectorGetIndexRange(interp, vPtr, string, flags, procPtrPtr) | ^ bltVector.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | Blt_VectorParseElement(interp, dataPtr, start, endPtr, flags) | ^ bltVector.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | Blt_VectorNotifyClients(clientData) | ^ bltVector.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | Blt_VectorUpdateClients(vPtr) | ^ bltVector.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | Blt_VectorFlushCache(vPtr) | ^ bltVector.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | Blt_VectorLookupName(dataPtr, vecName, vPtrPtr) | ^ bltVector.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | DeleteCommand(vPtr) | ^ bltVector.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | UnmapVariable(vPtr) | ^ bltVector.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | Blt_VectorMapVariable(interp, vPtr, name) | ^ bltVector.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | Blt_VectorChangeLength(vPtr, length) | ^ bltVector.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | Blt_VectorReset(vPtr, valueArr, length, size, freeProc) | ^ bltVector.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | Blt_VectorNew(dataPtr) | ^ bltVector.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | Blt_VectorFree(vPtr) | ^ bltVector.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | VectorInstDeleteProc(clientData) | ^ bltVector.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | Blt_VectorCreate(dataPtr, vecName, cmdName, varName, newPtr) | ^ bltVector.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | Blt_VectorDuplicate(destPtr, srcPtr) | ^ bltVector.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | VectorNamesObjOp(clientData, interp, objc, objv) | ^ bltVector.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | VectorCreate2(clientData, interp, argStart, argc, argv) | ^ bltVector.c:1722:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | result = (*proc)(clientData, interp, objc, argv); | ^ bltVector.c:1707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | VectorObjCallOp(clientData, interp, objc, objv, proc) | ^ bltVector.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | VectorCreateOp(clientData, interp, argc, argv) | ^ bltVector.c:1759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | VectorCreateObjOp(clientData, interp, objc, objv) | ^ bltVector.c:1786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | VectorDestroyOp(clientData, interp, argc, argv) | ^ bltVector.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | VectorDestroyObjOp(clientData, interp, objc, objv) | ^ bltVector.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | VectorConfigureObjOp(clientData, interp, objc, objv) | ^ bltVector.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | VectorOpObjOp(clientData, interp, objc, objv) | ^ bltVector.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | VectorExprOp(clientData, interp, argc, argv) | ^ bltVector.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | VectorExprObjOp(clientData, interp, objc, objv) | ^ bltVector.c:2123:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | return (*proc) (clientData, interp, objc, objv); | ^ bltVector.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | VectorObjCmd(clientData, interp, objc, objv) | ^ bltVector.c:2148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2148 | VectorInterpDeleteProc(clientData, interp) | ^ bltVector.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | Blt_VectorGetInterpData(interp) | ^ bltVector.c:2245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | Blt_VectorInit(interp) | ^ bltVector.c:2291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2291 | Blt_CreateVector2(interp, vecName, cmdName, varName, initialSize, vecPtrPtr) | ^ bltVector.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | Blt_CreateVector(interp, name, size, vecPtrPtr) | ^ bltVector.c:2360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | Blt_DeleteVector(vecPtr) | ^ bltVector.c:2390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | Blt_DeleteVectorByName(interp, name) | ^ bltVector.c:2431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | Blt_VectorExists2(interp, vecName) | ^ bltVector.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | Blt_VectorExists(interp, vecName) | ^ bltVector.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | Blt_GetVector(interp, name, vecPtrPtr) | ^ bltVector.c:2542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2542 | Blt_ResetVector(vecPtr, valueArr, length, size, freeProc) | ^ bltVector.c:2584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | Blt_ResizeVector(vecPtr, length) | ^ bltVector.c:2619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2619 | Blt_AllocVectorId(interp, name) | ^ bltVector.c:2675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2675 | Blt_SetVectorChangedProc(clientId, proc, clientData) | ^ bltVector.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | Blt_FreeVectorId(clientId) | ^ bltVector.c:2740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2740 | Blt_NameOfVectorId(clientId) | ^ bltVector.c:2752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | Blt_NameOfVector(vecPtr) | ^ bltVector.c:2772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2772 | Blt_VectorNotifyPending(clientId) | ^ bltVector.c:2800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2800 | Blt_GetVectorById(interp, clientId, vecPtrPtr) | ^ bltVector.c:2822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | Blt_InstallIndexProc(interp, string, procPtr) | ^ 55 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVecMath.c bltVecMath.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | First(vPtr) | ^ bltVecMath.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Next(vPtr, current) | ^ bltVecMath.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | Sort(vPtr) | ^ bltVecMath.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | Invert(vPtr) | ^ bltVecMath.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | Length(vecPtr) | ^ bltVecMath.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | Blt_VecMin(vecPtr) | ^ bltVecMath.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | Blt_VecMax(vecPtr) | ^ bltVecMath.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | Mean(vecPtr) | ^ bltVecMath.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | Variance(vecPtr) | ^ bltVecMath.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Skew(vecPtr) | ^ bltVecMath.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | StdDeviation(vecPtr) | ^ bltVecMath.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | AvgDeviation(vecPtr) | ^ bltVecMath.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | Kurtosis(vecPtr) | ^ bltVecMath.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | Shift(vecPtr, optPtr) | ^ bltVecMath.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | Median(vecPtr) | ^ bltVecMath.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | Q1(vecPtr) | ^ bltVecMath.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | Q3(vecPtr) | ^ bltVecMath.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | Norm(vecPtr) | ^ bltVecMath.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | Row(vecPtr) | ^ bltVecMath.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | Product(vecPtr) | ^ bltVecMath.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | Sum(vecPtr) | ^ bltVecMath.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | Nonzeros(vecPtr) | ^ bltVecMath.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | Fabs(value) | ^ bltVecMath.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | Round(value) | ^ bltVecMath.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | Fmod(x, y) | ^ bltVecMath.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | MathError(interp, value) | ^ bltVecMath.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | ParseString(interp, string, valuePtr) | ^ bltVecMath.c:1031:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | if ((*mathPtr->proc) (mathPtr->clientData, interp, vPtr, optVal.vPtr) | ^ bltVecMath.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | ParseMathFunction(interp, start, parsePtr, valuePtr) | ^ bltVecMath.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | NextToken(interp, parsePtr, valuePtr) | ^ bltVecMath.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | NextValue(interp, parsePtr, prec, valuePtr, optValPtr) | ^ bltVecMath.c:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | EvaluateExpression(interp, string, valuePtr, cvPtr) | ^ bltVecMath.c:1974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1974 | ComponentFunc(clientData, interp, vPtr) | ^ bltVecMath.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | ScalarFunc(clientData, interp, vPtr) | ^ bltVecMath.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | VectorFunc(clientData, interp, vPtr) | ^ bltVecMath.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | Opt1Func(clientData, interp, vPtr, optPtr) | ^ bltVecMath.c:2095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | Blt_VectorInstallMathFunctions(tablePtr) | ^ bltVecMath.c:2109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | Blt_VectorUninstallMathFunctions(tablePtr) | ^ bltVecMath.c:2127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | InstallIndexProc(tablePtr, string, procPtr) | ^ bltVecMath.c:2148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2148 | Blt_VectorInstallSpecialIndices(tablePtr) | ^ bltVecMath.c:2161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | EvalVectorExpr(interp, string, dataPtr, vPtr) | ^ bltVecMath.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | Blt_ExprVector(interp, string, vecPtr) | ^ 42 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVecCmd.c cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltVecObjCmd.c bltVecObjCmd.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | int GetDouble(interp, objPtr, valuePtr) | ^ bltVecObjCmd.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ReplicateValue(vPtr, first, last, value) | ^ bltVecObjCmd.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | CopyList(vPtr, objc, objv) | ^ bltVecObjCmd.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | AppendVector(destPtr, srcPtr) | ^ bltVecObjCmd.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | InsertList(vPtr, objc, objv, idx) | ^ bltVecObjCmd.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | InsertVector(destPtr, srcPtr, idx) | ^ bltVecObjCmd.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | AppendList(vPtr, objc, objv) | ^ bltVecObjCmd.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | AppendOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | InsertOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | ClearOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | DeleteOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | DupOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | IndexOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | GetIntObj(interp, obj, iPtr) | ^ bltVecObjCmd.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | LengthOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | VariableOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | MergeOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | NormalizeOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | NotifyOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | PopulateOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | RangeOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | InRange(value, min, max) | ^ bltVecObjCmd.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | GetBinaryFormat(interp, string, sizePtr) | ^ bltVecObjCmd.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | CopyValues(vPtr, byteArr, fmt, size, length, swap, indexPtr) | ^ bltVecObjCmd.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | BinreadOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | BinwriteOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | SearchOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | OffsetOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | RandomOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | SeqOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | SetOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | SplitOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | CompareVectors(a, b) | ^ bltVecObjCmd.c:1913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1913 | Blt_VectorSortIndex(vPtrPtr, nVectors) | ^ bltVecObjCmd.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | SortVectors(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | SortOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | InstExprOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | ArithOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2242 | MatrixNumcolsObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | MatrixNumrowsObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | MatrixTransposeObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2374 | MatrixSortObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | MatrixDeleteObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | MatrixInsertObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2593 | MatrixSetObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2660 | MatrixGetObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2728 | MatrixCopyObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | MatrixShiftObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2879 | MatrixMultiplyObjOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:2995:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2995 | return (*proc) (vPtr, interp, objc, objv); | ^ bltVecObjCmd.c:2982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2982 | MatrixOp(vPtr, interp, objc, objv) | ^ bltVecObjCmd.c:3048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3048 | Blt_VectorInstCmd(clientData, interp, objc, objv) | ^ bltVecObjCmd.c:3064:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3064 | return (*proc) (vPtr, interp, objc, objv); | ^ bltVecObjCmd.c:3081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3081 | Blt_VectorVarTrace(clientData, interp, part1, part2, flags) | ^ 54 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltStubLib.c bltStubLib.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | Blt_InitStubs(interp, version, exact) | ^ 1 warning generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltStubInit.c cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltWatch.c bltWatch.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | PreCmdProc(clientData, interp, level, command, cmdProc, cmdClientData, | ^ bltWatch.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | PostCmdProc(clientData, interp, code) | ^ bltWatch.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | NewWatch(interp, name) | ^ bltWatch.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | DestroyWatch(watchPtr) | ^ bltWatch.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | NameToWatch(interp, name, flags) | ^ bltWatch.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | ListWatches(interp, state) | ^ bltWatch.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | ConfigWatch(watchPtr, interp, argc, argv) | ^ bltWatch.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | CreateOp(clientData, interp, argc, argv) | ^ bltWatch.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | DeleteOp(clientData, interp, argc, argv) | ^ bltWatch.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | ActivateOp(clientData, interp, argc, argv) | ^ bltWatch.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | NamesOp(clientData, interp, argc, argv) | ^ bltWatch.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | ConfigureOp(clientData, interp, argc, argv) | ^ bltWatch.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | InfoOp(clientData, interp, argc, argv) | ^ bltWatch.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | WatchCmd(clientData, interp, argc, argv) | ^ bltWatch.c:804:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | result = (*proc) (clientData, interp, argc, argv); | ^ bltWatch.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | WatchDeleteCmd(clientData) | ^ bltWatch.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | Blt_WatchInit(interp) | ^ 17 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./bltInit.c ./bltInit.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | MinMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./bltInit.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | MaxMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./bltInit.c:441:16: warning: unused variable 'tkisinit' [-Wunused-variable] 441 | static int tkisinit = 0; | ^~~~~~~~ ./bltInit.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SetLibraryPath(interp) | ^ ./bltInit.c:514:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 514 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:573:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 573 | (ClientData)(flags | BLT_TCL_CMDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | Blt_Init(interp) | ^ ./bltInit.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Blt_SafeInit(interp) | ^ ./bltInit.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | Blt_InitCmd(interp, nsName, specPtr) | ^ ./bltInit.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Blt_InitObjCmd(interp, nsName, specPtr) | ^ ./bltInit.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | Blt_InitCmds(interp, nsName, specPtr, nCmds) | ^ 11 warnings generated. rm -f libBLTlite.a ar rc libBLTlite.a bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltStubLib.o bltStubInit.o bltWatch.o bltInit.o ranlib libBLTlite.a rm -f bltsh cc -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -o bltsh \ -DTCLLIBPATH=\"/usr/local/lib/tcl8.6\" \ ./bltUnixMain.c libBLTlite.a -L/usr/local/lib -ltcl86 -lm ./bltUnixMain.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | main(argc, argv) | ^ ./bltUnixMain.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Tcl_AppInit(interp) | ^ 2 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrAxis.c bltGrAxis.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | InRange(x, rangePtr) | ^ bltGrAxis.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | AxisIsHorizontal(graphPtr, axisPtr) | ^ bltGrAxis.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | StringToAnyAxis(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrAxis.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | StringToAxis(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrAxis.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | AxisToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrAxis.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | StringToFormat(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrAxis.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | FormatToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrAxis.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | StringToLimit(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrAxis.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | LimitToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrAxis.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | StringToTicks(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrAxis.c:672:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 672 | unsigned int mask = (unsigned int)clientData; | ^~~~~~~~~~~~~~~~~~~~~~~~ bltGrAxis.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | TicksToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrAxis.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | StringToLoose(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrAxis.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | LooseToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrAxis.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | FreeLabels(chainPtr) | ^ bltGrAxis.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | MakeLabel(graphPtr, axisPtr, value) | ^ bltGrAxis.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | Blt_InvHMap(graphPtr, axisPtr, x) | ^ bltGrAxis.c:997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | Blt_InvVMap(graphPtr, axisPtr, y) | ^ bltGrAxis.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | Blt_HMap(graphPtr, axisPtr, x) | ^ bltGrAxis.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | Blt_VMap(graphPtr, axisPtr, y) | ^ bltGrAxis.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | Blt_Map2D(graphPtr, x, y, axesPtr) | ^ bltGrAxis.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | Blt_InvMap2D(graphPtr, x, y, axesPtr) | ^ bltGrAxis.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | GetDataLimits(axisPtr, min, max) | ^ bltGrAxis.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | FixAxisRange(axisPtr) | ^ bltGrAxis.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | NiceNum(x, doround) | ^ bltGrAxis.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | GenerateTicks(sweepPtr) | ^ bltGrAxis.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | LogScaleAxis(axisPtr, min, max) | ^ bltGrAxis.c:1429:9: warning: variable 'tickMin' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1429 | if (min < max) { | ^~~~~~~~~ bltGrAxis.c:1479:41: note: uninitialized use occurs here 1479 | axisPtr->majorSweep.initial = floor(tickMin); | ^~~~~~~ bltGrAxis.c:1429:5: note: remove the 'if' if its condition is always true 1429 | if (min < max) { | ^~~~~~~~~~~~~~ bltGrAxis.c:1423:19: note: initialize the variable 'tickMin' to silence this warning 1423 | double tickMin, tickMax; | ^ | = 0.0 bltGrAxis.c:1429:9: warning: variable 'tickMax' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1429 | if (min < max) { | ^~~~~~~~~ bltGrAxis.c:1483:48: note: uninitialized use occurs here 1483 | SetAxisRange(&axisPtr->axisRange, tickMin, tickMax); | ^~~~~~~ bltGrAxis.c:1429:5: note: remove the 'if' if its condition is always true 1429 | if (min < max) { | ^~~~~~~~~~~~~~ bltGrAxis.c:1423:28: note: initialize the variable 'tickMax' to silence this warning 1423 | double tickMin, tickMax; | ^ | = 0.0 bltGrAxis.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | LinearScaleAxis(axisPtr, min, max) | ^ bltGrAxis.c:1559:9: warning: variable 'step' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1559 | if (min < max) { | ^~~~~~~~~ bltGrAxis.c:1582:32: note: uninitialized use occurs here 1582 | axisPtr->majorSweep.step = step; | ^~~~ bltGrAxis.c:1559:5: note: remove the 'if' if its condition is always true 1559 | if (min < max) { | ^~~~~~~~~~~~~~ bltGrAxis.c:1552:23: note: initialize the variable 'step' to silence this warning 1552 | double range, step; | ^ | = 0.0 bltGrAxis.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | SweepTicks(axisPtr) | ^ bltGrAxis.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | Blt_ResetAxes(graphPtr) | ^ bltGrAxis.c:1758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | ResetTextStyles(graphPtr, axisPtr) | ^ bltGrAxis.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | DestroyAxis(graphPtr, axisPtr) | ^ bltGrAxis.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | AxisOffsets(graphPtr, axisPtr, margin, axisOffset, infoPtr) | ^ bltGrAxis.c:2022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | MakeAxisLine(graphPtr, axisPtr, line, segPtr) | ^ bltGrAxis.c:2049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2049 | MakeTick(graphPtr, axisPtr, value, tick, line, segPtr) | ^ bltGrAxis.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | MapAxis(graphPtr, axisPtr, offset, margin) | ^ bltGrAxis.c:2223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | AdjustViewport(offset, windowSize) | ^ bltGrAxis.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | GetAxisScrollInfo(interp, argc, argv, offsetPtr, windowSize, scrollUnits) | ^ bltGrAxis.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | DrawAxis(graphPtr, drawable, axisPtr) | ^ bltGrAxis.c:2454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | AxisToPostScript(psToken, axisPtr) | ^ bltGrAxis.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | MakeGridLine(graphPtr, axisPtr, value, segPtr) | ^ bltGrAxis.c:2519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2519 | Blt_GetAxisSegments(graphPtr, axisPtr, segPtrPtr, nSegmentsPtr) | ^ bltGrAxis.c:2601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | GetAxisGeometry(graphPtr, axisPtr) | ^ bltGrAxis.c:2732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2732 | GetMarginGeometry(graphPtr, marginPtr) | ^ bltGrAxis.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | ComputeMargins(graphPtr) | ^ bltGrAxis.c:3018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3018 | Blt_LayoutMargins(graphPtr) | ^ bltGrAxis.c:3091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3091 | ConfigureAxis(graphPtr, axisPtr) | ^ bltGrAxis.c:3166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3166 | CreateAxis(graphPtr, name, margin) | ^ bltGrAxis.c:3225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3225 | NameToAxis(graphPtr, name, axisPtrPtr) | ^ bltGrAxis.c:3249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3249 | GetAxis(graphPtr, axisName, classUid, axisPtrPtr) | ^ bltGrAxis.c:3277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3277 | FreeAxis(graphPtr, axisPtr) | ^ bltGrAxis.c:3289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3289 | Blt_DestroyAxes(graphPtr) | ^ bltGrAxis.c:3311:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3311 | int Blt_ConfigureAxes(graphPtr) | ^ bltGrAxis.c:3327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3327 | Blt_DefaultAxes(graphPtr) | ^ bltGrAxis.c:3380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3380 | BindOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3407 | CgetOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | ConfigureOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | GetOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3529 | LimitsOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3570 | InvTransformOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | TransformOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3674:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 3674 | margin = (int)argv[-1]; | ^~~~~~~~~~~~~ bltGrAxis.c:3659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3659 | UseOp(graphPtr, axisPtr, argc, argv) | ^ bltGrAxis.c:3750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3750 | CreateVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3788 | BindVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | CgetVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3858 | ConfigureVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3914 | DeleteVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3950 | InvTransformVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:3979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3979 | LimitsVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:4008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4008 | NamesVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:4055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4055 | TransformVirtualOp(graphPtr, argc, argv) | ^ bltGrAxis.c:4069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4069 | ViewOp(graphPtr, argc, argv) | ^ bltGrAxis.c:4153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4153 | Blt_VirtualAxisOp(graphPtr, interp, argc, argv) | ^ bltGrAxis.c:4186:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | result = (*proc) (graphPtr, argc, argv); | ^ bltGrAxis.c:4191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4191 | Blt_AxisOp(graphPtr, margin, argc, argv) | ^ bltGrAxis.c:4218:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 4218 | argv[2] = (char *)margin; /* Hack. Slide a reference to the margin in | ^~~~~~~~~~~~~~ bltGrAxis.c:4221:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4221 | result = (*proc)(graphPtr, NULL, argc - 3, argv +3); | ^ bltGrAxis.c:4228:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4228 | result = (*proc)(graphPtr, axisPtr, argc - 3, argv + 3); | ^ bltGrAxis.c:4234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4234 | Blt_MapAxes(graphPtr) | ^ bltGrAxis.c:4262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4262 | Blt_DrawAxes(graphPtr, drawable) | ^ bltGrAxis.c:4282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4282 | Blt_AxesToPostScript(graphPtr, psToken) | ^ bltGrAxis.c:4321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4321 | Blt_DrawAxisLimits(graphPtr, drawable) | ^ bltGrAxis.c:4398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4398 | Blt_AxisLimitsToPostScript(graphPtr, psToken) | ^ bltGrAxis.c:4470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4470 | Blt_GetFirstAxis(chainPtr) | ^ bltGrAxis.c:4483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4483 | Blt_NearestAxis(graphPtr, x, y) | ^ bltGrAxis.c:4558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4558 | Blt_MakeAxisTag(graphPtr, tagName) | ^ 90 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrBar.c bltGrBar.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | Round(x) | ^ bltGrBar.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | NameOfBarMode(mode) | ^ bltGrBar.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | StringToBarMode(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrBar.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | BarModeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrBar.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | ClearPalette(palette) | ^ bltGrBar.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | ConfigurePen(graphPtr, penPtr) | ^ bltGrBar.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | DestroyPen(graphPtr, penPtr) | ^ bltGrBar.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | InitPen(penPtr) | ^ bltGrBar.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | Blt_BarPen(penName) | ^ bltGrBar.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | CheckStacks(graphPtr, pairPtr, minPtr, maxPtr) | ^ bltGrBar.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | ConfigureBar(graphPtr, elemPtr) | ^ bltGrBar.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | GetBarExtents(elemPtr, extsPtr) | ^ bltGrBar.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | ClosestBar(graphPtr, elemPtr, searchPtr) | ^ bltGrBar.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | MergePens(barPtr, dataToStyle) | ^ bltGrBar.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | MapActiveBars(barPtr) | ^ bltGrBar.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | ResetBar(barPtr) | ^ bltGrBar.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | MapBar(graphPtr, elemPtr) | ^ bltGrBar.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | DrawSymbol(graphPtr, drawable, elemPtr, x, y, size) | ^ bltGrBar.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | DrawNormalBar(graphPtr, drawable, elemPtr) | ^ bltGrBar.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | DrawActiveBar(graphPtr, drawable, elemPtr) | ^ bltGrBar.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | SymbolToPostScript(graphPtr, psToken, elemPtr, x, y, size) | ^ bltGrBar.c:1787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | SegmentsToPostScript(graphPtr, psToken, penPtr, rectPtr, nRects) | ^ bltGrBar.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | ActiveBarToPostScript(graphPtr, psToken, elemPtr) | ^ bltGrBar.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | NormalBarToPostScript(graphPtr, psToken, elemPtr) | ^ bltGrBar.c:2027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | DestroyBar(graphPtr, elemPtr) | ^ bltGrBar.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | Blt_BarElement(graphPtr, name, type) | ^ bltGrBar.c:2142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | Blt_InitFreqTable(graphPtr) | ^ bltGrBar.c:2200:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2200 | count = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltGrBar.c:2206:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2206 | Blt_SetHashValue(hPtr, (ClientData)count); | ^~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltGrBar.c:2222:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2222 | count = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltGrBar.c:2227:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2227 | count = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltGrBar.c:2262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2262 | Blt_ComputeStacks(graphPtr) | ^ bltGrBar.c:2312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | Blt_ResetStacks(graphPtr) | ^ 33 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrElem.c bltGrElem.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | GetPenStyle(graphPtr, string, type, stylePtr) | ^ bltGrElem.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | SyncElemVector(vPtr) | ^ bltGrElem.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | FindRange(vPtr) | ^ bltGrElem.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | Blt_FindElemVectorMinimum(vPtr, minLimit) | ^ bltGrElem.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | FreeDataVector(vPtr) | ^ bltGrElem.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | VectorChangedProc(interp, clientData, notify) | ^ bltGrElem.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | EvalExprList(interp, list, nElemPtr, arrayPtr) | ^ bltGrElem.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | StringToData(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrElem.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | DataToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrElem.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | StringToDataPairs(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrElem.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | DataPairsToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrElem.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | StringToAlong(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrElem.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | AlongToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrElem.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | Blt_FreePalette(graphPtr, palette) | ^ bltGrElem.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | Blt_StringToStyles(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrElem.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | Blt_StylesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrElem.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | Blt_StyleMap(elemPtr) | ^ bltGrElem.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | Blt_MapErrorBars(graphPtr, elemPtr, dataToStyle) | ^ bltGrElem.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | GetIndex(interp, elemPtr, string, indexPtr) | ^ bltGrElem.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | NameToElement(graphPtr, name, elemPtrPtr) | ^ bltGrElem.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | DestroyElement(graphPtr, elemPtr) | ^ bltGrElem.c:1166:26: warning: passing arguments to 'Blt_BarElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | elemPtr = Blt_BarElement(graphPtr, argv[3], classUid); | ^ bltGrElem.c:1169:27: warning: passing arguments to 'Blt_LineElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | elemPtr = Blt_LineElement(graphPtr, argv[3], classUid); | ^ bltGrElem.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | CreateElement(graphPtr, interp, argc, argv, classUid) | ^ bltGrElem.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | RebuildDisplayList(graphPtr, newList) | ^ bltGrElem.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | Blt_DestroyElements(graphPtr) | ^ bltGrElem.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | Blt_MapElements(graphPtr) | ^ bltGrElem.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | Blt_DrawElements(graphPtr, drawable) | ^ bltGrElem.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | Blt_DrawActiveElements(graphPtr, drawable) | ^ bltGrElem.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | Blt_ElementsToPostScript(graphPtr, psToken) | ^ bltGrElem.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | Blt_ActiveElementsToPostScript(graphPtr, psToken) | ^ bltGrElem.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | Blt_GraphUpdateNeeded(graphPtr) | ^ bltGrElem.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | ActivateOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | Blt_MakeElementTag(graphPtr, tagName) | ^ bltGrElem.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | BindOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | CreateOp(graphPtr, interp, argc, argv, type) | ^ bltGrElem.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | ClosestOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | DeactivateOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | DeleteOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:1970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | ExistsOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:2000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | GetOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | NamesOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:2079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | ShowOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | TypeOp(graphPtr, interp, argc, argv) | ^ bltGrElem.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | Blt_ElementOp(graphPtr, interp, argc, argv, type) | ^ bltGrElem.c:2192:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | result = (*proc) (graphPtr, interp, argc, argv); | ^ 48 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrGrid.c bltGrGrid.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | ConfigureGrid(graphPtr, gridPtr) | ^ bltGrGrid.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | Blt_MapGrid(graphPtr) | ^ bltGrGrid.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | Blt_DrawGrid(graphPtr, drawable) | ^ bltGrGrid.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | Blt_GridToPostScript(graphPtr, psToken) | ^ bltGrGrid.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Blt_DestroyGrid(graphPtr) | ^ bltGrGrid.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | Blt_CreateGrid(graphPtr) | ^ bltGrGrid.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGrGrid.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGrGrid.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | MapOp(graphPtr, interp, argc, argv) | ^ bltGrGrid.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | UnmapOp(graphPtr, interp, argc, argv) | ^ bltGrGrid.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | ToggleOp(graphPtr, interp, argc, argv) | ^ bltGrGrid.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | Blt_GridOp(graphPtr, interp, argc, argv) | ^ bltGrGrid.c:519:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | return (*proc) (graphPtr, interp, argc, argv); | ^ 13 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrHairs.c bltGrHairs.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | TurnOffHairs(tkwin, chPtr) | ^ bltGrHairs.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | TurnOnHairs(graphPtr, chPtr) | ^ bltGrHairs.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | Blt_ConfigureCrosshairs(graphPtr) | ^ bltGrHairs.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | Blt_EnableCrosshairs(graphPtr) | ^ bltGrHairs.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | Blt_DisableCrosshairs(graphPtr) | ^ bltGrHairs.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | Blt_UpdateCrosshairs(graphPtr) | ^ bltGrHairs.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | Blt_DestroyCrosshairs(graphPtr) | ^ bltGrHairs.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | Blt_CreateCrosshairs(graphPtr) | ^ bltGrHairs.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGrHairs.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGrHairs.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | OnOp(graphPtr, interp, argc, argv) | ^ bltGrHairs.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | OffOp(graphPtr, interp, argc, argv) | ^ bltGrHairs.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | ToggleOp(graphPtr, interp, argc, argv) | ^ bltGrHairs.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | Blt_CrosshairsOp(graphPtr, interp, argc, argv) | ^ bltGrHairs.c:543:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | return (*proc) (graphPtr, interp, argc, argv); | ^ 15 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrLegd.c bltGrLegd.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | EventuallyRedrawLegend(legendPtr) | ^ bltGrLegd.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | LegendEventProc(clientData, eventPtr) | ^ bltGrLegd.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | CreateLegendWindow(interp, legendPtr, pathName) | ^ bltGrLegd.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | StringToPosition(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrLegd.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | PositionToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrLegd.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | SetLegendOrigin(legendPtr) | ^ bltGrLegd.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | PickLegendEntry(clientData, x, y, contextPtr) | ^ bltGrLegd.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | Blt_MapLegend(legendPtr, plotWidth, plotHeight) | ^ bltGrLegd.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | Blt_DrawLegend(legendPtr, drawable) | ^ bltGrLegd.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | Blt_LegendToPostScript(legendPtr, psToken) | ^ bltGrLegd.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | DisplayLegend(clientData) | ^ bltGrLegd.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | ConfigureLegend(graphPtr, legendPtr) | ^ bltGrLegd.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | Blt_DestroyLegend(graphPtr) | ^ bltGrLegd.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | Blt_CreateLegend(graphPtr) | ^ bltGrLegd.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | GetOp(graphPtr, interp, argc, argv) | ^ bltGrLegd.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | ActivateOp(graphPtr, interp, argc, argv) | ^ bltGrLegd.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | BindOp(graphPtr, interp, argc, argv) | ^ bltGrLegd.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGrLegd.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGrLegd.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | Blt_LegendOp(graphPtr, interp, argc, argv) | ^ bltGrLegd.c:1456:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | result = (*proc) (graphPtr, interp, argc, argv); | ^ bltGrLegd.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | Blt_LegendSite(legendPtr) | ^ bltGrLegd.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | Blt_LegendWidth(legendPtr) | ^ bltGrLegd.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | Blt_LegendHeight(legendPtr) | ^ bltGrLegd.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | Blt_LegendIsHidden(legendPtr) | ^ bltGrLegd.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | Blt_LegendIsRaised(legendPtr) | ^ bltGrLegd.c:1496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | Blt_LegendX(legendPtr) | ^ bltGrLegd.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | Blt_LegendY(legendPtr) | ^ bltGrLegd.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | Blt_LegendRemoveElement(legendPtr, elemPtr) | ^ 29 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrLine.c bltGrLine.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | Round(x) | ^ bltGrLine.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | StringToBitmap(interp, tkwin, symbolPtr, string) | ^ bltGrLine.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | PatternToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrLine.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | StringToPattern(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrLine.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | NameOfSymbol(symbolPtr) | ^ bltGrLine.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | StringToSymbol(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrLine.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | SymbolToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrLine.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | NameOfSmooth(value) | ^ bltGrLine.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | StringToSmooth(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrLine.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | SmoothToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrLine.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | StringToPenDir(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrLine.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | NameOfPenDir(penDir) | ^ bltGrLine.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | PenDirToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrLine.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | ClearPalette(palette) | ^ bltGrLine.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | ConfigurePen(graphPtr, penPtr) | ^ bltGrLine.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | DestroyPen(graphPtr, penPtr) | ^ bltGrLine.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | InitPen(penPtr) | ^ bltGrLine.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | Blt_LinePen(penName) | ^ bltGrLine.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | ScaleSymbol(elemPtr, normalSize) | ^ bltGrLine.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | GetScreenPoints(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:1782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | ReducePoints(mapPtr, tolerance) | ^ bltGrLine.c:1831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | GenerateSteps(mapPtr) | ^ bltGrLine.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | GenerateSpline(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:2020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | GenerateParametricSpline(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:2151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2151 | MapSymbols(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | MapActiveSymbols(graphPtr, linePtr) | ^ bltGrLine.c:2268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2268 | MapStrip(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:2326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2326 | MergePens(linePtr, dataToStyle) | ^ bltGrLine.c:2471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2471 | OutCode(extsPtr, p) | ^ bltGrLine.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | ClipSegment(extsPtr, code1, code2, p, q) | ^ bltGrLine.c:2554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | SaveTrace(linePtr, start, length, mapPtr) | ^ bltGrLine.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | FreeTraces(linePtr) | ^ bltGrLine.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | MapTraces(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | MapFillArea(graphPtr, linePtr, mapPtr) | ^ bltGrLine.c:2779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | ResetLine(linePtr) | ^ bltGrLine.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | MapLine(graphPtr, elemPtr) | ^ bltGrLine.c:2936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2936 | DistanceToLine(x, y, p, q, t) | ^ bltGrLine.c:2968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | DistanceToX(x, y, p, q, t) | ^ bltGrLine.c:3014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | DistanceToY(x, y, p, q, t) | ^ bltGrLine.c:3075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3075 | ClosestTrace(graphPtr, linePtr, searchPtr, distProc) | ^ bltGrLine.c:3131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | ClosestStrip(graphPtr, linePtr, searchPtr, distProc) | ^ bltGrLine.c:3180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3180 | ClosestPoint(linePtr, searchPtr) | ^ bltGrLine.c:3240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3240 | GetLineExtents(elemPtr, extsPtr) | ^ bltGrLine.c:3369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3369 | TileChangedProc(clientData, tile) | ^ bltGrLine.c:3404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3404 | ConfigureLine(graphPtr, elemPtr) | ^ bltGrLine.c:3487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | ClosestLine(graphPtr, elemPtr, searchPtr) | ^ bltGrLine.c:3595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3595 | DrawCircles(display, drawable, linePtr, penPtr, nSymbolPts, symbolPts, radius) | ^ bltGrLine.c:3660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3660 | DrawSquares(display, drawable, linePtr, penPtr, nSymbolPts, symbolPts, r) | ^ bltGrLine.c:3737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3737 | DrawSymbols(graphPtr, drawable, linePtr, penPtr, size, nSymbolPts, symbolPts) | ^ bltGrLine.c:4175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4175 | DrawSymbol(graphPtr, drawable, elemPtr, x, y, size) | ^ bltGrLine.c:4307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | DrawTraces(graphPtr, drawable, linePtr, penPtr) | ^ bltGrLine.c:4381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4381 | DrawValues(graphPtr, drawable, linePtr, penPtr, nSymbolPts, symbolPts, | ^ bltGrLine.c:4442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4442 | DrawActiveLine(graphPtr, drawable, elemPtr) | ^ bltGrLine.c:4516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4516 | DrawNormalLine(graphPtr, drawable, elemPtr) | ^ bltGrLine.c:4627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4627 | GetSymbolPostScriptInfo(graphPtr, psToken, penPtr, size) | ^ bltGrLine.c:4732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4732 | SymbolsToPostScript(graphPtr, psToken, penPtr, size, nSymbolPts, symbolPts) | ^ bltGrLine.c:4792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4792 | SymbolToPostScript(graphPtr, psToken, elemPtr, x, y, size) | ^ bltGrLine.c:4822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4822 | SetLineAttributes(psToken, penPtr) | ^ bltGrLine.c:4844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4844 | TracesToPostScript(psToken, linePtr, penPtr) | ^ bltGrLine.c:4891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4891 | ValuesToPostScript(psToken, linePtr, penPtr, nSymbolPts, symbolPts, | ^ bltGrLine.c:4949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4949 | ActiveLineToPostScript(graphPtr, psToken, elemPtr) | ^ bltGrLine.c:5013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5013 | NormalLineToPostScript(graphPtr, psToken, elemPtr) | ^ bltGrLine.c:5127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5127 | DestroyLine(graphPtr, elemPtr) | ^ bltGrLine.c:5209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5209 | Blt_LineElement(graphPtr, name, classUid) | ^ 64 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrMarker.c bltGrMarker.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | BoxesDontOverlap(graphPtr, extsPtr) | ^ bltGrMarker.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | GetCoordinate(interp, expr, valuePtr) | ^ bltGrMarker.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | PrintCoordinate(interp, x) | ^ bltGrMarker.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | ParseCoordinates(interp, markerPtr, nExprs, exprArr) | ^ bltGrMarker.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | StringToCoordinates(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrMarker.c:1324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | CoordinatesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrMarker.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | HMap(graphPtr, axisPtr, x) | ^ bltGrMarker.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | VMap(graphPtr, axisPtr, y) | ^ bltGrMarker.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | MapPoint(graphPtr, pointPtr, axesPtr) | ^ bltGrMarker.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | CreateMarker(graphPtr, name, classUid) | ^ bltGrMarker.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | DestroyMarker(markerPtr) | ^ bltGrMarker.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | ConfigureBitmapMarker(markerPtr) | ^ bltGrMarker.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | MapBitmapMarker(markerPtr) | ^ bltGrMarker.c:1824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | PointInBitmapMarker(markerPtr, samplePtr) | ^ bltGrMarker.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | RegionInBitmapMarker(markerPtr, extsPtr, enclosed) | ^ bltGrMarker.c:1918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1918 | DrawBitmapMarker(markerPtr, drawable) | ^ bltGrMarker.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | BitmapMarkerToPostScript(markerPtr, psToken) | ^ bltGrMarker.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | FreeBitmapMarker(graphPtr, markerPtr) | ^ bltGrMarker.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ bltGrMarker.c:2125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2125 | ConfigureImageMarker(markerPtr) | ^ bltGrMarker.c:2197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2197 | MapImageMarker(markerPtr) | ^ bltGrMarker.c:2350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2350 | PointInImageMarker(markerPtr, samplePtr) | ^ bltGrMarker.c:2370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | RegionInImageMarker(markerPtr, extsPtr, enclosed) | ^ bltGrMarker.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | DrawImageMarker(markerPtr, drawable) | ^ bltGrMarker.c:2455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | ImageMarkerToPostScript(markerPtr, psToken) | ^ bltGrMarker.c:2495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2495 | FreeImageMarker(graphPtr, markerPtr) | ^ bltGrMarker.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2566 | ConfigureTextMarker(markerPtr) | ^ bltGrMarker.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | MapTextMarker(markerPtr) | ^ bltGrMarker.c:2674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | PointInTextMarker(markerPtr, samplePtr) | ^ bltGrMarker.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | RegionInTextMarker(markerPtr, extsPtr, enclosed) | ^ bltGrMarker.c:2765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2765 | DrawTextMarker(markerPtr, drawable) | ^ bltGrMarker.c:2815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2815 | TextMarkerToPostScript(markerPtr, psToken) | ^ bltGrMarker.c:2862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2862 | FreeTextMarker(graphPtr, markerPtr) | ^ bltGrMarker.c:2943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2943 | ConfigureWindowMarker(markerPtr) | ^ bltGrMarker.c:2999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | MapWindowMarker(markerPtr) | ^ bltGrMarker.c:3046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | PointInWindowMarker(markerPtr, samplePtr) | ^ bltGrMarker.c:3066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3066 | RegionInWindowMarker(markerPtr, extsPtr, enclosed) | ^ bltGrMarker.c:3097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3097 | DrawWindowMarker(markerPtr, drawable) | ^ bltGrMarker.c:3126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | WindowMarkerToPostScript(markerPtr, psToken) | ^ bltGrMarker.c:3159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3159 | FreeWindowMarker(graphPtr, markerPtr) | ^ bltGrMarker.c:3220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3220 | ChildEventProc(clientData, eventPtr) | ^ bltGrMarker.c:3250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3250 | ChildGeometryProc(clientData, tkwin) | ^ bltGrMarker.c:3284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3284 | ChildCustodyProc(clientData, tkwin) | ^ bltGrMarker.c:3315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3315 | MapLineMarker(markerPtr) | ^ bltGrMarker.c:3366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3366 | PointInLineMarker(markerPtr, samplePtr) | ^ bltGrMarker.c:3384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3384 | RegionInLineMarker(markerPtr, extsPtr, enclosed) | ^ bltGrMarker.c:3435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | DrawLineMarker(markerPtr, drawable) | ^ bltGrMarker.c:3474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3474 | ConfigureLineMarker(markerPtr) | ^ bltGrMarker.c:3562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3562 | LineMarkerToPostScript(markerPtr, psToken) | ^ bltGrMarker.c:3607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | FreeLineMarker(graphPtr, markerPtr) | ^ bltGrMarker.c:3667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3667 | MapPolygonMarker(markerPtr) | ^ bltGrMarker.c:3763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3763 | PointInPolygonMarker(markerPtr, samplePtr) | ^ bltGrMarker.c:3784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3784 | RegionInPolygonMarker(markerPtr, extsPtr, enclosed) | ^ bltGrMarker.c:3799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3799 | DrawPolygonMarker(markerPtr, drawable) | ^ bltGrMarker.c:3837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | PolygonMarkerToPostScript(markerPtr, psToken) | ^ bltGrMarker.c:3930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3930 | ConfigurePolygonMarker(markerPtr) | ^ bltGrMarker.c:4040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4040 | FreePolygonMarker(graphPtr, markerPtr) | ^ bltGrMarker.c:4098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4098 | NameToMarker(graphPtr, name, markerPtrPtr) | ^ bltGrMarker.c:4117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4117 | RenameMarker(graphPtr, markerPtr, oldName, newName) | ^ bltGrMarker.c:4158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4158 | NamesOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4187 | Blt_MakeMarkerTag(graphPtr, tagName) | ^ bltGrMarker.c:4210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | BindOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4241 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4273 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4356 | CreateOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4461 | DeleteOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4502 | GetOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4548 | RelinkOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4602 | FindOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4691 | ExistsOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4720 | TypeOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4776 | Blt_MarkerOp(graphPtr, interp, argc, argv) | ^ bltGrMarker.c:4789:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4789 | result = (*proc) (graphPtr, interp, argc, argv); | ^ bltGrMarker.c:4801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4801 | Blt_MarkersToPostScript(graphPtr, psToken, under) | ^ bltGrMarker.c:4875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4875 | Blt_DrawMarkers(graphPtr, drawable, under) | ^ bltGrMarker.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4914 | Blt_MapMarkers(graphPtr) | ^ bltGrMarker.c:4935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4935 | Blt_DestroyMarkers(graphPtr) | ^ bltGrMarker.c:4958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4958 | Blt_NearestMarker(graphPtr, x, y, under) | ^ 78 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrMisc.c bltGrMisc.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | Blt_GetXY(interp, tkwin, string, xPtr, yPtr) | ^ bltGrMisc.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | StringToPoint(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrMisc.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | PointToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrMisc.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | GetColorPair(interp, tkwin, fgStr, bgStr, pairPtr, allowDefault) | ^ bltGrMisc.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | Blt_FreeColorPair(pairPtr) | ^ bltGrMisc.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | StringToColorPair(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrMisc.c:263:24: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 263 | int allowDefault = (int)clientData; | ^~~~~~~~~~~~~~~ bltGrMisc.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | NameOfColor(colorPtr) | ^ bltGrMisc.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | ColorPairToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrMisc.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | Blt_PointInSegments(samplePtr, segments, nSegments, halo) | ^ bltGrMisc.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | Blt_PointInPolygon(samplePtr, points, nPoints) | ^ bltGrMisc.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | Blt_RegionInPolygon(extsPtr, points, nPoints, enclosed) | ^ bltGrMisc.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | Blt_GraphExtents(graphPtr, extsPtr) | ^ bltGrMisc.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | Blt_LineRectClip(extsPtr, p, q) | ^ bltGrMisc.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | Blt_PolyRectClip(extsPtr, points, nPoints, clipPts) | ^ bltGrMisc.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | Blt_GetProjection(x, y, p, q) | ^ bltGrMisc.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | Blt_XColorToHSV(colorPtr, hsvPtr) | ^ bltGrMisc.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | Blt_HSVToXColor(hsvPtr, colorPtr) | ^ bltGrMisc.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | Blt_AdjustViewport(offset, worldSize, windowSize, scrollUnits, scrollMode) | ^ bltGrMisc.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | Blt_GetScrollInfo(interp, argc, argv, offsetPtr, worldSize, windowSize, | ^ bltGrMisc.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | Blt_GetScrollInfoFromObj(interp, objc, objv, offsetPtr, worldSize, windowSize, | ^ bltGrMisc.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | Blt_UpdateScrollbar(interp, scrollCmd, firstFract, lastFract) | ^ bltGrMisc.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | Blt_GetPrivateGCFromDrawable(display, drawable, gcMask, valuePtr) | ^ bltGrMisc.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | Blt_GetPrivateGC(tkwin, gcMask, valuePtr) | ^ bltGrMisc.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | Blt_FreePrivateGC(display, gc) | ^ bltGrMisc.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | Blt_SetDashes(display, gc, dashesPtr) | ^ bltGrMisc.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | FindSplit(points, i, j, split) | ^ bltGrMisc.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | Blt_SimplifyLine(inputPts, low, high, tolerance, indices) | ^ bltGrMisc.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | Blt_Draw2DSegments(display, drawable, gc, segPtr, nSegments) | ^ bltGrMisc.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | Blt_DrawArrow(display, drawable, gc, x, y, arrowHeight, orientation) | ^ bltGrMisc.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | Blt_Fill3DRectangle(tkwin, drawable, border, x, y, width, | ^ bltGrMisc.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | Blt_Draw3DRectangle(tkwin, drawable, border, x, y, width, | ^ 32 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrPen.c bltGrPen.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | StringToColor(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrPen.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | NameOfColor(colorPtr) | ^ bltGrPen.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | ColorToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrPen.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | StringToPen(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrPen.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | PenToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrPen.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | NameToPen(graphPtr, name) | ^ bltGrPen.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | DestroyPen(graphPtr, penPtr) | ^ bltGrPen.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | Blt_FreePen(graphPtr, penPtr) | ^ bltGrPen.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Blt_CreatePen(graphPtr, penName, classUid, nOpts, options) | ^ bltGrPen.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | Blt_GetPen(graphPtr, name, classUid, penPtrPtr) | ^ bltGrPen.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | Blt_DestroyPens(graphPtr) | ^ bltGrPen.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | CgetOp(interp, graphPtr, argc, argv) | ^ bltGrPen.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | ConfigureOp(interp, graphPtr, argc, argv) | ^ bltGrPen.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | CreateOp(interp, graphPtr, argc, argv) | ^ bltGrPen.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | DeleteOp(interp, graphPtr, argc, argv) | ^ bltGrPen.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | NamesOp(interp, graphPtr, argc, argv) | ^ bltGrPen.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | TypeOp(interp, graphPtr, argc, argv) | ^ bltGrPen.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | Blt_PenOp(graphPtr, interp, argc, argv) | ^ bltGrPen.c:705:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | return (*proc) (interp, graphPtr, argc, argv); | ^ 19 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGrPs.c bltGrPs.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | StringToColorMode(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrPs.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | NameOfColorMode(colorMode) | ^ bltGrPs.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | ColorModeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrPs.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | StringToFormat(clientData, interp, tkwin, string, widgRec, offset) | ^ bltGrPs.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | FormatToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltGrPs.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | Blt_DestroyPostScript(graphPtr) | ^ bltGrPs.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGrPs.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGrPs.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ComputeBoundingBox(graphPtr, psPtr) | ^ bltGrPs.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | PreviewImage(graphPtr, psToken) | ^ bltGrPs.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | PostScriptPreamble(graphPtr, fileName, psToken) | ^ bltGrPs.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | MarginsToPostScript(graphPtr, psToken) | ^ bltGrPs.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | GraphToPostScript(graphPtr, ident, psToken) | ^ bltGrPs.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | OutputOp(graphPtr, interp, argc, argv) | ^ bltGrPs.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | Blt_CreatePostScript(graphPtr) | ^ bltGrPs.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | Blt_PostScriptOp(graphPtr, interp, argc, argv) | ^ bltGrPs.c:1269:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | result = (*proc) (graphPtr, interp, argc, argv); | ^ 17 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltGraph.c bltGraph.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | Blt_EventuallyRedrawGraph(graphPtr) | ^ bltGraph.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | GraphEventProc(clientData, eventPtr) | ^ bltGraph.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | GraphInstCmdDeleteProc(clientData) | ^ bltGraph.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | TileChangedProc(clientData, tile) | ^ bltGraph.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | AdjustAxisPointers(graphPtr) | ^ bltGraph.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | InitPens(graphPtr) | ^ bltGraph.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | Blt_GraphTags(table, object, context, list) | ^ bltGraph.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | PickEntry(clientData, x, y, contextPtr) | ^ bltGraph.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | ConfigureGraph(graphPtr) | ^ bltGraph.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | DestroyGraph(dataPtr) | ^ bltGraph.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | CreateGraph(interp, argc, argv, classUid) | ^ bltGraph.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | XAxisOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | X2AxisOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | YAxisOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | Y2AxisOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | BarOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | LineOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | ElementOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | ConfigureOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | CgetOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | ExtentsOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | InsideOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | InvtransformOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | TransformOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1564 | StringToFormat(clientData, interp, switchName, string, record, offset) | ^ bltGraph.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | SnapOp(graphPtr, interp, argc, argv) | ^ bltGraph.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | Blt_GraphInstCmdProc(clientData, interp, argc, argv) | ^ bltGraph.c:1904:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1904 | result = (*proc) (graphPtr, interp, argc, argv); | ^ bltGraph.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | NewGraph(interp, argc, argv, classUid) | ^ bltGraph.c:1965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | GraphCmd(clientData, interp, argc, argv) | ^ bltGraph.c:1992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | BarchartCmd(clientData, interp, argc, argv) | ^ bltGraph.c:2019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2019 | StripchartCmd(clientData, interp, argc, argv) | ^ bltGraph.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | DrawMargins(graphPtr, drawable) | ^ bltGraph.c:2145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2145 | DrawPlotRegion(graphPtr, drawable) | ^ bltGraph.c:2169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2169 | Blt_LayoutGraph(graphPtr) | ^ bltGraph.c:2192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | Blt_DrawGraph(graphPtr, drawable, backingStore) | ^ bltGraph.c:2269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | UpdateMarginTraces(graphPtr) | ^ bltGraph.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | DisplayGraph(clientData) | ^ bltGraph.c:2408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2408 | Blt_GraphInit(interp) | ^ bltGraph.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | Blt_GetGraphFromWindowData(tkwin) | ^ bltGraph.c:2452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | Blt_GraphType(graphPtr) | ^ 41 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBeep.c bltBeep.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | BeepCmd(clientData, interp, argc, argv) | ^ bltBeep.c:63:16: warning: variable 'percent' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 63 | } else if (argc == 2) { | ^~~~~~~~~ bltBeep.c:73:46: note: uninitialized use occurs here 73 | XBell(Tk_Display(Tk_MainWindow(interp)), percent); | ^~~~~~~ bltBeep.c:63:12: note: remove the 'if' if its condition is always true 63 | } else if (argc == 2) { | ^~~~~~~~~~~~~~ bltBeep.c:54:16: note: initialize the variable 'percent' to silence this warning 54 | int percent; | ^ | = 0 bltBeep.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | Blt_BeepInit(interp) | ^ 3 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBind.c bltBind.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | DoEvent(bindPtr, eventPtr, item, context) | ^ bltBind.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | PickCurrentItem(bindPtr, eventPtr) | ^ bltBind.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | BindProc(clientData, eventPtr) | ^ bltBind.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | Blt_ConfigureBindings(interp, bindPtr, item, argc, argv) | ^ bltBind.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | Blt_ConfigureBindingsFromObj(interp, bindPtr, item, objc, objv) | ^ bltBind.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | Blt_CreateBindingTable(interp, tkwin, clientData, pickProc, tagProc) | ^ bltBind.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | Blt_DestroyBindingTable(bindPtr) | ^ bltBind.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | Blt_PickCurrentItem(bindPtr) | ^ bltBind.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | Blt_DeleteBindings(bindPtr, object) | ^ bltBind.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | Blt_MoveBindingTable(bindPtr, tkwin) | ^ 10 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBitmap.c bltBitmap.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | GetHexValue(interp, string, valuePtr) | ^ bltBitmap.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | BitmapToData(tkwin, bitmap, width, height, bitsPtr) | ^ bltBitmap.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | AsciiToData(interp, elemList, width, height, bitsPtr) | ^ bltBitmap.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | ParseListData(interp, string, widthPtr, heightPtr, bitsPtr) | ^ bltBitmap.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | ParseStructData(interp, string, widthPtr, heightPtr, bitsPtr) | ^ bltBitmap.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | BitmapDataToString(tkwin, bitmap, resultPtr) | ^ bltBitmap.c:921:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 921 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltBitmap.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | ComposeOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1031:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1031 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltBitmap.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | DefineOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | ExistsOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | HeightOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | WidthOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | SourceOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | DataOp(clientData, interp, argc, argv) | ^ bltBitmap.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | BitmapCmd(clientData, interp, argc, argv) | ^ bltBitmap.c:1304:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | result = (*proc) (clientData, interp, argc, argv); | ^ bltBitmap.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | BitmapInterpDeleteProc(clientData, interp) | ^ bltBitmap.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | GetBitmapInterpData(interp) | ^ bltBitmap.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | Blt_BitmapInit(interp) | ^ 20 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltBusy.c bltBusy.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | ShowBusyWindow(busyPtr) | ^ bltBusy.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | HideBusyWindow(busyPtr) | ^ bltBusy.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | BusyEventProc(clientData, eventPtr) | ^ bltBusy.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | BusyCustodyProc(clientData, tkwin) | ^ bltBusy.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | BusyGeometryProc(clientData, tkwin) | ^ bltBusy.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | RefWinEventProc(clientData, eventPtr) | ^ bltBusy.c:421:71: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 421 | if (Tk_ConfigureWidget(interp, busyPtr->tkRef, configSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltBusy.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | ConfigureBusy(interp, busyPtr, argc, argv) | ^ bltBusy.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | CreateBusy(interp, tkRef) | ^ bltBusy.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | DestroyBusy(data) | ^ bltBusy.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | GetBusy(dataPtr, interp, pathName, busyPtrPtr) | ^ bltBusy.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | HoldBusy(dataPtr, interp, argc, argv) | ^ bltBusy.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | StatusOp(clientData, interp, argc, argv) | ^ bltBusy.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | ForgetOp(clientData, interp, argc, argv) | ^ bltBusy.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | ReleaseOp(clientData, interp, argc, argv) | ^ bltBusy.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | NamesOp(clientData, interp, argc, argv) | ^ bltBusy.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | BusyOp(clientData, interp, argc, argv) | ^ bltBusy.c:955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | HoldOp(clientData, interp, argc, argv) | ^ bltBusy.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | CgetOp(clientData, interp, argc, argv) | ^ bltBusy.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | ConfigureOp(clientData, interp, argc, argv) | ^ bltBusy.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | BusyInterpDeleteProc(clientData, interp) | ^ bltBusy.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | BusyCmd(clientData, interp, argc, argv) | ^ bltBusy.c:1157:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | result = (*proc) (clientData, interp, argc, argv); | ^ bltBusy.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | GetBusyInterpData(interp) | ^ bltBusy.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | Blt_BusyInit(interp) | ^ 25 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltCanvEps.c bltCanvEps.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SkipBlanks(piPtr) | ^ bltCanvEps.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | ReadPsLine(piPtr) | ^ bltCanvEps.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | ReverseBits(byte) | ^ bltCanvEps.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | GetHexValue(piPtr, bytePtr) | ^ bltCanvEps.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | ReadEPSI(epsPtr, piPtr) | ^ bltCanvEps.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | ReadPostScript(interp, epsPtr) | ^ bltCanvEps.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | OpenEpsFile(interp, epsPtr) | ^ bltCanvEps.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | CloseEpsFile(epsPtr) | ^ bltCanvEps.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | DeleteEps(canvas, itemPtr, display) | ^ bltCanvEps.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | CreateEps(interp, canvas, itemPtr, argc, objv) | ^ bltCanvEps.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ bltCanvEps.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | ConfigureEps(interp, canvas, itemPtr, argc, objv, flags) | ^ bltCanvEps.c:1294:6: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1294 | argv, (char *)epsPtr, flags) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltCanvEps.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | EpsCoords(interp, canvas, itemPtr, argc, objv) | ^ bltCanvEps.c:1538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | ComputeEpsBbox(canvas, epsPtr) | ^ bltCanvEps.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | DisplayEps(canvas, itemPtr, display, drawable, x, y, width, height) | ^ bltCanvEps.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | EpsToPoint(canvas, itemPtr, coordArr) | ^ bltCanvEps.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | EpsToArea(canvas, itemPtr, area) | ^ bltCanvEps.c:1818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | ScaleEps(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ bltCanvEps.c:1850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | TranslateEps(canvas, itemPtr, deltaX, deltaY) | ^ bltCanvEps.c:1884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | EpsToPostScript(interp, canvas, itemPtr, prepass) | ^ bltCanvEps.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | Blt_InitEpsCanvasItem(interp) | ^ bltCanvEps.c:2008:26: warning: incompatible function pointer types assigning to 'Tk_OptionParseProc *' (aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)') from 'int (ClientData, Tcl_Interp *, Tk_Window, const char *, char *, int)' (aka 'int (void *, struct Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)') [-Wincompatible-function-pointer-types] 2008 | tagsOption.parseProc = Tk_CanvasTagsParseProc; | ^ ~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltColor.c bltColor.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | GetPaletteSizes(nColors, nRedsPtr, nGreensPtr, nBluesPtr) | ^ bltColor.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | BuildColorRamp(palettePtr, nColors) | ^ bltColor.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | QueryColormap(display, colorMap, mapColors, numMapColorsPtr) | ^ bltColor.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | FindClosestColor(colorPtr, mapColors, numMapColors) | ^ bltColor.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | CompareColors(a, b) | ^ bltColor.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, | ^ bltColor.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | AllocateColors(nImageColors, colorTabPtr, matchOnly) | ^ bltColor.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | Blt_CreateColorTable(tkwin) | ^ bltColor.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | Blt_FreeColorTable(colorTabPtr) | ^ bltColor.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | Blt_DirectColorTable(interp, tkwin, image) | ^ bltColor.c:538:42: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 538 | hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); | ^~~~~~~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltColor.c:543:17: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 543 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltColor.c:546:25: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 546 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltColor.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | GetUniqueColors(image) | ^ bltColor.c:566:9: warning: variable 'nFreeColors' set but not used [-Wunused-but-set-variable] 566 | int nFreeColors, nUsedColors; | ^ bltColor.c:570:13: warning: variable 'imageColors' set but not used [-Wunused-but-set-variable] 570 | XColor *imageColors; | ^ bltColor.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | PrivateColormap(interp, colorTabPtr, image, tkwin) | ^ bltColor.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | Blt_PseudoColorTable(interp, tkwin, image) | ^ bltColor.c:108:1: warning: unused function 'BuildColorRamp' [-Wunused-function] 108 | BuildColorRamp(palettePtr, nColors) | ^~~~~~~~~~~~~~ bltColor.c:254:1: warning: unused function 'MatchColors' [-Wunused-function] 254 | MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, | ^~~~~~~~~~~ bltColor.c:313:1: warning: unused function 'AllocateColors' [-Wunused-function] 313 | AllocateColors(nImageColors, colorTabPtr, matchOnly) | ^~~~~~~~~~~~~~ bltColor.c:519:1: warning: unused function 'GetUniqueColors' [-Wunused-function] 519 | GetUniqueColors(image) | ^~~~~~~~~~~~~~~ 22 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltConfig.c bltConfig.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | FreeObjTile(clientData, tkwin, internalPtr) | ^ bltConfig.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | GetObjTile(clientData, tkwin, recordPtr, internalOffset) | ^ bltConfig.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | SetObjTile(clientData, interp, tkwin, value, recordPtr, internalOffset, | ^ bltConfig.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | RestoreObjTile(clientData, tkwin, internalPtr, oldInternalPtr) | ^ bltConfig.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | Blt_NameOfFill(fill) | ^ bltConfig.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | StringToFill(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | FillToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | Blt_StringToFlag(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:445:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 445 | unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ | ^~~~~~~~~~~~~~~~~~~~~~~~ bltConfig.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | Blt_FlagToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:481:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 481 | unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ | ^~~~~~~~~~~~~~~~~~~~~~~~ bltConfig.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | Blt_GetPixels(interp, tkwin, string, check, valuePtr) | ^ bltConfig.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | StringToDistance(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:562:49: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 562 | return Blt_GetPixels(interp, tkwin, string, (int)clientData, valuePtr); | ^~~~~~~~~~~~~~~ bltConfig.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | DistanceToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | Blt_GetInt(interp, string, check, valuePtr) | ^ bltConfig.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | StringToCount(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:651:39: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 651 | return Blt_GetInt(interp, string, (int)clientData, valuePtr); | ^~~~~~~~~~~~~~~ bltConfig.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | CountToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | StringToPad(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | PadToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | StringToShadow(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | ShadowToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | GradientToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | StringToGradient(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:981:9: warning: variable 'color2Ptr' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltConfig.c:1021:27: note: uninitialized use occurs here 1021 | gradientPtr->color2 = color2Ptr; | ^~~~~~~~~ bltConfig.c:981:5: note: remove the 'if' if its condition is always true 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltConfig.c:981:9: warning: variable 'color2Ptr' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~ bltConfig.c:1021:27: note: uninitialized use occurs here 1021 | gradientPtr->color2 = color2Ptr; | ^~~~~~~~~ bltConfig.c:981:9: note: remove the '&&' if its condition is always true 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~~~~ bltConfig.c:976:33: note: initialize the variable 'color2Ptr' to silence this warning 976 | XColor *colorPtr, *color2Ptr; | ^ | = NULL bltConfig.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | GetDashes(interp, string, dashesPtr) | ^ bltConfig.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | StringToDashes(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | DashesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | StringToUid(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | UidToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | StringToState(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:1297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | StateToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | StringToList(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | ListToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | StringToTile(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | TileToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltConfig.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | Blt_ConfigureWidgetComponent(interp, parent, resName, className, specsPtr, | ^ bltConfig.c:1565:18: warning: assigning to 'char *' from 'Tk_Uid' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1565 | oldClass = Tk_Class(tkwin); | ^ ~~~~~~~~~~~~~~~ bltConfig.c:1576:64: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1576 | result = Tk_ConfigureWidget(interp, tkwin, specsPtr, argc, argv, widgRec, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltConfig.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | Blt_StringToEnum(clientData, interp, tkwin, string, widgRec, offset) | ^ bltConfig.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | Blt_EnumToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ In file included from bltConfig.c:1671: ./bltOldConfig.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^ ./bltOldConfig.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | FindConfigSpec(interp, specs, argvName, needFlags, hateFlags) | ^ ./bltOldConfig.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | DoConfig(interp, tkwin, specPtr, value, valueIsUid, widgRec) | ^ ./bltOldConfig.c:581:4: warning: passing 'Tk_Uid' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 581 | value, widgRec, specPtr->offset) != TCL_OK) { | ^~~~~ ./bltOldConfig.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | Blt_ConfigureInfo(interp, tkwin, specs, widgRec, argvName, flags) | ^ ./bltOldConfig.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | FormatConfigInfo(interp, tkwin, specPtr, widgRec) | ^ ./bltOldConfig.c:740:22: warning: passing 'const char *[7]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 740 | return Tcl_Merge(2, argv); | ^~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:584:57: note: passing argument to parameter 'argv' here 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ In file included from bltConfig.c:1671: ./bltOldConfig.c:771:31: warning: passing 'const char *[7]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 771 | result = Tcl_Merge(6, argv); | ^~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:584:57: note: passing argument to parameter 'argv' here 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ In file included from bltConfig.c:1671: ./bltOldConfig.c:774:31: warning: passing 'const char *[7]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 774 | result = Tcl_Merge(5, argv); | ^~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:584:57: note: passing argument to parameter 'argv' here 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ In file included from bltConfig.c:1671: ./bltOldConfig.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | FormatConfigValue(interp, tkwin, specPtr, widgRec, buffer, freeProcPtr) | ^ ./bltOldConfig.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | Blt_ConfigureValue(interp, tkwin, specs, widgRec, argvName, flags) | ^ ./bltOldConfig.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | Blt_FreeOptions(specs, widgRec, display, needFlags) | ^ ./bltOldConfig.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | Blt_GetCachedSpecs(interp, staticSpecs) | ^ ./bltOldConfig.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | GetCachedSpecs(interp, staticSpecs) | ^ ./bltOldConfig.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | DeleteSpecCacheTable(clientData, interp) | ^ 58 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltContainer.c bltContainer.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | NameOfId(display, window) | ^ bltContainer.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | XGeometryErrorProc(clientData, eventPtr) | ^ bltContainer.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | GetAdoptedWindowGeometry(interp, cntrPtr) | ^ bltContainer.c:401:9: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:426:25: note: uninitialized use occurs here 426 | cntrPtr->adoptedX = x; | ^ bltContainer.c:401:5: note: remove the 'if' if its condition is always true 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:392:10: note: initialize the variable 'x' to silence this warning 392 | int x, y, width, height, borderWidth, depth; | ^ | = 0 bltContainer.c:401:9: warning: variable 'y' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:427:25: note: uninitialized use occurs here 427 | cntrPtr->adoptedY = y; | ^ bltContainer.c:401:5: note: remove the 'if' if its condition is always true 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltContainer.c:392:13: note: initialize the variable 'y' to silence this warning 392 | int x, y, width, height, borderWidth, depth; | ^ | = 0 bltContainer.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | GetChildren(display, window) | ^ bltContainer.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | NameSearch(display, window, searchPtr) | ^ bltContainer.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | CmdSearch(display, window, searchPtr) | ^ bltContainer.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | TimeoutProc(clientData) | ^ bltContainer.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | TestAndWaitForWindow(cntrPtr, searchPtr) | ^ bltContainer.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | MapTree(display, window) | ^ bltContainer.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | StringToXID(clientData, interp, parent, string, widgRec, offset) | ^ bltContainer.c:825:26: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 825 | unsigned int flags = (int)clientData; | ^~~~~~~~~~~~~~~ bltContainer.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | XIDToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ bltContainer.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | EventuallyRedraw(cntrPtr) | ^ bltContainer.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | AdoptedWindowEventProc(clientData, eventPtr) | ^ bltContainer.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | ContainerEventProc(clientData, eventPtr) | ^ bltContainer.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | ToplevelEventProc(clientData, eventPtr) | ^ bltContainer.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | DestroyContainer(dataPtr) | ^ bltContainer.c:1196:71: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1196 | if (Tk_ConfigureWidget(interp, cntrPtr->tkwin, configSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltContainer.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | ConfigureContainer(interp, cntrPtr, argc, argv, flags) | ^ bltContainer.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | ContainerInstCmdDeleteProc(clientData) | ^ bltContainer.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | ContainerCmd(clientData, interp, argc, argv) | ^ bltContainer.c:1381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | DisplayContainer(clientData) | ^ bltContainer.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | FindOp(cntrPtr, interp, argc, argv) | ^ bltContainer.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | CgetOp(cntrPtr, interp, argc, argv) | ^ bltContainer.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | ConfigureOp(cntrPtr, interp, argc, argv) | ^ bltContainer.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | ContainerInstCmd(clientData, interp, argc, argv) | ^ bltContainer.c:1706:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | result = (*proc)(cntrPtr, interp, argc, argv); | ^ bltContainer.c:1712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | Blt_ContainerInit(interp) | ^ 30 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltCutbuffer.c bltCutbuffer.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | GetCutNumber(interp, string, bufferPtr) | ^ bltCutbuffer.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | RotateErrorProc(clientData, errEventPtr) | ^ bltCutbuffer.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | GetOp(interp, tkwin, argc, argv) | ^ bltCutbuffer.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | RotateOp(interp, tkwin, argc, argv) | ^ bltCutbuffer.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | SetOp(interp, tkwin, argc, argv) | ^ bltCutbuffer.c:232:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | result = (*proc) (interp, tkwin, argc, argv); | ^ bltCutbuffer.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | CutbufferCmd(clientData, interp, argc, argv) | ^ bltCutbuffer.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Blt_CutbufferInit(interp) | ^ 8 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltDragdrop.c bltDragdrop.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | GetNativeWindow(tkwin) | ^ bltDragdrop.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | GetWindowZOrder(display, window) | ^ bltDragdrop.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | GetProperty(display, window) | ^ bltDragdrop.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | SetProperty(tkwin, data) | ^ bltDragdrop.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | GetWindowRegion(display, window, x1Ptr, y1Ptr, x2Ptr, y2Ptr) | ^ bltDragdrop.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | ChangeToken(tokenPtr, active) | ^ bltDragdrop.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | TokenEventProc(clientData, eventPtr) | ^ bltDragdrop.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | HideToken(tokenPtr) | ^ bltDragdrop.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | RaiseToken(tokenPtr) | ^ bltDragdrop.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | MoveToken(srcPtr, tokenPtr) | ^ bltDragdrop.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | GetWidgetCursor(interp, tkwin) | ^ bltDragdrop.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | UpdateToken(clientData) | ^ bltDragdrop.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | RejectToken(tokenPtr) | ^ bltDragdrop.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | ConfigureToken(interp, srcPtr, argc, argv) | ^ bltDragdrop.c:1068:75: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1068 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, tokenConfigSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltDragdrop.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | CreateToken(interp, srcPtr) | ^ bltDragdrop.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | CreateSource(interp, pathName, newPtr) | ^ bltDragdrop.c:1188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | DestroySource(srcPtr) | ^ bltDragdrop.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | GetSource(interp, pathName, srcPtrPtr) | ^ bltDragdrop.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | ConfigureSource(interp, srcPtr, argc, argv, flags) | ^ bltDragdrop.c:1296:70: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1296 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, configSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltDragdrop.c:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | SourceEventProc(clientData, eventPtr) | ^ bltDragdrop.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | FindTarget(tkwin) | ^ bltDragdrop.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | CreateTarget(interp, tkwin) | ^ bltDragdrop.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | DestroyTarget(data) | ^ bltDragdrop.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | TargetEventProc(clientData, eventPtr) | ^ bltDragdrop.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | DndSend(srcPtr) | ^ bltDragdrop.c:1644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | InitRoot(srcPtr) | ^ bltDragdrop.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | FindTopWindow(srcPtr, x, y) | ^ bltDragdrop.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | OverTarget(srcPtr, x, y) | ^ bltDragdrop.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | RemoveWindow(windowPtr) | ^ bltDragdrop.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | QueryWindow(display, windowPtr) | ^ bltDragdrop.c:1946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | AddTargetProperty(interp, targetPtr) | ^ bltDragdrop.c:1991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | ExpandPercents(string, subsArr, nSubs, resultPtr) | ^ bltDragdrop.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | DragOp(interp, argc, argv) | ^ bltDragdrop.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | DropOp(interp, argc, argv) | ^ bltDragdrop.c:2261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2261 | ErrorsOp(interp, argc, argv) | ^ bltDragdrop.c:2285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | ActiveOp(interp, argc, argv) | ^ bltDragdrop.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2303 | LocationOp(interp, argc, argv) | ^ bltDragdrop.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | TokenOp(interp, argc, argv) | ^ bltDragdrop.c:2351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2351 | HandlerOpOp(srcPtr, interp, argc, argv) | ^ bltDragdrop.c:2408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2408 | SourceOp(interp, argc, argv) | ^ bltDragdrop.c:2487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | TargetOp(interp, argc, argv) | ^ bltDragdrop.c:2634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | DragDropCmd(clientData, interp, argc, argv) | ^ bltDragdrop.c:2692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | Blt_DragDropInit(interp) | ^ 45 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltHierbox.c bltHierbox.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | StringToScrollMode(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHierbox.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | ScrollModeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltHierbox.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | StringToButton(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHierbox.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | ButtonToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltHierbox.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ bltHierbox.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | GetCachedImage(hboxPtr, interp, tkwin, name) | ^ bltHierbox.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | FreeCachedImage(hboxPtr, imagePtr) | ^ bltHierbox.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | StringToImages(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHierbox.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | ImagesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltHierbox.c:1457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | StringToSeparator(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHierbox.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | SeparatorToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltHierbox.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | ApplyToTree(hboxPtr, rootPtr, proc, flags) | ^ bltHierbox.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | ConfigureButtons(hboxPtr) | ^ bltHierbox.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | DestroyEntry(entryPtr) | ^ bltHierbox.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | LastNode(treePtr, mask) | ^ bltHierbox.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1697 | NextNode(treePtr, mask) | ^ bltHierbox.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | EndNode(treePtr, mask) | ^ bltHierbox.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | ExposeAncestors(treePtr) | ^ bltHierbox.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | IsBefore(t1Ptr, t2Ptr) | ^ bltHierbox.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1814 | IsAncestor(rootPtr, treePtr) | ^ bltHierbox.c:1830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | IsHidden(treePtr) | ^ bltHierbox.c:1852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | SelectEntry(hboxPtr, treePtr) | ^ bltHierbox.c:1870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | DeselectEntry(hboxPtr, treePtr) | ^ bltHierbox.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | ClearSelection(hboxPtr) | ^ bltHierbox.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | PruneSelection(hboxPtr, rootPtr) | ^ bltHierbox.c:1927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | IsSelected(hboxPtr, treePtr) | ^ bltHierbox.c:1939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1939 | GetFullPath(treePtr, separator, resultPtr) | ^ bltHierbox.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | InsertNode(parentPtr, position, nodePtr) | ^ bltHierbox.c:2010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | DestroyNode(data) | ^ bltHierbox.c:2080:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2080 | hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, | ^~~~~~~~~~~~~~ ./bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ bltHierbox.c:2044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2044 | CreateNode(hboxPtr, parentPtr, position, name) | ^ bltHierbox.c:2106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | FindComponent(parentPtr, name) | ^ bltHierbox.c:2142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | SkipSeparators(path, separator, length) | ^ bltHierbox.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | SplitPath(hboxPtr, path, levelPtr, compPtrPtr) | ^ bltHierbox.c:2230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | FindPath(hboxPtr, rootPtr, path) | ^ bltHierbox.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | NearestNode(hboxPtr, x, y, selectOne) | ^ bltHierbox.c:2375:54: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2375 | hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); | ^~~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ bltHierbox.c:2365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | GetNodeByIndex(hboxPtr, string) | ^ bltHierbox.c:2409:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2409 | serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2410 | nodePtr->entryPtr->hashPtr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltHierbox.c:2401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2401 | NodeToString(hboxPtr, nodePtr) | ^ bltHierbox.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | GetNode(hboxPtr, string, treePtrPtr) | ^ bltHierbox.c:2603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | StringToNode(hboxPtr, string, treePtrPtr) | ^ bltHierbox.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | PercentSubst(hboxPtr, treePtr, command, resultPtr) | ^ bltHierbox.c:2701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2701 | CloseNode(hboxPtr, treePtr) | ^ bltHierbox.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | OpenNode(hboxPtr, treePtr) | ^ bltHierbox.c:2804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2804 | SelectNode(hboxPtr, treePtr) | ^ bltHierbox.c:2843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2843 | SelectRange(hboxPtr, fromPtr, toPtr) | ^ bltHierbox.c:2876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2876 | IsSelectedNode(hboxPtr, treePtr) | ^ bltHierbox.c:2901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | GetSelectedLabels(hboxPtr, treePtr) | ^ bltHierbox.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | SizeOfNode(hboxPtr, treePtr) | ^ bltHierbox.c:2954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2954 | CompareNodesByName(link1PtrPtr, link2PtrPtr) | ^ bltHierbox.c:2979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2979 | CompareNodesByTclCmd(link1PtrPtr, link2PtrPtr) | ^ bltHierbox.c:3015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3015 | SortNode(hboxPtr, treePtr) | ^ bltHierbox.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | UnmapNode(hboxPtr, treePtr) | ^ bltHierbox.c:3071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | MapAncestors(hboxPtr, treePtr) | ^ bltHierbox.c:3102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3102 | MapNode(hboxPtr, treePtr) | ^ bltHierbox.c:3112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3112 | FixUnmappedSelections(hboxPtr, treePtr) | ^ bltHierbox.c:3131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | DeleteNode(hboxPtr, treePtr) | ^ bltHierbox.c:3187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3187 | DestroyTree(hboxPtr, treePtr) | ^ bltHierbox.c:3196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3196 | GetTags(table, object, context, list) | ^ bltHierbox.c:3223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3223 | PickButton(clientData, x, y, contextPtr) | ^ bltHierbox.c:3266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | PickEntry(clientData, x, y, contextPtr) | ^ bltHierbox.c:3308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3308 | ConfigureEntry(hboxPtr, entryPtr, argc, argv, flags) | ^ bltHierbox.c:3325:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3325 | argc, argv, (char *)entryPtr, flags) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltHierbox.c:3468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3468 | EventuallyRedraw(hboxPtr) | ^ bltHierbox.c:3496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3496 | LabelBlinkProc(clientData) | ^ bltHierbox.c:3533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3533 | EventuallyInvokeSelectCmd(hboxPtr) | ^ bltHierbox.c:3550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3550 | CreateHierbox(interp, tkwin) | ^ bltHierbox.c:3612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3612 | DestroyHierbox(dataPtr) | ^ bltHierbox.c:3690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3690 | HierboxEventProc(clientData, eventPtr) | ^ bltHierbox.c:3763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3763 | SelectionProc(clientData, offset, buffer, maxBytes) | ^ bltHierbox.c:3824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3824 | LostSelection(clientData) | ^ bltHierbox.c:3852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3852 | HierboxInstCmdDeleteProc(clientData) | ^ bltHierbox.c:3892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3892 | TileChangedProc(clientData, tile) | ^ bltHierbox.c:3938:71: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3938 | if (Tk_ConfigureWidget(interp, hboxPtr->tkwin, configSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltHierbox.c:3924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3924 | ConfigureHierbox(interp, hboxPtr, argc, argv, flags) | ^ bltHierbox.c:4051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4051 | ResetCoordinates(hboxPtr, treePtr, infoPtr) | ^ bltHierbox.c:4138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4138 | ComputeWidths(hboxPtr, treePtr) | ^ bltHierbox.c:4181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4181 | ComputeLayout(hboxPtr) | ^ bltHierbox.c:4260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4260 | ComputeVisibleEntries(hboxPtr) | ^ bltHierbox.c:4369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4369 | GetCursorLocation(hboxPtr, treePtr) | ^ bltHierbox.c:4439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4439 | DrawVerticals(hboxPtr, treePtr, drawable) | ^ bltHierbox.c:4528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4528 | DrawButton(hboxPtr, treePtr, drawable) | ^ bltHierbox.c:4622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4622 | DisplayIcon(hboxPtr, treePtr, x, y, drawable) | ^ bltHierbox.c:4682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4682 | DrawData(hboxPtr, treePtr, x, y, entryHeight, drawable) | ^ bltHierbox.c:4730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4730 | DrawLabel(hboxPtr, treePtr, x, y, drawable) | ^ bltHierbox.c:4851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4851 | DrawEntry(hboxPtr, treePtr, drawable) | ^ bltHierbox.c:4924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4924 | DrawOuterBorders(hboxPtr, drawable) | ^ bltHierbox.c:4980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4980 | DisplayHierbox(clientData) | ^ bltHierbox.c:5098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5098 | SelectCmdProc(clientData) | ^ bltHierbox.c:5136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5136 | HierboxCmd(clientData, interp, argc, argv) | ^ bltHierbox.c:5230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5230 | FocusOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5271 | BboxOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5387 | ButtonActivateOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5429 | ButtonBindOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5459 | ButtonCgetOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5510:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 5510 | argc, argv, (char *)hboxPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltHierbox.c:5492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5492 | ButtonConfigureOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5558:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5558 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ bltHierbox.c:5544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5544 | ButtonOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5571 | CgetOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5583 | CloseOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5669 | ConfigureOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5692 | CurselectionOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5725 | ActivateOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5758 | BindOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5787 | CgetOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5825 | ConfigureOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5880 | IsHiddenOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5897 | IsBeforeOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:5915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5915 | ScreenToIndex(hboxPtr, x, y) | ^ bltHierbox.c:6022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6022 | GetLabelIndex(hboxPtr, entryPtr, string, indexPtr) | ^ bltHierbox.c:6108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6108 | IndexOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6144 | InsertOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6248 | DeleteOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6357 | IsOpenOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6374 | ChildrenOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6457 | SizeOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6534:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6534 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ bltHierbox.c:6520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6520 | EntryOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6540 | ExactCompare(interp, name, pattern) | ^ bltHierbox.c:6550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6550 | GlobCompare(interp, name, pattern) | ^ bltHierbox.c:6559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6559 | RegexpCompare(interp, name, pattern) | ^ bltHierbox.c:6581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6581 | FindOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6829 | GetOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:6895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6895 | SearchAndApplyToTree(hboxPtr, interp, argc, argv, proc, nonMatchPtr) | ^ bltHierbox.c:7069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7069 | HideOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7121 | ShowOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7153 | IndexOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7194 | InsertOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7332 | DeleteOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7450 | MoveOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7518 | NearestOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7573 | OpenOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7623 | RangeOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7697 | ScanOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7759 | SeeOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7901 | AnchorOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7940 | ClearallOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:7968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7968 | IncludesOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8008 | MarkOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8066 | PresentOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8098 | SelectOpOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8200:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8200 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ bltHierbox.c:8186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8186 | SelectionOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8206 | SortOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8257 | ToggleOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8295 | XViewOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8329 | YViewOp(hboxPtr, interp, argc, argv) | ^ bltHierbox.c:8409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8409 | HierboxInstCmd(clientData, interp, argc, argv) | ^ bltHierbox.c:8424:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8424 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ bltHierbox.c:8430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8430 | Blt_HierboxInit(interp) | ^ 152 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltHtext.c bltHtext.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | StringToJustify(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHtext.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | NameOfJustify(justify) | ^ bltHtext.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | JustifyToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltHtext.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | GetScreenDistance(interp, tkwin, string, sizePtr, countPtr) | ^ bltHtext.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | StringToHeight(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHtext.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | StringToWidth(clientData, interp, tkwin, string, widgRec, offset) | ^ bltHtext.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | WidthHeightToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltHtext.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | EventuallyRedraw(htPtr) | ^ bltHtext.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | ResizeArray(arrayPtr, elemSize, newSize, prevSize) | ^ bltHtext.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | LineSearch(htPtr, yCoord, low, high) | ^ bltHtext.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | IndexSearch(htPtr, key, low, high) | ^ bltHtext.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | GetXYPosIndex(htPtr, string, indexPtr) | ^ bltHtext.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | ParseIndex(htPtr, string, indexPtr) | ^ bltHtext.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | GetIndex(htPtr, string, indexPtr) | ^ bltHtext.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | GetTextPosition(htPtr, tindex, lindexPtr, cindexPtr) | ^ bltHtext.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | GetEmbeddedWidgetWidth(winPtr) | ^ bltHtext.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | GetEmbeddedWidgetHeight(winPtr) | ^ bltHtext.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | EmbeddedWidgetEventProc(clientData, eventPtr) | ^ bltHtext.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | EmbeddedWidgetCustodyProc(clientData, tkwin) | ^ bltHtext.c:1485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | EmbeddedWidgetGeometryProc(clientData, tkwin) | ^ bltHtext.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | FindEmbeddedWidget(htPtr, tkwin) | ^ bltHtext.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | CreateEmbeddedWidget(htPtr, name) | ^ bltHtext.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | DestroyEmbeddedWidget(winPtr) | ^ bltHtext.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | CreateLine(htPtr) | ^ bltHtext.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | DestroyLine(linePtr) | ^ bltHtext.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | FreeText(htPtr) | ^ bltHtext.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | DestroyText(dataPtr) | ^ bltHtext.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | TextEventProc(clientData, eventPtr) | ^ bltHtext.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | TextDeleteCmdProc(clientData) | ^ bltHtext.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | TileChangedProc(clientData, tile) | ^ bltHtext.c:1899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | ResetTextInfo(htPtr) | ^ bltHtext.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | GetLastLine(htPtr) | ^ bltHtext.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | ReadNamedFile(interp, fileName, bufferPtr) | ^ bltHtext.c:2018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | CollectCommand(htPtr, inputArr, maxBytes, cmdArr) | ^ bltHtext.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | ParseInput(interp, htPtr, input, nBytes) | ^ bltHtext.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | IncludeText(interp, htPtr, fileName) | ^ bltHtext.c:2230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | TextVarProc(clientData, interp, name1, name2, flags) | ^ bltHtext.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | CreateTraces(htPtr) | ^ bltHtext.c:2306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | DeleteTraces(htPtr) | ^ bltHtext.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | ConfigureText(interp, htPtr) | ^ bltHtext.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | TranslateAnchor(deltaX, deltaY, anchor) | ^ bltHtext.c:2522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | ComputeCavitySize(winPtr) | ^ bltHtext.c:2568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | LayoutLine(htPtr, linePtr) | ^ bltHtext.c:2702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | ComputeLayout(htPtr) | ^ bltHtext.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | GetVisibleLines(htPtr) | ^ bltHtext.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | DrawSegment(htPtr, draw, linePtr, x, y, segPtr) | ^ bltHtext.c:2925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2925 | MoveEmbeddedWidget(winPtr, offset) | ^ bltHtext.c:3018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3018 | DrawPage(htPtr, deltaY) | ^ bltHtext.c:3153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3153 | SendBogusEvent(tkwin) | ^ bltHtext.c:3236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | DisplayText(clientData) | ^ bltHtext.c:3427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | TextSelectionProc(clientData, offset, buffer, maxBytes) | ^ bltHtext.c:3473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3473 | TextLostSelection(clientData) | ^ bltHtext.c:3501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3501 | SelectLine(htPtr, tindex) | ^ bltHtext.c:3556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3556 | SelectWord(htPtr, tindex) | ^ bltHtext.c:3611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | SelectTextBlock(htPtr, tindex) | ^ bltHtext.c:3679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3679 | SelectOp(htPtr, interp, argc, argv) | ^ bltHtext.c:3787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3787 | GotoOp(htPtr, interp, argc, argv) | ^ bltHtext.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3830 | XViewOp(htPtr, interp, argc, argv) | ^ bltHtext.c:3862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3862 | YViewOp(htPtr, interp, argc, argv) | ^ bltHtext.c:3923:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3923 | argc - 3, argv + 3, (char *)winPtr, 0) != TCL_OK) { | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltHtext.c:3909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3909 | AppendOp(htPtr, interp, argc, argv) | ^ bltHtext.c:3961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3961 | WindowsOp(htPtr, interp, argc, argv) | ^ bltHtext.c:3997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3997 | CgetOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4093:6: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4093 | argv + 2, itemPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltHtext.c:4053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4053 | ConfigureOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4119 | ScanOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | SearchOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4254 | RangeOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4304 | IndexOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4328 | LinePosOp(htPtr, interp, argc, argv) | ^ bltHtext.c:4388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4388 | TextWidgetCmd(clientData, interp, argc, argv) | ^ bltHtext.c:4403:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4403 | result = (*proc) (htPtr, interp, argc, argv); | ^ bltHtext.c:4426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4426 | TextCmd(clientData, interp, argc, argv) | ^ bltHtext.c:4491:3: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4491 | argv + 2, (char *)htPtr, 0) != TCL_OK) || | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltHtext.c:4502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4502 | Blt_HtextInit(interp) | ^ 75 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltImage.c bltImage.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | Blt_CreateColorImage(width, height) | ^ bltImage.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Blt_FreeColorImage(imagePtr) | ^ bltImage.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | Blt_GammaCorrectColorImage(src, newGamma) | ^ bltImage.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | Blt_ColorImageToGreyscale(image) | ^ bltImage.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | Blt_ColorImageToPhoto(src, photo) | ^ bltImage.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | Blt_PhotoRegionToColorImage(photo, x, y, width, height) | ^ bltImage.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Blt_PhotoToColorImage(photo) | ^ bltImage.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | DefaultFilter(x) | ^ bltImage.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | DummyFilter(x) | ^ bltImage.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | BoxFilter(x) | ^ bltImage.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | TriangleFilter(x) | ^ bltImage.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | BellFilter(x) | ^ bltImage.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | BSplineFilter(x) | ^ bltImage.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | SincFilter(x) | ^ bltImage.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | BesselFilter(x) | ^ bltImage.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | GaussianFilter(x) | ^ bltImage.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | Lanczos3Filter(x) | ^ bltImage.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | MitchellFilter(x) | ^ bltImage.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | CatRomFilter(x) | ^ bltImage.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | GiFilter(x) | ^ bltImage.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | Blt_GetResampleFilter(interp, name, filterPtrPtr) | ^ bltImage.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | ComputeWeights(srcWidth, destWidth, filterPtr, samplePtrPtr) | ^ bltImage.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | ZoomImageVertically(src, dest, filterPtr) | ^ bltImage.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | ZoomImageHorizontally(src, dest, filterPtr) | ^ bltImage.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | Blt_BlurColorImage(srcPhoto, dstPhoto, radius) | ^ bltImage.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | Blt_ResampleColorImage(src, width, height, horzFilterPtr, vertFilterPtr) | ^ bltImage.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | Blt_ResamplePhoto(srcPhoto, x, y, width, height, destPhoto, horzFilterPtr, | ^ bltImage.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | Blt_ResizePhoto(srcPhoto, x, y, width, height, destPhoto) | ^ bltImage.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | Blt_ResizeColorImage(src, x, y, width, height, destWidth, destHeight) | ^ bltImage.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | Blt_ConvolveColorImage(src, filterPtr) | ^ bltImage.c:1430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | Blt_SnapPhoto(interp, tkwin, drawable, x, y, width, height, destWidth, | ^ bltImage.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | Blt_JPEGToPhoto(interp, fileName, photo) | ^ bltImage.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | ShearY(src, dest, y, offset, frac, bgColor) | ^ bltImage.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | ShearX(src, dest, x, offset, frac, bgColor) | ^ bltImage.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | Rotate45(src, theta, bgColor) | ^ bltImage.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | Blt_CopyColorImage(src) | ^ bltImage.c:1880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1880 | Rotate90(src) | ^ bltImage.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | Rotate180(src) | ^ bltImage.c:1959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1959 | Rotate270(src) | ^ bltImage.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | Blt_RotateColorImage(src, angle) | ^ bltImage.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2107 | GetColorImageStatistics(image) | ^ bltImage.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | M3d(s) /* compute cumulative moments. */ | ^ bltImage.c:2215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | Volume(cubePtr, m) | ^ bltImage.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | Bottom(cubePtr, dir, m) | ^ bltImage.c:2263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2263 | Top(cubePtr, dir, pos, m) | ^ bltImage.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | Variance(cubePtr, s) | ^ bltImage.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | Maximize(cubePtr, dir, first, last, cut, rWhole, gWhole, bWhole, wWhole, s) | ^ bltImage.c:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | Cut(set1, set2, s) | ^ bltImage.c:2438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | SplitColorSpace(s, cubes, nColors) | ^ bltImage.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | Mark(cubePtr, label, tag) | ^ bltImage.c:2538:29: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned int (*)[33][33]' [-Wincompatible-pointer-types] 2538 | Mark(cubePtr, color.value, lut); | ^~~ bltImage.c:2509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | CreateColorLookupTable(s, cubes, nColors) | ^ bltImage.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2544 | MapColors(src, dest, lut) | ^ bltImage.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | Blt_QuantizeColorImage(src, dest, reduceColors) | ^ bltImage.c:2620:26: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned int (*)[33][33]' [-Wincompatible-pointer-types] 2620 | MapColors(src, dest, lut); | ^~~ bltImage.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | Blt_TransColorImage(src, dest, color, alpha, flags) | ^ bltImage.c:2673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2673 | Blt_RecolorImage(src, dest, oldColor, newColor, alpha) | ^ bltImage.c:2707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2707 | Blt_MergeColorImage(src, src2, dest, opacity, opacity2, withColor) | ^ bltImage.c:2758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | Blt_SetRegion(x, y, width, height, regionPtr) | ^ bltImage.c:2867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2867 | Tk_ImageIsDeleted(tkImage) | ^ bltImage.c:2880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2880 | Tk_ImageGetMaster(tkImage) | ^ bltImage.c:2890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2890 | Tk_ImageGetType(tkImage) | ^ bltImage.c:2900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2900 | Tk_ImageGetPhotoPixmap(tkImage) | ^ bltImage.c:2914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2914 | Tk_ImageGetPhotoGC(photoImage) | ^ bltImage.c:2942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2942 | TempImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ bltImage.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | Blt_CreateTemporaryImage(interp, tkwin, clientData) | ^ bltImage.c:2973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2973 | Blt_DestroyTemporaryImage(interp, tkImage) | ^ bltImage.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | Blt_NameOfImage(tkImage) | ^ 68 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUnixImage.c bltUnixImage.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ShiftCount(mask) | ^ bltUnixImage.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | CountBits(mask) | ^ bltUnixImage.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ComputeMasks(visualPtr) | ^ bltUnixImage.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | TrueColorPixel(visualPtr, pixelPtr) | ^ bltUnixImage.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | DirectColorPixel(colorTabPtr, pixelPtr) | ^ bltUnixImage.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PseudoColorPixel(pixelPtr, lut) | ^ bltUnixImage.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | Blt_ColorImageToPixmap(interp, tkwin, image, colorTablePtr) | ^ bltUnixImage.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | XGetImageErrorProc(clientData, errEventPtr) | ^ bltUnixImage.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | Blt_DrawableToColorImage(tkwin, drawable, x, y, width, height, inputGamma) | ^ bltUnixImage.c:577:44: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 577 | hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); | ^~~~~~~~~~~~~~~~~~~~~~ ./bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ bltUnixImage.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | Blt_PhotoImageMask(tkwin, src) | ^ bltUnixImage.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | Blt_ColorImageMask(tkwin, image) | ^ bltUnixImage.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | Blt_RotateBitmap(tkwin, srcBitmap, srcWidth, srcHeight, theta, | ^ bltUnixImage.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | Blt_ScaleBitmap(tkwin, srcBitmap, srcWidth, srcHeight, destWidth, destHeight) | ^ bltUnixImage.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | ErrorProc(jpgPtr) | ^ bltUnixImage.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | MessageProc(jpgPtr) | ^ bltUnixImage.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | Blt_JPEGToColorImage(interp, fileName) | ^ 17 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltPs.c bltPs.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | Blt_GetPsToken(interp, tkwin) | ^ bltPs.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Blt_ReleasePsToken(tokenPtr) | ^ bltPs.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | Blt_PostScriptFromToken(tokenPtr) | ^ bltPs.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | Blt_ScratchBufferFromToken(tokenPtr) | ^ bltPs.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | Blt_FileToPostScript(tokenPtr, fileName) | ^ bltPs.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | XColorToPostScript(tokenPtr, colorPtr) | ^ bltPs.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | Blt_BackgroundToPostScript(tokenPtr, colorPtr) | ^ bltPs.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | Blt_ForegroundToPostScript(tokenPtr, colorPtr) | ^ bltPs.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | ReverseBits(byte) | ^ bltPs.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | ByteToHex(byte, string) | ^ bltPs.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | Blt_BitmapDataToPostScript(tokenPtr, display, bitmap, width, height) | ^ bltPs.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Blt_ColorImageToPsData(image, nComponents, resultPtr, prefix) | ^ bltPs.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | NameOfAtom(tkwin, atom) | ^ bltPs.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | XFontStructToPostScript(tkwin, fontPtr) | ^ bltPs.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | Blt_ClearBackgroundToPostScript(tokenPtr) | ^ bltPs.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Blt_CapStyleToPostScript(tokenPtr, capStyle) | ^ bltPs.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | Blt_JoinStyleToPostScript(tokenPtr, joinStyle) | ^ bltPs.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | Blt_LineWidthToPostScript(tokenPtr, lineWidth) | ^ bltPs.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | Blt_LineDashesToPostScript(tokenPtr, dashesPtr) | ^ bltPs.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | Blt_LineAttributesToPostScript(tokenPtr, colorPtr, lineWidth, dashesPtr, | ^ bltPs.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | Blt_RectangleToPostScript(tokenPtr, x, y, width, height) | ^ bltPs.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Blt_RegionToPostScript(tokenPtr, x, y, width, height) | ^ bltPs.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | Blt_PathToPostScript(tokenPtr, screenPts, nScreenPts) | ^ bltPs.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | Blt_PolygonToPostScript(tokenPtr, screenPts, nScreenPts) | ^ bltPs.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | Blt_SegmentsToPostScript(tokenPtr, segPtr, nSegments) | ^ bltPs.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | Blt_RectanglesToPostScript(tokenPtr, rectArr, nRects) | ^ bltPs.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | Blt_Draw3DRectangleToPostScript(tokenPtr, border, x, y, width, height, | ^ bltPs.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | Blt_Fill3DRectangleToPostScript(tokenPtr, border, x, y, width, height, | ^ bltPs.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | Blt_StippleToPostScript(tokenPtr, display, bitmap) | ^ bltPs.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | Blt_ColorImageToPostScript(tokenPtr, image, x, y) | ^ bltPs.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | Blt_WindowToPostScript(tokenPtr, tkwin, x, y) | ^ bltPs.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | Blt_PhotoToPostScript(tokenPtr, photo, x, y) | ^ bltPs.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | Blt_FontToPostScript(tokenPtr, font) | ^ bltPs.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | TextLayoutToPostScript(tokenPtr, x, y, textPtr) | ^ bltPs.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | Blt_TextToPostScript(tokenPtr, string, tsPtr, x, y) | ^ bltPs.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | Blt_LineToPostScript(tokenPtr, pointPtr, nPoints) | ^ bltPs.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | Blt_BitmapToPostScript(tokenPtr, display, bitmap, scaleX, scaleY) | ^ bltPs.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | Blt_2DSegmentsToPostScript(psToken, segPtr, nSegments) | ^ 38 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTable.c bltTable.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | StringToLimits(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTable.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | ResetLimits(limitsPtr) | ^ bltTable.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | GetBoundedWidth(width, limitsPtr) | ^ bltTable.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | GetBoundedHeight(height, limitsPtr) | ^ bltTable.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | NameOfLimits(limitsPtr) | ^ bltTable.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | LimitsToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTable.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | StringToResize(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTable.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | NameOfResize(resize) | ^ bltTable.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | ResizeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTable.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | StringToControl(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTable.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | NameOfControl(control) | ^ bltTable.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | ControlToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTable.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | EventuallyArrangeTable(tablePtr) | ^ bltTable.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | TableEventProc(clientData, eventPtr) | ^ bltTable.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | WidgetEventProc(clientData, eventPtr) | ^ bltTable.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | WidgetCustodyProc(clientData, tkwin) | ^ bltTable.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | WidgetGeometryProc(clientData, tkwin) | ^ bltTable.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | FindEntry(tablePtr, tkwin) | ^ bltTable.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | GetEntry(interp, tablePtr, string, entryPtrPtr) | ^ bltTable.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | CreateEntry(tablePtr, tkwin) | ^ bltTable.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | DestroyEntry(entryPtr) | ^ bltTable.c:1205:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1205 | argc, argv, (char *)entryPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTable.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | ConfigureEntry(tablePtr, interp, entryPtr, argc, argv) | ^ bltTable.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | PrintEntry(entryPtr, resultPtr) | ^ bltTable.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | InfoEntry(interp, tablePtr, entryPtr) | ^ bltTable.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | ParseRowColumn2(tablePtr, string, numberPtr) | ^ bltTable.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | ParseRowColumn(tablePtr, string, numberPtr) | ^ bltTable.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | GetRowColumn(infoPtr, n) | ^ bltTable.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | DeleteRowColumn(tablePtr, infoPtr, rcPtr) | ^ bltTable.c:1557:32: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1557 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTable.c:1582:37: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1582 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTable.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | ConfigureRowColumn(tablePtr, infoPtr, pattern, argc, argv) | ^ bltTable.c:1592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | PrintRowColumn(interp, infoPtr, rcPtr, resultPtr) | ^ bltTable.c:1644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | InfoRowColumn(tablePtr, interp, pattern) | ^ bltTable.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | InitSpan(infoPtr, start, span) | ^ bltTable.c:1740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1740 | Blt_GetTable(dataPtr, interp, pathName, tablePtrPtr) | ^ bltTable.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | CreateTable(dataPtr, interp, pathName) | ^ bltTable.c:1865:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1865 | argc, argv, (char *)tablePtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTable.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | ConfigureTable(tablePtr, interp, argc, argv) | ^ bltTable.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | PrintTable(tablePtr, resultPtr) | ^ bltTable.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | DestroyPartitions(infoPtr) | ^ bltTable.c:1967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | DestroyTable(dataPtr) | ^ bltTable.c:2013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2013 | BinEntry(tablePtr, entryPtr) | ^ bltTable.c:2037:8: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2037 | key = (int)Blt_ListGetKey(node); | ^~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2049:37: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2049 | newNode = Blt_ListCreateNode(list, (char *)entryPtr->row.span); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2066:8: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2066 | key = (int)Blt_ListGetKey(node); | ^~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2078:37: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2078 | newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTable.c:2114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2114 | ParseIndex(interp, string, rowPtr, columnPtr) | ^ bltTable.c:2202:30: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 2202 | entryConfigSpecs, argc, argv, (char *)entryPtr, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTable.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | ManageEntry(interp, tablePtr, tkwin, row, column, argc, argv) | ^ bltTable.c:2247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | BuildTable(tablePtr, interp, argc, argv) | ^ bltTable.c:2358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | ParseItem(tablePtr, string, rowPtr, columnPtr) | ^ bltTable.c:2424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | TranslateAnchor(dx, dy, anchor, xPtr, yPtr) | ^ bltTable.c:2487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | GetReqWidth(entryPtr) | ^ bltTable.c:2515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | GetReqHeight(entryPtr) | ^ bltTable.c:2538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2538 | GetTotalSpan(infoPtr) | ^ bltTable.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | GetSpan(infoPtr, entryPtr) | ^ bltTable.c:2653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | GrowSpan(infoPtr, entryPtr, growth) | ^ bltTable.c:2842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2842 | AdjustPartitions(infoPtr, adjustment) | ^ bltTable.c:3002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3002 | ResetPartitions(tablePtr, infoPtr, limitsProc) | ^ bltTable.c:3071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | SetNominalSizes(tablePtr, infoPtr) | ^ bltTable.c:3149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3149 | LockPartitions(infoPtr) | ^ bltTable.c:3186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3186 | LayoutPartitions(tablePtr) | ^ bltTable.c:3331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3331 | ArrangeEntries(tablePtr) | ^ bltTable.c:3484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3484 | ArrangeTable(clientData) | ^ bltTable.c:3631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3631 | ArrangeOp(dataPtr, interp, argc, argv) | ^ bltTable.c:3663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3663 | CgetOp(dataPtr, interp, argc, argv) | ^ bltTable.c:3719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3719 | ConfigureOp(dataPtr, interp, argc, argv) | ^ bltTable.c:3811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3811 | DeleteOp(dataPtr, interp, argc, argv) | ^ bltTable.c:3890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3890 | JoinOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4007 | ExtentsOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4085 | ForgetOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4149 | InfoOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4207 | InsertOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4300 | SplitOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4405 | RowColumnSearch(infoPtr, x) | ^ bltTable.c:4440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4440 | LocateOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4492 | ContainersOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4575 | SaveOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4678 | SearchOp(dataPtr, interp, argc, argv) | ^ bltTable.c:4847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4847 | TableCmd(clientData, interp, argc, argv) | ^ bltTable.c:4873:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4873 | result = (*proc) (dataPtr, interp, argc, argv); | ^ bltTable.c:4897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4897 | TableInterpDeleteProc(clientData, interp) | ^ bltTable.c:4918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4918 | GetTableInterpData(interp) | ^ bltTable.c:4955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4955 | Blt_TableInit(interp) | ^ 85 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTabnotebook.c bltTabnotebook.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | MakeTag(nbPtr, tagName) | ^ bltTabnotebook.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | WorldToScreen(nbPtr, x, y, xScreenPtr, yScreenPtr) | ^ bltTabnotebook.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | EventuallyRedraw(nbPtr) | ^ bltTabnotebook.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | EventuallyRedrawTearoff(tabPtr) | ^ bltTabnotebook.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ bltTabnotebook.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | GetImage(nbPtr, interp, tkwin, name) | ^ bltTabnotebook.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | FreeImage(nbPtr, imagePtr) | ^ bltTabnotebook.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | StringToImage(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTabnotebook.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | ImageToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTabnotebook.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | StringToWindow(clientData, interp, parent, string, widgRec, offset) | ^ bltTabnotebook.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | WindowToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ bltTabnotebook.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | StringToSide(clientData, interp, parent, string, widgRec, offset) | ^ bltTabnotebook.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | SideToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ bltTabnotebook.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | StringToSlant(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTabnotebook.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | SlantToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTabnotebook.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | WorldY(tabPtr) | ^ bltTabnotebook.c:1436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | TabIndex(nbPtr, tabPtr) | ^ bltTabnotebook.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | RenumberTiers(nbPtr, tabPtr) | ^ bltTabnotebook.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | PickTab(clientData, x, y, contextPtr) | ^ bltTabnotebook.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | TabLeft(tabPtr) | ^ bltTabnotebook.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | TabRight(tabPtr) | ^ bltTabnotebook.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | TabUp(tabPtr) | ^ bltTabnotebook.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | TabDown(tabPtr) | ^ bltTabnotebook.c:1725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | GetTab(nbPtr, string, tabPtrPtr, allowNull) | ^ bltTabnotebook.c:1853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | NextOrLastTab(tabPtr) | ^ bltTabnotebook.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | EmbeddedWidgetEventProc(clientData, eventPtr) | ^ bltTabnotebook.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | EmbeddedWidgetCustodyProc(clientData, tkwin) | ^ bltTabnotebook.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | EmbeddedWidgetGeometryProc(clientData, tkwin) | ^ bltTabnotebook.c:2021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | DestroyTab(nbPtr, tabPtr) | ^ bltTabnotebook.c:2101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | CreateTab(nbPtr) | ^ bltTabnotebook.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | TileChangedProc(clientData, tile) | ^ bltTabnotebook.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | ConfigureTab(nbPtr, tabPtr) | ^ bltTabnotebook.c:2256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2256 | TearoffEventProc(clientData, eventPtr) | ^ bltTabnotebook.c:2304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2304 | GetReqWidth(tabPtr) | ^ bltTabnotebook.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | GetReqHeight(tabPtr) | ^ bltTabnotebook.c:2375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | TranslateAnchor(dx, dy, anchor, xPtr, yPtr) | ^ bltTabnotebook.c:2422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | GetWindowRectangle(tabPtr, parent, tearoff, rectPtr) | ^ bltTabnotebook.c:2516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | ArrangeWindow(tkwin, rectPtr, force) | ^ bltTabnotebook.c:2537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2537 | GetTags(table, object, context, list) | ^ bltTabnotebook.c:2591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2591 | NotebookEventProc(clientData, eventPtr) | ^ bltTabnotebook.c:2653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | DestroyNotebook(dataPtr) | ^ bltTabnotebook.c:2691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | CreateNotebook(interp, tkwin) | ^ bltTabnotebook.c:2769:69: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 2769 | if (Tk_ConfigureWidget(interp, nbPtr->tkwin, configSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTabnotebook.c:2755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2755 | ConfigureNotebook(interp, nbPtr, argc, argv, flags) | ^ bltTabnotebook.c:2859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | ActivateOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2893 | BindOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:2924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2924 | CgetOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:2956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2956 | ConfigureOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:2991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2991 | DeleteOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3053 | FocusOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | IndexOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3122 | IdOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3154 | InsertOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | PercentSubst(nbPtr, tabPtr, command, resultPtr) | ^ bltTabnotebook.c:3298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3298 | InvokeOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3342 | MoveOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3387 | NearestOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3431 | SelectOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3470 | ViewOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3505 | AdoptWindow(clientData) | ^ bltTabnotebook.c:3521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3521 | DestroyTearoff(dataPtr) | ^ bltTabnotebook.c:3554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3554 | CreateTearoff(nbPtr, name, tabPtr) | ^ bltTabnotebook.c:3618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | TabCgetOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3695:13: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3695 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTabnotebook.c:3657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3657 | TabConfigureOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3722 | TabDockallOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3752 | TabNamesOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3794 | TabTearoffOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3874:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3874 | result = (*proc) (nbPtr, interp, argc, argv); | ^ bltTabnotebook.c:3861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | TabOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3895 | PerforationActivateOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3932 | PerforationInvokeOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:3995:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3995 | result = (*proc) (nbPtr, interp, argc, argv); | ^ bltTabnotebook.c:3981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3981 | PerforationOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:4010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4010 | ScanOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:4065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4065 | SeeOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:4113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4113 | SizeOp(nbPtr, interp, argc, argv) | ^ bltTabnotebook.c:4126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4126 | CountTabs(nbPtr) | ^ bltTabnotebook.c:4271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4271 | WidenTabs(nbPtr, startPtr, nTabs, adjustment) | ^ bltTabnotebook.c:4314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4314 | AdjustTabSizes(nbPtr, nTabs) | ^ bltTabnotebook.c:4392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4392 | ComputeLayout(nbPtr) | ^ bltTabnotebook.c:4541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4541 | ComputeVisibleTabs(nbPtr) | ^ bltTabnotebook.c:4607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4607 | Draw3DFolder(nbPtr, tabPtr, drawable, side, pointArr, nPoints) | ^ bltTabnotebook.c:4711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4711 | DrawLabel(nbPtr, tabPtr, drawable) | ^ bltTabnotebook.c:4853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4853 | DrawPerforation(nbPtr, tabPtr, drawable) | ^ bltTabnotebook.c:4962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4962 | DrawFolder(nbPtr, tabPtr, drawable) | ^ bltTabnotebook.c:5267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5267 | DrawOuterBorders(nbPtr, drawable) | ^ bltTabnotebook.c:5318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5318 | DisplayNotebook(clientData) | ^ bltTabnotebook.c:5464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5464 | DisplayTearoff(clientData) | ^ bltTabnotebook.c:5601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5601 | NotebookInstCmd(clientData, interp, argc, argv) | ^ bltTabnotebook.c:5617:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5617 | result = (*proc) (nbPtr, interp, argc, argv); | ^ bltTabnotebook.c:5643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5643 | NotebookInstDeletedCmd(clientData) | ^ bltTabnotebook.c:5679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5679 | NotebookCmd(clientData, interp, argc, argv) | ^ bltTabnotebook.c:5743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5743 | Blt_TabnotebookInit(interp) | ^ 94 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTabset.c bltTabset.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | EventuallyRedrawTearoff(tabPtr) | ^ bltTabset.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | StringToImage(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTabset.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | ImageToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTabset.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | StringToWindow(clientData, interp, parent, string, widgRec, offset) | ^ bltTabset.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | WindowToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ bltTabset.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | StringToSide(clientData, interp, parent, string, widgRec, offset) | ^ bltTabset.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | SideToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ bltTabset.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | StringToSlant(clientData, interp, tkwin, string, widgRec, offset) | ^ bltTabset.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | SlantToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltTabset.c:1516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | WorldY(tabPtr) | ^ bltTabset.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | TabIndex(setPtr, tabPtr) | ^ bltTabset.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | RenumberTiers(setPtr, tabPtr) | ^ bltTabset.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | TabExists(setPtr, string) | ^ bltTabset.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | GetTabByName(setPtr, string, tabPtrPtr) | ^ bltTabset.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | PickTab(clientData, x, y, contextPtr) | ^ bltTabset.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | TabNext(tabPtr, wrap) | ^ bltTabset.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | TabPrev(tabPtr, wrap) | ^ bltTabset.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | TabLeft(tabPtr) | ^ bltTabset.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | TabRight(tabPtr) | ^ bltTabset.c:1853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | TabUp(tabPtr) | ^ bltTabset.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | TabDown(tabPtr) | ^ bltTabset.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | GetTabByIndex(setPtr, string, tabPtrPtr, allowNull) | ^ bltTabset.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | GetTabByNameInd(setPtr, string, tabPtrPtr) | ^ bltTabset.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | NextOrLastTab(tabPtr) | ^ bltTabset.c:2156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2156 | EmbeddedWidgetEventProc(clientData, eventPtr) | ^ bltTabset.c:2216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2216 | EmbeddedWidgetCustodyProc(clientData, tkwin) | ^ bltTabset.c:2265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | EmbeddedWidgetGeometryProc(clientData, tkwin) | ^ bltTabset.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | DestroyTab(setPtr, tabPtr) | ^ bltTabset.c:2378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2378 | CreateTab(setPtr, name) | ^ bltTabset.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | TileChangedProc(clientData, tile) | ^ bltTabset.c:2448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2448 | ConfigureTab(setPtr, tabPtr) | ^ bltTabset.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | TearoffEventProc(clientData, eventPtr) | ^ bltTabset.c:2642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2642 | GetReqWidth(tabPtr) | ^ bltTabset.c:2674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | GetReqHeight(tabPtr) | ^ bltTabset.c:2890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2890 | GetTags(table, object, context, list) | ^ bltTabset.c:2956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2956 | TabsetEventProc(clientData, eventPtr) | ^ bltTabset.c:3021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | DestroyTabset(dataPtr) | ^ bltTabset.c:3166:70: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3166 | if (Tk_ConfigureWidget(interp, setPtr->tkwin, configSpecs, argc, argv, | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTabset.c:3269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3269 | ActivateOp(setPtr, interp, argc, argv) | ^ bltTabset.c:3686:31: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 3686 | if (TabExists(setPtr, tName)) { | ^~~~~ bltTabset.c:3693:29: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 3693 | tabPtr = CreateTab(setPtr, tName); | ^~~~~ bltTabset.c:3919:9: warning: variable 'dw' set but not used [-Wunused-but-set-variable] 3919 | int dw, dh; | ^ bltTabset.c:3919:13: warning: variable 'dh' set but not used [-Wunused-but-set-variable] 3919 | int dw, dh; | ^ bltTabset.c:3911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3911 | NearestOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4026 | CoordsOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4228 | DestroyTearoff(dataPtr) | ^ bltTabset.c:4375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4375 | TabCgetOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4456:13: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4456 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTabset.c:4414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4414 | TabConfigureOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4484 | TabDockallOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4514 | TabPageHeight(setPtr, interp, argc, argv) | ^ bltTabset.c:4535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4535 | TabPageWidth(setPtr, interp, argc, argv) | ^ bltTabset.c:4557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4557 | TabNamesOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4602 | TabNumberOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4638 | TabSelectOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4676 | TabTearoffOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4751:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 4751 | if ((tabPtr->state == STATE_DISABLED)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ bltTabset.c:4751:24: note: remove extraneous parentheses around the comparison to silence this warning 4751 | if ((tabPtr->state == STATE_DISABLED)) { | ~ ^ ~ bltTabset.c:4751:24: note: use '=' to turn this equality comparison into an assignment 4751 | if ((tabPtr->state == STATE_DISABLED)) { | ^~ | = bltTabset.c:4724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4724 | TearoffOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4812:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4812 | result = (*proc) (setPtr, interp, argc, argv); | ^ bltTabset.c:4799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4799 | TabOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4834 | PerforationActivateOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4871 | PerforationInvokeOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4934:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4934 | result = (*proc) (setPtr, interp, argc, argv); | ^ bltTabset.c:4920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4920 | PerforationOp(setPtr, interp, argc, argv) | ^ bltTabset.c:4949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4949 | ScanOp(setPtr, interp, argc, argv) | ^ bltTabset.c:5004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5004 | SizeOp(setPtr, interp, argc, argv) | ^ bltTabset.c:5017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5017 | CountTabs(setPtr) | ^ bltTabset.c:5171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5171 | WidenTabs(setPtr, startPtr, nTabs, adjustment) | ^ bltTabset.c:5250:28: warning: variable 'eImg' set but not used [-Wunused-but-set-variable] 5250 | int x, maxWidth, sImg, eImg; | ^ bltTabset.c:5241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5241 | AdjustTabSizes(setPtr, nTabs) | ^ bltTabset.c:5343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5343 | ComputeLayout(setPtr) | ^ bltTabset.c:5572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5572 | ComputeVisibleTabs(setPtr) | ^ bltTabset.c:5644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5644 | Draw3DFolder(setPtr, tabPtr, drawable, side, pointArr, nPoints) | ^ bltTabset.c:5708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5708 | DrawLabel(setPtr, tabPtr, drawable) | ^ bltTabset.c:5932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5932 | DrawPerforation(setPtr, tabPtr, drawable) | ^ bltTabset.c:6060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6060 | DrawFolder(setPtr, tabPtr, drawable) | ^ bltTabset.c:6368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6368 | DrawOuterBorders(setPtr, drawable) | ^ bltTabset.c:6419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6419 | DisplayTabset(clientData) | ^ bltTabset.c:6607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6607 | DisplayTearoff(clientData) | ^ bltTabset.c:6745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6745 | TabsetInstCmd(clientData, interp, argc, argv) | ^ bltTabset.c:6763:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6763 | result = (*proc) (setPtr, interp, argc, argv); | ^ bltTabset.c:6789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6789 | TabsetInstDeletedCmd(clientData) | ^ bltTabset.c:6825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6825 | TabsetCmd(clientData, interp, argc, argv) | ^ bltTabset.c:6888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6888 | Blt_TabsetInit(interp) | ^ 84 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltText.c bltText.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | Blt_AverageImage(im, w, h, d) | ^ bltText.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | Blt_DrawCharsBitmap(display, bitmap, w, width, height, gc, font, x, y, textPtr) | ^ bltText.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | DrawTextLayout(display, drawable, gc, font, x, y, textPtr, tsPtr) | ^ bltText.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | bltGetTextLayoutStr(string, tsPtr, store) | ^ bltText.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Blt_GetTextLayoutStr(string, tsPtr) | ^ bltText.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | Blt_GetTextLayout(string, tsPtr) | ^ bltText.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | Blt_GetTextExtents(tsPtr, string, widthPtr, heightPtr) | ^ bltText.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Blt_GetBoundingBox(width, height, theta, rotWidthPtr, rotHeightPtr, bbox) | ^ bltText.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | Blt_TranslateAnchor(x, y, width, height, anchor, transXPtr, transYPtr) | ^ bltText.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | Blt_TranslatePoint(pointPtr, width, height, anchor) | ^ bltText.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Blt_CreateTextBitmap(tkwin, textPtr, tsPtr, bmWidthPtr, bmHeightPtr) | ^ bltText.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | Blt_InitTextStyle(tsPtr) | ^ bltText.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | Blt_SetDrawTextStyle(tsPtr, font, gc, normalColor, activeColor, shadowColor, | ^ bltText.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | Blt_SetPrintTextStyle(tsPtr, font, fgColor, activeColor, shadowColor, theta, | ^ bltText.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | Blt_DrawTextLayout(tkwin, drawable, textPtr, tsPtr, x, y) | ^ bltText.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | Blt_DrawText2(tkwin, drawable, string, tsPtr, x, y, areaPtr) | ^ bltText.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | Blt_DrawText(tkwin, drawable, string, tsPtr, x, y) | ^ bltText.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | Blt_GetBitmapGC(tkwin) | ^ bltText.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | Blt_ResetTextStyle(tkwin, tsPtr) | ^ bltText.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | Blt_FreeTextStyle(display, tsPtr) | ^ bltText.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | Blt_DeleteAxisLabelsGC(tkwin) | ^ 21 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTile.c bltTile.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | RedrawTile(tkwin, tilePtr) | ^ bltTile.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | UpdateTile(clientData) | ^ bltTile.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ bltTile.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | GetTileInterpData(interp) | ^ bltTile.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | RectangleMask(display, drawable, x, y, width, height, mask, xOrigin, yOrigin) | ^ bltTile.c:1179:6: warning: variable 'xm' set but not used [-Wunused-but-set-variable] 1179 | int xm, ym; | ^ bltTile.c:1179:10: warning: variable 'ym' set but not used [-Wunused-but-set-variable] 1179 | int xm, ym; | ^ bltTile.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | PolygonMask(display, pointArr, nPoints, regionPtr, mask, xOrigin, yOrigin) | ^ bltTile.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | Blt_Fill3DRectangleTile(tkwin, drawable, border, x, y, width, height, borderWidth, | ^ 9 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeView.c bltTreeView.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | ObjToSeparator(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeView.c:1266:9: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1266 | string = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:1317:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1317 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:1320:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1320 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltTreeView.c:1346:16: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1346 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:1349:25: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1349 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ bltTreeView.c:2389:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2389 | names[i] = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ bltTreeView.c:2391:15: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2391 | names[i] = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:3310:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 3310 | label = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ bltTreeView.c:3687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3687 | Blt_TreeViewTileChangedProc(clientData, tile) | ^ bltTreeView.c:3871:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3871 | void Blt_TreeViewMakeStyleDirty(tvPtr) | ^ bltTreeView.c:4717:12: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 4717 | string = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:5045:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 5045 | int result, rcnt; | ^ bltTreeView.c:5289:19: warning: variable 'hasFocus' set but not used [-Wunused-but-set-variable] 5289 | int isActive, hasFocus; | ^ bltTreeView.c:5457:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 5457 | label = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ bltTreeView.c:5566:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5566 | void DrawEntryRule( tvPtr, entryPtr, columnPtr, drawable, x, y) | ^ bltTreeView.c:5882:13: warning: variable 'mh' set but not used [-Wunused-but-set-variable] 5882 | int mw, mh; | ^ bltTreeView.c:6034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6034 | Blt_TreeViewDrawHeadings(tvPtr, drawable) | ^ bltTreeView.c:6088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6088 | DrawTreeView(tvPtr, drawable, x) | ^ bltTreeView.c:6193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6193 | Blt_TreeViewDrawOuterBorders(tvPtr, drawable) | ^ bltTreeView.c:6510:31: warning: initializing 'char *' with an expression of type 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 6510 | char *string = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeView.c:6637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6637 | TreeViewObjCmd(clientData, interp, objc, objv) | ^ 22 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewCmd.c bltTreeViewCmd.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | SkipSeparators(path, separator, length) | ^ bltTreeViewCmd.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | DeleteNode(tvPtr, node) | ^ bltTreeViewCmd.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | SplitPath(tvPtr, path, depthPtr, compPtrPtr) | ^ bltTreeViewCmd.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | LastEntry(tvPtr, entryPtr, mask) | ^ bltTreeViewCmd.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | LastNode(tvPtr, entryPtr, mask) | ^ bltTreeViewCmd.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | ShowEntryApplyProc(tvPtr, entryPtr) | ^ bltTreeViewCmd.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | HideEntryApplyProc(tvPtr, entryPtr) | ^ bltTreeViewCmd.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | MapAncestors(tvPtr, entryPtr) | ^ bltTreeViewCmd.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | MapAncestorsApplyProc(tvPtr, entryPtr) | ^ bltTreeViewCmd.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | FindPath(tvPtr, rootPtr, path) | ^ bltTreeViewCmd.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | NodeToObj(node) | ^ bltTreeViewCmd.c:519:4: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 519 | ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { | ^~~~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:519:29: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 519 | ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { | ^~~~~~~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | GetEntryFromSpecialId(tvPtr, string, entryPtrPtr) | ^ bltTreeViewCmd.c:671:7: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 671 | int inode; | ^ bltTreeViewCmd.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | GetTagInfo(tvPtr, tagName, infoPtr) | ^ bltTreeViewCmd.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | Blt_TreeViewFirstTaggedEntry(infoPtr) | ^ bltTreeViewCmd.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Blt_TreeViewNextTaggedEntry(infoPtr) | ^ bltTreeViewCmd.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | Blt_TreeViewGetTags(interp, tvPtr, entryPtr, list) | ^ bltTreeViewCmd.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | AddTag(tvPtr, node, tagName) | ^ bltTreeViewCmd.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | Blt_TreeViewFindTaggedEntries(tvPtr, objPtr, infoPtr) | ^ bltTreeViewCmd.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | Blt_TreeViewDoneTaggedEntries(infoPtr) | ^ bltTreeViewCmd.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | GetEntryFromObj2(tvPtr, objPtr, entryPtrPtr) | ^ bltTreeViewCmd.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | GetEntryFromObj(tvPtr, objPtr, entryPtrPtr) | ^ bltTreeViewCmd.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | Blt_TreeViewGetEntry(tvPtr, objPtr, entryPtrPtr) | ^ bltTreeViewCmd.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | GetNthNode(parent, position) | ^ bltTreeViewCmd.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | Blt_TreeViewPercentSubst(tvPtr, entryPtr, columnPtr, command, value, resultPtr) | ^ bltTreeViewCmd.c:1335:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1335 | string = (entryPtr?GETLABEL(entryPtr):""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:1345:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1345 | string = (columnPtr?columnPtr->key:"??"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | SelectEntryApplyProc(tvPtr, entryPtr, columnPtr) | ^ bltTreeViewCmd.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | EventuallyInvokeSelectCmd(tvPtr) | ^ bltTreeViewCmd.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | Blt_TreeViewPruneSelection(tvPtr, rootPtr) | ^ bltTreeViewCmd.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | FocusOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | EntryIssetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | EntryIsvisibleOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | EntryIsmappedOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | EntryUnsetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1692:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1692 | Blt_TreeNode node; | ^ bltTreeViewCmd.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | EntrySetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1780:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1780 | Blt_TreeNode node; | ^ bltTreeViewCmd.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | EntryIncrOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1844:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1844 | Blt_TreeNode node; | ^ bltTreeViewCmd.c:1837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | EntryGetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | EntryValueOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | BboxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | DrawButton(tvPtr, entryPtr) | ^ bltTreeViewCmd.c:2174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2174 | ButtonActivateOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | ButtonBindOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2250 | ButtonCgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | ButtonConfigureOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2352:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2352 | result = (*proc) (tvPtr, interp, objc, objv); | ^ bltTreeViewCmd.c:2338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2338 | ButtonOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | CgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2388 | CloseOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | ConfigureOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | CurselectionOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | BindOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2659:15: warning: variable 'wx' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^ bltTreeViewCmd.c:2659:19: warning: variable 'wy' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^ bltTreeViewCmd.c:2650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | EditOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | EntryActivateOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | EntryCgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2860 | EntryConfigureOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | EntryIsBeforeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2954 | EntryIsHiddenOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:2980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2980 | EntryIsLeafOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3007 | EntryIsOpenOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3026 | EntryParentOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | EntryUpOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3083 | EntryDepthOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3103 | EntryDownOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3140 | EntryExistsOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3168 | EntryPrevOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | EntryRelabelOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3230 | EntrySelectOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3268 | EntrySiblingOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3313 | EntryNextOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3350 | EntryChildrenOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3438 | EntryDeleteOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3531 | EntrySizeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3639:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3639 | result = (*proc) (tvPtr, interp, objc, objv); | ^ bltTreeViewCmd.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | EntryOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:3645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3645 | ExactCompare(interp, name, patternPtr, nocase) | ^ bltTreeViewCmd.c:3661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3661 | GlobCompare(interp, name, patternPtr, nocase) | ^ bltTreeViewCmd.c:3672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3672 | RegexpCompare(interp, name, patternPtr, nocase) | ^ bltTreeViewCmd.c:3704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3704 | InlistCompare(interp, name, patternPtr, nocase) | ^ bltTreeViewCmd.c:4286:22: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 4286 | curValue = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:3771:34: warning: variable 'cmdValue' set but not used [-Wunused-but-set-variable] 3771 | int isnull, retLabel, isret, cmdValue; | ^ bltTreeViewCmd.c:3746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3746 | FindOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:4541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4541 | GetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:4879:26: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 4879 | curValue = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:4665:47: warning: variable 'ocnt' set but not used [-Wunused-but-set-variable] 4665 | int result, nocase, uselabel = 0, optInd, ocnt; | ^ bltTreeViewCmd.c:4666:11: warning: variable 'pattern' set but not used [-Wunused-but-set-variable] 4666 | char *pattern, *curValue; | ^ bltTreeViewCmd.c:4652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4652 | SearchAndApplyToTree(tvPtr, interp, objc, objv, proc, nonMatchPtr) | ^ bltTreeViewCmd.c:4956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4956 | FixSelectionsApplyProc(tvPtr, entryPtr) | ^ bltTreeViewCmd.c:5000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5000 | HideOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:5052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5052 | ShowOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:5084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5084 | IndexOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:5231:71: warning: passing 'Tcl_Obj *const **' (aka 'struct Tcl_Obj *const **') to parameter of type 'Tcl_Obj ***' (aka 'struct Tcl_Obj ***') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 5231 | if (Tcl_ListObjGetElements(interp, objv[count+1], &tobjc, &tobjv) != TCL_OK) { | ^~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: passing argument to parameter 'objvPtr' here 180 | Tcl_Obj ***objvPtr); | ^ bltTreeViewCmd.c:5236:71: warning: passing 'Tcl_Obj *const **' (aka 'struct Tcl_Obj *const **') to parameter of type 'Tcl_Obj ***' (aka 'struct Tcl_Obj ***') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 5236 | if (Tcl_ListObjGetElements(interp, objv[count+1], &sobjc, &sobjv) != TCL_OK) { | ^~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: passing argument to parameter 'objvPtr' here 180 | Tcl_Obj ***objvPtr); | ^ bltTreeViewCmd.c:5195:9: warning: variable 'optSkips' set but not used [-Wunused-but-set-variable] 5195 | int optSkips, i, m, start, nOptions, inode; | ^ bltTreeViewCmd.c:5195:42: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 5195 | int optSkips, i, m, start, nOptions, inode; | ^ bltTreeViewCmd.c:5170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5170 | InsertOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:5731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5731 | DeleteOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:5786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5786 | MoveOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:5866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5866 | NearestOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6050 | OpenOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6133 | RangeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6214 | ScanOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6279 | SeeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6402 | Blt_TreeViewClearSelection(tvPtr) | ^ bltTreeViewCmd.c:6453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6453 | LostSelection(clientData) | ^ bltTreeViewCmd.c:6479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6479 | SelectRange(tvPtr, fromPtr, toPtr) | ^ bltTreeViewCmd.c:6548:28: warning: incompatible pointer types passing 'TreeViewEntry *' (aka 'struct TreeViewEntryStruct *') to parameter of type 'Blt_TreeNode' (aka 'struct Blt_TreeNodeStruct *') [-Wincompatible-pointer-types] 6548 | objPtr = NodeToObj(tvPtr->selAnchorPtr); | ^~~~~~~~~~~~~~~~~~~ bltTreeViewCmd.c:6533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6533 | SelectionAnchorOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6595 | SelectionClearallOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6623 | SelectionIncludesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6662 | SelectionCellsOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6725 | SelectionMarkOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6792 | SelectionPresentOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6877:49: warning: too many arguments in call to 'SelectRange' 6877 | SelectRange(tvPtr, firstPtr, lastPtr, columnPtr); | ~~~~~~~~~~~ ^ bltTreeViewCmd.c:6824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6824 | SelectionSetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6941:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6941 | result = (*proc) (tvPtr, interp, objc, objv); | ^ bltTreeViewCmd.c:6927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6927 | SelectionOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6955 | TagForgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:6979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6979 | TagNamesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7039 | TagNodesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7082 | TagDefine(tvPtr, interp, tagName) | ^ bltTreeViewCmd.c:7126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7126 | TagAddOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7163 | TagExistsOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7202 | TagDeleteOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7279:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7279 | result = (*proc)(tvPtr, interp, objc, objv); | ^ bltTreeViewCmd.c:7265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7265 | TagOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7285 | ToggleOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7330 | XViewOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7370 | YViewOp(tvPtr, interp, objc, objv) | ^ bltTreeViewCmd.c:7460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7460 | Blt_TreeViewWidgetInstCmd(clientData, interp, objc, objv) | ^ bltTreeViewCmd.c:7477:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7477 | result = (*proc) (tvPtr, interp, objc, objv); | ^ 138 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewEdit.c bltTreeViewEdit.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | EventuallyRedraw(tbPtr) | ^ bltTreeViewEdit.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | BlinkCursorProc(clientData) | ^ bltTreeViewEdit.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | TextboxEventProc(clientData, eventPtr) | ^ bltTreeViewEdit.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | TextboxLostSelectionProc(clientData) | ^ bltTreeViewEdit.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | PointerToIndex(tbPtr, x, y) | ^ bltTreeViewEdit.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | IndexToPointer(tbPtr) | ^ bltTreeViewEdit.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | UpdateLayout(tbPtr) | ^ bltTreeViewEdit.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | InsertText(tbPtr, insertText, insertPos, nBytes) | ^ bltTreeViewEdit.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | DeleteText(tbPtr, firstPos, lastPos) | ^ bltTreeViewEdit.c:753:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 753 | string = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ bltTreeViewEdit.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | AcquireText(tvPtr, tbPtr, entryPtr, columnPtr) | ^ bltTreeViewEdit.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | GetIndexFromObj(interp, tbPtr, objPtr, indexPtr) | ^ bltTreeViewEdit.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | SelectText(tbPtr, textPos) | ^ bltTreeViewEdit.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | TextboxSelectionProc(clientData, offset, buffer, maxBytes) | ^ bltTreeViewEdit.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | DestroyTextbox(data) | ^ bltTreeViewEdit.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | ConfigureTextbox(tbPtr) | ^ bltTreeViewEdit.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | Blt_TreeViewTextbox(tvPtr, entryPtr, columnPtr) | ^ bltTreeViewEdit.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | DisplayTextbox(clientData) | ^ bltTreeViewEdit.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | ApplyOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | CancelOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | CgetOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | ConfigureOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | DeleteOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | IcursorOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | IndexOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | InsertOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | SelectionAdjustOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | SelectionClearOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | SelectionFromOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | SelectionPresentOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SelectionRangeOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | SelectionToOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1718:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | result = (*proc) (tbPtr, interp, objc, objv); | ^ bltTreeViewEdit.c:1704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | SelectionOp(tbPtr, interp, objc, objv) | ^ bltTreeViewEdit.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | TextboxCmd(clientData, interp, objc, objv) | ^ bltTreeViewEdit.c:1764:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | result = (*proc) (tbPtr, interp, objc, objv); | ^ 36 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewColumn.c bltTreeViewColumn.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | ObjToColumn(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewColumn.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | ColumnToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewColumn.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | ObjToData(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewColumn.c:416:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 416 | Blt_TreeNode node; | ^ bltTreeViewColumn.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | ObjToColorPat(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewColumn.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | ColorPatToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewColumn.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | DataToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewColumn.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | Blt_TreeViewGetColumn(interp, tvPtr, objPtr, columnPtrPtr) | ^ bltTreeViewColumn.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | Blt_TreeViewGetColumnKey(interp, tvPtr, objPtr, columnPtrPtr, keyPtrPtr) | ^ bltTreeViewColumn.c:712:21: warning: variable 'columnPtr' set but not used [-Wunused-but-set-variable] 712 | TreeViewColumn *columnPtr; | ^ bltTreeViewColumn.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | Blt_TreeViewNumColumns(tvPtr) | ^ bltTreeViewColumn.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | Blt_TreeViewColumnRekey(tvPtr) | ^ bltTreeViewColumn.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | Blt_TreeViewColumnNum(tvPtr, string) | ^ bltTreeViewColumn.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | Blt_TreeViewColumnInd(tvPtr, columnPtr) | ^ bltTreeViewColumn.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | ObjToStyle(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewColumn.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | StyleToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewColumn.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | FreeStyle(clientData, display, widgRec, offset, oldPtr) | ^ bltTreeViewColumn.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | ObjToStyles(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewColumn.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | StylesToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewColumn.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | FreeStyles(clientData, display, widgRec, offset, oldPtr) | ^ bltTreeViewColumn.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | Blt_TreeViewUpdateColumnGCs(tvPtr, columnPtr) | ^ bltTreeViewColumn.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | DestroyColumn(tvPtr, columnPtr) | ^ bltTreeViewColumn.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | Blt_TreeViewDestroyColumns(tvPtr) | ^ bltTreeViewColumn.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | Blt_TreeViewConfigureColumns(tvPtr) | ^ bltTreeViewColumn.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | ColumnConfigChanges(tvPtr, interp, columnPtr) | ^ bltTreeViewColumn.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | Blt_TreeViewCreateColumn(tvPtr, columnPtr, name, defTitle) | ^ bltTreeViewColumn.c:1329:2: warning: passing 'Blt_TreeKey' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1329 | columnPtr->key, "Column", columnSpecs, objc, objv, (char *)columnPtr, | ^~~~~~~~~~~~~~ ./bltObjConfig.h:211:25: note: passing argument to parameter 'name' here 211 | Tk_Window tkwin, char *name, char *className, Blt_ConfigSpec *specs, | ^ bltTreeViewColumn.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | CreateColumn(tvPtr, nameObjPtr, objc, objv) | ^ bltTreeViewColumn.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | Blt_TreeViewNearestColumn(tvPtr, x, y, contextPtr) | ^ bltTreeViewColumn.c:1424:24: warning: passing 'Blt_TreeKey' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1424 | Tcl_SetResult(interp, tvPtr->activeTitleColumnPtr->key, TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:692:54: note: passing argument to parameter 'result' here 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ^ bltTreeViewColumn.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | ColumnActivateOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | ColumnBindOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | ColumnCgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | ColumnConfigureOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | ColumnDeleteOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | ColumnIssetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | ColumnIndexOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | ColumnIstreeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | ColumnInsertOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:1972:24: warning: passing 'Blt_TreeKey' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1972 | Tcl_SetResult(interp, columnPtr->key, TCL_VOLATILE); | ^~~~~~~~~~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:692:54: note: passing argument to parameter 'result' here 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ^ bltTreeViewColumn.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | ColumnCurrentOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2011:10: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2011 | string = columnPtr->key; | ^ ~~~~~~~~~~~~~~ bltTreeViewColumn.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | ColumnPercentSubst(tvPtr, columnPtr, command, resultPtr) | ^ bltTreeViewColumn.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | ColumnInvokeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | ColumnValuesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | ColumnMoveOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | ColumnNamesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | ColumnNearestOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2343 | ColumnOffsetsOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | ColumnBboxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2480:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] 2480 | int width, height; | ^ bltTreeViewColumn.c:2473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2473 | ColumnSeeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | UpdateMark(tvPtr, newMark) | ^ bltTreeViewColumn.c:2613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2613 | ResizeActivateOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | ResizeAnchorOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2682 | ResizeMarkOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2709 | ResizeSetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2762:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2762 | result = (*proc) (tvPtr, interp, objc, objv); | ^ bltTreeViewColumn.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | ColumnResizeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | Blt_TreeViewColumnOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:2815:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2815 | result = (*proc) (tvPtr, interp, objc, objv); | ^ bltTreeViewColumn.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | InvokeCompare(tvPtr, e1Ptr, e2Ptr, command) | ^ bltTreeViewColumn.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2967 | CompareEntries(a, b) | ^ bltTreeViewColumn.c:3057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3057 | SortAutoOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:3095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3095 | SortCgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:3129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3129 | SortConfigureOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:3169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3169 | SortOnceOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:3241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3241 | Blt_TreeViewSortOp(tvPtr, interp, objc, objv) | ^ bltTreeViewColumn.c:3255:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3255 | result = (*proc) (tvPtr, interp, objc, objv); | ^ bltTreeViewColumn.c:3273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3273 | SortApplyProc(node, clientData, order) | ^ bltTreeViewColumn.c:3297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3297 | Blt_TreeViewSortFlatView(tvPtr) | ^ bltTreeViewColumn.c:3345:14: warning: variable 'key' set but not used [-Wunused-but-set-variable] 3345 | Blt_TreeKey key; | ^ bltTreeViewColumn.c:3398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3398 | Blt_TreeViewSortTreeView(tvPtr) | ^ 73 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTreeViewStyle.c bltTreeViewStyle.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | StickyToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewStyle.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | ObjToSticky(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewStyle.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | ObjToIcon(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltTreeViewStyle.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | IconToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltTreeViewStyle.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | FreeIcon(clientData, display, widgRec, offset, oldPtr) | ^ bltTreeViewStyle.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | CreateTextBox(tvPtr, hPtr) | ^ bltTreeViewStyle.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | ConfigureTextBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | MeasureTextBox(tvPtr, stylePtr, valuePtr) | ^ bltTreeViewStyle.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | drawTextBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y, sRec) | ^ bltTreeViewStyle.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | GetColorPats(tvPtr, entryPtr, valuePtr, stylePtr, fgPtr) | ^ bltTreeViewStyle.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | DrawTextBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ bltTreeViewStyle.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | EditTextBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ bltTreeViewStyle.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | FreeTextBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | CreateCheckBox(tvPtr, hPtr) | ^ bltTreeViewStyle.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | ConfigureCheckBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | MeasureCheckBox(tvPtr, stylePtr, valuePtr) | ^ bltTreeViewStyle.c:1582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | DrawCheckBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ bltTreeViewStyle.c:1598:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^ bltTreeViewStyle.c:1598:22: warning: variable 'relief' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^ bltTreeViewStyle.c:1603:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 1603 | TextLayout *layPtr; | ^ bltTreeViewStyle.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | EditCheckBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ bltTreeViewStyle.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | FreeCheckBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:1980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | CreateComboBox(tvPtr, hPtr) | ^ bltTreeViewStyle.c:2012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2012 | ConfigureComboBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:2039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | MeasureComboBox(tvPtr, stylePtr, valuePtr) | ^ bltTreeViewStyle.c:2124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | DrawComboBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ bltTreeViewStyle.c:2290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | PickComboBox(entryPtr, valuePtr, stylePtr, worldX, worldY) | ^ bltTreeViewStyle.c:2330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | EditComboBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ bltTreeViewStyle.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | FreeComboBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:2386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2386 | CreateBarBox(tvPtr, hPtr) | ^ bltTreeViewStyle.c:2418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | ConfigureBarBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:2482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2482 | MeasureBarBox(tvPtr, stylePtr, valuePtr) | ^ bltTreeViewStyle.c:2607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | DrawBarBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ bltTreeViewStyle.c:2627:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 2627 | char *string; | ^ bltTreeViewStyle.c:2630:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 2630 | TextLayout *layPtr; | ^ bltTreeViewStyle.c:2872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2872 | EditBarBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ bltTreeViewStyle.c:2904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2904 | FreeBarBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | CreateWindowBox(tvPtr, hPtr) | ^ bltTreeViewStyle.c:2964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | ConfigureWindowBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:2992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2992 | MeasureWindowBox(tvPtr, stylePtr, valuePtr) | ^ bltTreeViewStyle.c:3252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3252 | EmbWinStructureProc(clientData, eventPtr) | ^ bltTreeViewStyle.c:3404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3404 | DrawWindowBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ bltTreeViewStyle.c:3415:15: warning: variable 'tkwin' set but not used [-Wunused-but-set-variable] 3415 | Tk_Window tkwin; | ^ bltTreeViewStyle.c:3462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3462 | EditWindowBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ bltTreeViewStyle.c:3493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3493 | FreeWindowBox(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | GetStyle(interp, tvPtr, styleName) | ^ bltTreeViewStyle.c:3534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3534 | Blt_TreeViewGetStyle(interp, tvPtr, styleName, stylePtrPtr) | ^ bltTreeViewStyle.c:3552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | Blt_TreeViewGetStyleMake(interp, tvPtr, styleName, stylePtrPtr, columnPtr, entryPtr, valuePtr) | ^ bltTreeViewStyle.c:3615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3615 | CreateStyle(interp, tvPtr, type, styleName, objc, objv, create) | ^ bltTreeViewStyle.c:3688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3688 | Blt_TreeViewUpdateStyleGCs(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:3699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3699 | Blt_TreeViewUpdateStyles(tvPtr) | ^ bltTreeViewStyle.c:3715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3715 | Blt_TreeViewCreateStyle(interp, tvPtr, type, styleName) | ^ bltTreeViewStyle.c:3728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3728 | Blt_TreeViewFreeStyle(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:3767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3767 | Blt_TreeViewSetStyleIcon(tvPtr, stylePtr, icon) | ^ bltTreeViewStyle.c:3781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3781 | Blt_TreeViewGetStyleGC(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:3790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3790 | Blt_TreeViewGetStyleBorder(tvPtr, stylePtr) | ^ bltTreeViewStyle.c:3806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | Blt_TreeViewGetStyleFont(tvPtr, columnPtr, stylePtr) | ^ bltTreeViewStyle.c:3823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3823 | Blt_TreeViewGetStyleFg(tvPtr, columnPtr, stylePtr) | ^ bltTreeViewStyle.c:3840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3840 | DrawValue(tvPtr, entryPtr, valuePtr) | ^ bltTreeViewStyle.c:3947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3947 | StyleActivateOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4021 | StyleCgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4049 | StyleCheckBoxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4081 | StyleComboBoxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4123 | StyleConfigureOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4179 | StyleForgetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | StyleUseOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4263 | StyleTypeOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4356 | StyleHighlightOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4405 | StyleNamesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4429 | StyleSlavesOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4550 | StyleSetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4642 | StyleFindOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4722 | StyleTextBoxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4753 | StyleWindowBoxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4783 | StyleBarBoxOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4820 | StyleGetOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:4947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4947 | StyleCreateOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:5021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5021 | Blt_TreeViewStyleOp(tvPtr, interp, objc, objv) | ^ bltTreeViewStyle.c:5035:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5035 | result = (*proc)(tvPtr, interp, objc, objv); | ^ 79 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltUnixDnd.c bltUnixDnd.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | StringToCursors(clientData, interp, tkwin, string, widgRec, offset) | ^ bltUnixDnd.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | CursorsToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ bltUnixDnd.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | PrintList(list) | ^ bltUnixDnd.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | XSendEventErrorProc(clientData, errEventPtr) | ^ bltUnixDnd.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | SendClientMsg(display, window, mesgAtom, data0, data1, data2, data3, data4) | ^ bltUnixDnd.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | GetWindowZOrder(display, window) | ^ bltUnixDnd.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | GetMaxPropertySize(display) | ^ bltUnixDnd.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | GetProperty(display, window, atom) | ^ bltUnixDnd.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | SetProperty(tkwin, atom, data) | ^ bltUnixDnd.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | GetWindowRegion(display, windowPtr) | ^ bltUnixDnd.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | FindTopWindow(dndPtr, x, y) | ^ bltUnixDnd.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | GetWidgetCursor(interp, tkwin) | ^ bltUnixDnd.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | NameOfStatus(status) | ^ bltUnixDnd.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | NameOfAction(action) | ^ bltUnixDnd.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | GetAction(string) | ^ bltUnixDnd.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | GetDragResult(interp, string) | ^ bltUnixDnd.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | AnimateActiveCursor(clientData) | ^ bltUnixDnd.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | StartActiveCursor(dndPtr) | ^ bltUnixDnd.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | StopActiveCursor(dndPtr) | ^ bltUnixDnd.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | EventuallyRedrawToken(dndPtr) | ^ bltUnixDnd.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | RaiseToken(dndPtr) | ^ bltUnixDnd.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | DisplayToken(clientData) | ^ bltUnixDnd.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | FadeToken(dndPtr) | ^ bltUnixDnd.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | SnapToken(dndPtr) | ^ bltUnixDnd.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | HideToken(dndPtr) | ^ bltUnixDnd.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | MorphToken(dndPtr) | ^ bltUnixDnd.c:1516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | GetTokenPosition(dndPtr, x, y) | ^ bltUnixDnd.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | MoveToken(dndPtr) | ^ bltUnixDnd.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | ChangeToken(dndPtr, status) | ^ bltUnixDnd.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | DrawRejectSymbol(dndPtr) | ^ bltUnixDnd.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | DestroyToken(data) | ^ bltUnixDnd.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | TokenEventProc(clientData, eventPtr) | ^ bltUnixDnd.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | CreateToken(interp, dndPtr) | ^ bltUnixDnd.c:1824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | ConfigureToken(interp, dndPtr, argc, argv, flags) | ^ bltUnixDnd.c:1838:3: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1838 | argv, (char *)tokenPtr, flags) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltUnixDnd.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | GetFormattedData(dndPtr, format, timestamp, resultPtr) | ^ bltUnixDnd.c:1950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1950 | DestroyDnd(data) | ^ bltUnixDnd.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | GetDnd(clientData, interp, pathName, dndPtrPtr) | ^ bltUnixDnd.c:2077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | CreateDnd(interp, tkwin) | ^ bltUnixDnd.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | ConfigureDnd(interp, dndPtr) | ^ bltUnixDnd.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | SendRestrictProc(clientData, eventPtr) | ^ bltUnixDnd.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | SendTimerProc(clientData) | ^ bltUnixDnd.c:2239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2239 | TargetPropertyEventProc(clientData, eventPtr) | ^ bltUnixDnd.c:2325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | CompleteDataTransaction(dndPtr, format, pendingPtr) | ^ bltUnixDnd.c:2430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | SourcePropertyEventProc(clientData, eventPtr) | ^ bltUnixDnd.c:2507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2507 | SendDataToTarget(dndPtr, pendingPtr) | ^ bltUnixDnd.c:2557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | DoDrop(dndPtr, eventPtr) | ^ bltUnixDnd.c:2603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | DropFinished(dndPtr, eventPtr) | ^ bltUnixDnd.c:2645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | FreeFormats(dndPtr) | ^ bltUnixDnd.c:2656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2656 | GetSourceFormats(dndPtr, window, timestamp) | ^ bltUnixDnd.c:2681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | InvokeCallback(dndPtr, cmd, x, y, formats, button, keyState, timestamp) | ^ bltUnixDnd.c:2781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2781 | AcceptDrop(dndPtr, x, y, formats, button, keyState, timestamp) | ^ bltUnixDnd.c:2901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | HandleDropEvent(dndPtr, eventPtr) | ^ bltUnixDnd.c:3005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3005 | HandleDragEvent(dndPtr, eventPtr) | ^ bltUnixDnd.c:3062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3062 | DndEventProc(clientData, eventPtr) | ^ bltUnixDnd.c:3132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3132 | SendPointerMessage(dndPtr, eventType, windowPtr, x, y) | ^ bltUnixDnd.c:3152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | RelayEnterEvent(dndPtr, windowPtr, x, y) | ^ bltUnixDnd.c:3163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3163 | RelayLeaveEvent(dndPtr, windowPtr, x, y) | ^ bltUnixDnd.c:3174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3174 | RelayMotionEvent(dndPtr, windowPtr, x, y) | ^ bltUnixDnd.c:3185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3185 | RelayDropEvent(dndPtr, windowPtr, x, y) | ^ bltUnixDnd.c:3201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3201 | FreeWinfo(windowPtr) | ^ bltUnixDnd.c:3236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | GetWinfo(display, windowPtr) | ^ bltUnixDnd.c:3304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3304 | InitRoot(dndPtr) | ^ bltUnixDnd.c:3319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | ParseProperty(interp, dndPtr, windowPtr, data) | ^ bltUnixDnd.c:3420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3420 | OverTarget(dndPtr) | ^ bltUnixDnd.c:3504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3504 | AddTargetProperty(dndPtr) | ^ bltUnixDnd.c:3546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3546 | CancelDrag(dndPtr) | ^ bltUnixDnd.c:3566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3566 | DragInit(dndPtr, x, y) | ^ bltUnixDnd.c:3700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3700 | CancelOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:3734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3734 | CgetOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:3781:6: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3781 | argv + 3, (char *)dndPtr, flags) != TCL_OK) { | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltUnixDnd.c:3760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3760 | ConfigureOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:3812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | DeleteOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:3855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3855 | SelectOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:3934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3934 | DragOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4043 | DropOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4120 | GetdataOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4200 | NamesOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4257 | PullOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4351 | SetdataOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4444:5: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4444 | argv + 3, (char *)dndPtr, 0) != TCL_OK) { | ^~~~~~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltUnixDnd.c:4417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | RegisterOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4461 | TokenWindowOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4500 | TokenCgetOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4528 | TokenConfigureOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4590:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4590 | result = (*proc) (clientData, interp, argc, argv); | ^ bltUnixDnd.c:4577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4577 | TokenOp(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4627 | DndCmd(clientData, interp, argc, argv) | ^ bltUnixDnd.c:4640:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4640 | result = (*proc) (clientData, interp, argc, argv); | ^ bltUnixDnd.c:4662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4662 | DndInterpDeleteProc(clientData, interp) | ^ bltUnixDnd.c:4683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4683 | GetDndInterpData(interp) | ^ bltUnixDnd.c:4737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4737 | Blt_DndInit(interp) | ^ bltUnixDnd.c:1463:1: warning: function 'MorphToken' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1463 | MorphToken(dndPtr) | ^~~~~~~~~~ 93 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltWindow.c bltWindow.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | Blt_GetParent(display, window) | ^ bltWindow.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | GetWindowId(tkwin) | ^ bltWindow.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | DoConfigureNotify(winPtr) | ^ bltWindow.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Blt_MakeTransparentWindowExist(tkwin, parent, isBusy) | ^ bltWindow.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Blt_FindChild(parent, name) | ^ bltWindow.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | Blt_FirstChild(parent) | ^ bltWindow.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | Blt_NextChild(tkwin) | ^ bltWindow.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | UnlinkWindow(winPtr) | ^ bltWindow.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | Blt_RelinkWindow(tkwin, newParent, x, y) | ^ bltWindow.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | Blt_RelinkWindow2(tkwin, window, newParent, x, y) | ^ bltWindow.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | Blt_UnlinkWindow(tkwin) | ^ bltWindow.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | Blt_Toplevel(tkwin) | ^ bltWindow.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | Blt_RootCoordinates(tkwin, x, y, rootXPtr, rootYPtr) | ^ bltWindow.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | Blt_RootX(tkwin) | ^ bltWindow.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | Blt_RootY(tkwin) | ^ bltWindow.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | Blt_GetRealWindowId(tkwin) | ^ bltWindow.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | Blt_RaiseToplevel(tkwin) | ^ bltWindow.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | Blt_LowerToplevel(tkwin) | ^ bltWindow.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | Blt_ResizeToplevel(tkwin, width, height) | ^ bltWindow.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | Blt_MoveResizeToplevel(tkwin, x, y, width, height) | ^ bltWindow.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | Blt_MoveToplevel(tkwin, x, y) | ^ bltWindow.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | Blt_MapToplevel(tkwin) | ^ bltWindow.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | Blt_UnmapToplevel(tkwin) | ^ bltWindow.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | XReparentWindowErrorProc(clientData, errEventPtr) | ^ bltWindow.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | Blt_ReparentWindow(display, window, newParent, x, y) | ^ bltWindow.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | Blt_SetWindowInstanceData(tkwin, instanceData) | ^ bltWindow.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | Blt_GetWindowInstanceData(tkwin) | ^ bltWindow.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | Blt_DeleteWindowInstanceData(tkwin) | ^ 28 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltObjConfig.c bltObjConfig.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | Blt_GetPositionFromObj(interp, objPtr, indexPtr) | ^ bltObjConfig.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | Blt_GetPositionSizeFromObj(interp, objPtr, size, indexPtr) | ^ bltObjConfig.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | Blt_GetPixelsFromObj(interp, tkwin, objPtr, check, valuePtr) | ^ bltObjConfig.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | Blt_GetPadFromObj(interp, tkwin, objPtr, padPtr) | ^ bltObjConfig.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Blt_GetShadowFromObj(interp, tkwin, objPtr, shadowPtr) | ^ bltObjConfig.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | Blt_GetStateFromObj(interp, objPtr, statePtr) | ^ bltObjConfig.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | Blt_NameOfState(state) | ^ bltObjConfig.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | Blt_GetFillFromObj(interp, objPtr, fillPtr) | ^ bltObjConfig.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | Blt_GetDashesFromObj(interp, objPtr, dashesPtr) | ^ bltObjConfig.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | Blt_NameOfSide(side) | ^ bltObjConfig.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | Blt_GetSideFromObj(interp, objPtr, sidePtr) | ^ bltObjConfig.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | Blt_NameOfArrow(side) | ^ bltObjConfig.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | Blt_GetArrowFromObj(interp, objPtr, sidePtr) | ^ bltObjConfig.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | Blt_ObjToEnum(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ bltObjConfig.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | Blt_EnumToObj(clientData, interp, tkwin, widgRec, offset) | ^ bltObjConfig.c:1341:10: warning: cast to smaller integer type 'unsigned int' from 'Blt_CustomOption *' (aka 'struct Blt_CustomOption *') [-Wpointer-to-int-cast] 1341 | flag = (unsigned int)specPtr->customPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltObjConfig.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | DoConfig(interp, tkwin, specPtr, objPtr, widgRec) | ^ bltObjConfig.c:1642:29: warning: cast to smaller integer type 'unsigned int' from 'Blt_CustomOption *' (aka 'struct Blt_CustomOption *') [-Wpointer-to-int-cast] 1642 | flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bltObjConfig.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | FormatConfigValue(interp, tkwin, specPtr, widgRec) | ^ bltObjConfig.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | FormatConfigInfo(interp, tkwin, specPtr, widgRec) | ^ bltObjConfig.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | FindConfigSpec(interp, specs, objPtr, needFlags, hateFlags) | ^ bltObjConfig.c:1947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | Blt_ConfigureWidgetFromObj(interp, tkwin, specs, objc, objv, widgRec, flags, subwin) | ^ bltObjConfig.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | Blt_ConfigureInfoFromObj(interp, tkwin, specs, widgRec, objPtr, flags) | ^ bltObjConfig.c:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2224 | Blt_FormatSpecOptions(interp, specs) | ^ bltObjConfig.c:2258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2258 | Blt_ConfigureValueFromObj(interp, tkwin, specs, widgRec, objPtr, flags) | ^ bltObjConfig.c:2307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2307 | Blt_FreeObjOptions(interp, specs, widgRec, display, needFlags) | ^ bltObjConfig.c:2497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2497 | Blt_ConfigureComponentFromObj(interp, parent, name, className, specsPtr, | ^ bltObjConfig.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | Blt_ObjIsOption(interp, specs, objPtr, flags) | ^ bltObjConfig.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | DeleteSpecCacheTable(clientData, interp) | ^ bltObjConfig.c:2617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2617 | Blt_GetCachedBltSpecs(interp, staticSpecs) | ^ bltObjConfig.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | GetCachedBltSpecs(interp, staticSpecs) | ^ 31 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltWinop.c bltWinop.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | GetRealizedWindow(interp, string, tkwinPtr) | ^ bltWinop.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | StringToWindow(interp, string) | ^ bltWinop.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | XGeometryErrorProc(clientData, errEventPtr) | ^ bltWinop.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | GetWindowSize(interp, window, widthPtr, heightPtr) | ^ bltWinop.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | ColormapOp(clientData, interp, argc, argv) | ^ bltWinop.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | LowerOp(clientData, interp, argc, argv) | ^ bltWinop.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | RaiseOp(clientData, interp, argc, argv) | ^ bltWinop.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | MapOp(clientData, interp, argc, argv) | ^ bltWinop.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | MoveOp(clientData, interp, argc, argv) | ^ bltWinop.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | UnmapOp(clientData, interp, argc, argv) | ^ bltWinop.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | ChangesOp(clientData, interp, argc, argv) | ^ bltWinop.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | ParentOp(clientData, interp, argc, argv) | ^ bltWinop.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | QueryOp(clientData, interp, argc, argv) | ^ bltWinop.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | WarpToOp(clientData, interp, argc, argv) | ^ bltWinop.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | ConvolveOp(clientData, interp, argc, argv) | ^ bltWinop.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | QuantizeOp(clientData, interp, argc, argv) | ^ bltWinop.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | AlphaOp(clientData, interp, argc, argv) | ^ bltWinop.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | RecolorOp(clientData, interp, argc, argv) | ^ bltWinop.c:984:23: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 984 | cnt = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltWinop.c:986:17: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 986 | Blt_SetHashValue(hPtr, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltHash.h:191:55: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~~~~~~~~~~~~~~~ bltWinop.c:998:19: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 998 | cnt = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bltWinop.c:916:9: warning: variable 'top' set but not used [-Wunused-but-set-variable] 916 | int top, x, y, isalph, iscnt, isNew, cnt; | ^ bltWinop.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | ColorsOp(clientData, interp, argc, argv) | ^ bltWinop.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | TransOp(clientData, interp, argc, argv) | ^ bltWinop.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | MergeOp(clientData, interp, argc, argv) | ^ bltWinop.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | ReadJPEGOp(clientData, interp, argc, argv) | ^ bltWinop.c:1527:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1527 | int x, y, width; | ^ bltWinop.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | GradientsOp(clientData, interp, argc, argv) | ^ bltWinop.c:1577:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1577 | int x, y, width; | ^ bltWinop.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | GradientOp(clientData, interp, argc, argv) | ^ bltWinop.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | ResampleOp(clientData, interp, argc, argv) | ^ bltWinop.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | BlurOp(clientData, interp, argc, argv) | ^ bltWinop.c:2115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | RotateOp(clientData, interp, argc, argv) | ^ bltWinop.c:2349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2349 | MirrorOp(clientData, interp, argc, argv) | ^ bltWinop.c:2423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | SnapOp(clientData, interp, argc, argv) | ^ bltWinop.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | SubsampleOp(clientData, interp, argc, argv) | ^ bltWinop.c:2574:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2574 | result = (*proc) (clientData, interp, argc - 1, argv + 1); | ^ bltWinop.c:2560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2560 | ImageOp(clientData, interp, argc, argv) | ^ bltWinop.c:2604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2604 | WinopCmd(clientData, interp, argc, argv) | ^ bltWinop.c:2618:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | result = (*proc) (clientData, interp, argc, argv); | ^ bltWinop.c:2623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | Blt_WinopInit(interp) | ^ 41 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include tkButton.c tkButton.c:355:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] 355 | char c; | ^ tkButton.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | EventuallyRedraw(butPtr) | ^ tkButton.c:901:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] 901 | int result, i; | ^ tkButton.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | ButtonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | CheckbuttonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | LabelCmd(clientData, interp, argc, argv) | ^ tkButton.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | BFrameCmd(clientData, interp, argc, argv) | ^ tkButton.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | FrameCmd(clientData, interp, argc, argv) | ^ tkButton.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | MenubuttonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | RadiobuttonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | BButtonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | BCheckbuttonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | BLabelCmd(clientData, interp, argc, argv) | ^ tkButton.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | BMenubuttonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | BRadiobuttonCmd(clientData, interp, argc, argv) | ^ tkButton.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | ButtonCreate(clientData, interp, argc, argv, type) | ^ tkButton.c:1340:12: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1340 | return value; | ^~~~~ tkButton.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | ButtonWidgetCmd(clientData, interp, argc, argv) | ^ tkButton.c:1538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | DestroyButton(butPtr) | ^ tkButton.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | TileChangedProc(clientData, tile) | ^ tkButton.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | ConfigureButton(interp, butPtr, argc, argv, flags) | ^ tkButton.c:1723:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1723 | argc, argv, (char *)butPtr, flags) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ tkButton.c:1706:9: warning: variable 'oldNode' set but not used [-Wunused-but-set-variable] 1706 | int oldNode, result = TCL_OK; | ^ tkButton.c:2206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | DisplayButton(clientData) | ^ tkButton.c:2222:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 2222 | int borderWidth, drawBorder; | ^ tkButton.c:2857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2857 | ComputeButtonGeometry(butPtr) | ^ tkButton.c:3155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3155 | ButtonEventProc(clientData, eventPtr) | ^ tkButton.c:3227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3227 | ButtonCmdDeletedProc(clientData) | ^ tkButton.c:3270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3270 | InvokeButton(butPtr) | ^ tkButton.c:3389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3389 | ButtonVarProc(clientData, interp, name1, name2, flags) | ^ tkButton.c:3531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3531 | ButtonTextVarProc(clientData, interp, name1, name2, flags) | ^ tkButton.c:3599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3599 | ButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ tkButton.c:3622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3622 | ButtonImageBdProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ tkButton.c:3666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | ButtonSelectImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ tkButton.c:3693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3693 | Blt_ButtonInit(interp) | ^ 35 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include tkFrame.c tkFrame.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | FrameCmd(clientData, interp, argc, argv) | ^ tkFrame.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | ToplevelCmd(clientData, interp, argc, argv) | ^ tkFrame.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | BltCreateFrame(clientData, interp, argc, argv, toplevel, appName) | ^ tkFrame.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | FrameWidgetCmd(clientData, interp, argc, argv) | ^ tkFrame.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | DestroyFrame(memPtr) | ^ tkFrame.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | TileChangedProc(clientData, tile) | ^ tkFrame.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | ConfigureFrame(interp, framePtr, argc, argv, flags) | ^ tkFrame.c:737:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 737 | argc, argv, (char *)framePtr, flags | framePtr->mask) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ tkFrame.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | DisplayFrame(clientData) | ^ tkFrame.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | FrameEventProc(clientData, eventPtr) | ^ tkFrame.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | FrameCmdDeletedProc(clientData) | ^ tkFrame.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | MapFrame(clientData) | ^ tkFrame.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | Blt_FrameInit(interp) | ^ 13 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltScrollbar.c bltScrollbar.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | scrollbarCmd(clientData, interp, argc, argv, stype) | ^ bltScrollbar.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | BScrollbarCmd(clientData, interp, argc, argv) | ^ bltScrollbar.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | ScrollbarCmd(clientData, interp, argc, argv) | ^ bltScrollbar.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | ScrollbarWidgetCmd(clientData, interp, argc, argv) | ^ bltScrollbar.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | DestroyScrollbar(memPtr) | ^ bltScrollbar.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | TileChangedProc(clientData, tile) | ^ bltScrollbar.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | ConfigureScrollbar(interp, scrollPtr, argc, argv, flags) | ^ bltScrollbar.c:917:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 917 | argc, argv, (char *)scrollPtr, flags) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltScrollbar.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | DisplayScrollbar(clientData) | ^ bltScrollbar.c:1020:12: warning: unused variable 'points' [-Wunused-variable] 1020 | XPoint points[7]; | ^~~~~~ bltScrollbar.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | ScrollbarEventProc(clientData, eventPtr) | ^ bltScrollbar.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | ScrollbarCmdDeletedProc(clientData) | ^ bltScrollbar.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | ComputeScrollbarGeometry(scrollPtr) | ^ bltScrollbar.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | ScrollbarPosition(scrollPtr, x, y) | ^ bltScrollbar.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | EventuallyRedraw(scrollPtr) | ^ bltScrollbar.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | Blt_ScrollbarInit(interp) | ^ 16 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include bltTed.c bltTed.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | EventuallyRedraw(tedPtr) | ^ bltTed.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | EventuallyRedrawEntry(repPtr) | ^ bltTed.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | EntryEventProc(clientData, eventPtr) | ^ bltTed.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | TedEventProc(clientData, eventPtr) | ^ bltTed.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | CreateGrid(tedPtr) | ^ bltTed.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | CreateEventWindow(tedPtr) | ^ bltTed.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | CreateEntry(tedPtr, entryPtr) | ^ bltTed.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | DestroyEntry(data) | ^ bltTed.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | DisplayEntry(clientData) | ^ bltTed.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | FindEditor(clientData, interp, pathName) | ^ bltTed.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | CreateTed(tablePtr, interp) | ^ bltTed.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | DestroyTed(freeProcData) | ^ bltTed.c:830:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 830 | argc, argv, (char *)tedPtr, flags) != TCL_OK) { | ^~~~ ./bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ./bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ bltTed.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | ConfigureTed(tedPtr, argc, argv, flags) | ^ bltTed.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | LayoutGrid(tedPtr) | ^ bltTed.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | LayoutPads(tedPtr) | ^ bltTed.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | LayoutEntries(tedPtr) | ^ bltTed.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | LayoutControlEntries(tedPtr) | ^ bltTed.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | LayoutButtons(tedPtr) | ^ bltTed.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | DisplayTed(clientData) | ^ bltTed.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | DrawEditor(editPtr) | ^ bltTed.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | DestroyEditor(destroyData) | ^ bltTed.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | EditOp(dataPtr, interp, argc, argv) | ^ bltTed.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | CgetOp(dataPtr, interp, argc, argv) | ^ bltTed.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | ConfigureOp(dataPtr, interp, argc, argv) | ^ bltTed.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | SelectOp(dataPtr, interp, argc, argv) | ^ bltTed.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | RepOp(dataPtr, interp, argc, argv) | ^ bltTed.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | TedCmd(clientData, interp, argc, argv) | ^ bltTed.c:1820:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | result = (*proc) (clientData, interp, argc, argv); | ^ bltTed.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | GetTableInterpData(interp) | ^ bltTed.c:1854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | Blt_TedInit(interp) | ^ bltTed.c:552:1: warning: unused function 'CreateEntry' [-Wunused-function] 552 | CreateEntry(tedPtr, entryPtr) | ^~~~~~~~~~~ 32 warnings generated. cc -c -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./bltInit.c ./bltInit.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | MinMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./bltInit.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | MaxMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./bltInit.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SetLibraryPath(interp) | ^ ./bltInit.c:514:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 514 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:573:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 573 | (ClientData)(flags | BLT_TCL_CMDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:609:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 609 | (ClientData)(flags | BLT_TK_CMDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./bltInit.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | Blt_Init(interp) | ^ ./bltInit.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Blt_SafeInit(interp) | ^ ./bltInit.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | Blt_InitCmd(interp, nsName, specPtr) | ^ ./bltInit.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Blt_InitObjCmd(interp, nsName, specPtr) | ^ ./bltInit.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | Blt_InitCmds(interp, nsName, specPtr, nCmds) | ^ 11 warnings generated. rm -f libBLT.a ar rc libBLT.a bltGrAxis.o bltGrBar.o bltGrElem.o bltGrGrid.o bltGrHairs.o bltGrLegd.o bltGrLine.o bltGrMarker.o bltGrMisc.o bltGrPen.o bltGrPs.o bltGraph.o bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltStubLib.o bltStubInit.o bltWatch.o bltBeep.o bltBind.o bltBitmap.o bltBusy.o bltCanvEps.o bltColor.o bltConfig.o bltContainer.o bltCutbuffer.o bltDragdrop.o bltHierbox.o bltHtext.o bltImage.o bltUnixImage.o bltPs.o bltTable.o bltTabnotebook.o bltTabset.o bltText.o bltTile.o bltTreeView.o bltTreeViewCmd.o bltTreeViewEdit.o bltTreeViewColumn.o bltTreeViewStyle.o bltUnixDnd.o bltWindow.o bltObjConfig.o bltWinop.o tkButton.o tkFrame.o bltScrollbar.o bltTed.o bltInit.o ranlib libBLT.a rm -f bltwish cc -Wall -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I. -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -o bltwish \ -DTCLLIBPATH=\"/usr/local/lib/tcl8.6\" \ ./bltUnixMain.c libBLT.a -L/usr/local/lib -ltk86 -ltcl86 -lX11 -L/usr/local/lib -ljpeg -lm ./bltUnixMain.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | main(argc, argv) | ^ ./bltUnixMain.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Tcl_AppInit(interp) | ^ 2 warnings generated. (cd shared; /usr/local/bin/gmake CFLAGS="-O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing " all) gmake[2]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic/shared' cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrAxis.c ../bltGrAxis.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | InRange(x, rangePtr) | ^ ../bltGrAxis.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | AxisIsHorizontal(graphPtr, axisPtr) | ^ ../bltGrAxis.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | StringToAnyAxis(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrAxis.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | StringToAxis(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrAxis.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | AxisToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrAxis.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | StringToFormat(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrAxis.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | FormatToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrAxis.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | StringToLimit(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrAxis.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | LimitToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrAxis.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | StringToTicks(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrAxis.c:672:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 672 | unsigned int mask = (unsigned int)clientData; | ^~~~~~~~~~~~~~~~~~~~~~~~ ../bltGrAxis.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | TicksToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrAxis.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | StringToLoose(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrAxis.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | LooseToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrAxis.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | FreeLabels(chainPtr) | ^ ../bltGrAxis.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | MakeLabel(graphPtr, axisPtr, value) | ^ ../bltGrAxis.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | Blt_InvHMap(graphPtr, axisPtr, x) | ^ ../bltGrAxis.c:997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | Blt_InvVMap(graphPtr, axisPtr, y) | ^ ../bltGrAxis.c:1030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1030 | Blt_HMap(graphPtr, axisPtr, x) | ^ ../bltGrAxis.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | Blt_VMap(graphPtr, axisPtr, y) | ^ ../bltGrAxis.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | Blt_Map2D(graphPtr, x, y, axesPtr) | ^ ../bltGrAxis.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | Blt_InvMap2D(graphPtr, x, y, axesPtr) | ^ ../bltGrAxis.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | GetDataLimits(axisPtr, min, max) | ^ ../bltGrAxis.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | FixAxisRange(axisPtr) | ^ ../bltGrAxis.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | NiceNum(x, doround) | ^ ../bltGrAxis.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | GenerateTicks(sweepPtr) | ^ ../bltGrAxis.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | LogScaleAxis(axisPtr, min, max) | ^ ../bltGrAxis.c:1429:9: warning: variable 'tickMin' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1429 | if (min < max) { | ^~~~~~~~~ ../bltGrAxis.c:1479:41: note: uninitialized use occurs here 1479 | axisPtr->majorSweep.initial = floor(tickMin); | ^~~~~~~ ../bltGrAxis.c:1429:5: note: remove the 'if' if its condition is always true 1429 | if (min < max) { | ^~~~~~~~~~~~~~ ../bltGrAxis.c:1423:19: note: initialize the variable 'tickMin' to silence this warning 1423 | double tickMin, tickMax; | ^ | = 0.0 ../bltGrAxis.c:1429:9: warning: variable 'tickMax' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1429 | if (min < max) { | ^~~~~~~~~ ../bltGrAxis.c:1483:48: note: uninitialized use occurs here 1483 | SetAxisRange(&axisPtr->axisRange, tickMin, tickMax); | ^~~~~~~ ../bltGrAxis.c:1429:5: note: remove the 'if' if its condition is always true 1429 | if (min < max) { | ^~~~~~~~~~~~~~ ../bltGrAxis.c:1423:28: note: initialize the variable 'tickMax' to silence this warning 1423 | double tickMin, tickMax; | ^ | = 0.0 ../bltGrAxis.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | LinearScaleAxis(axisPtr, min, max) | ^ ../bltGrAxis.c:1559:9: warning: variable 'step' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1559 | if (min < max) { | ^~~~~~~~~ ../bltGrAxis.c:1582:32: note: uninitialized use occurs here 1582 | axisPtr->majorSweep.step = step; | ^~~~ ../bltGrAxis.c:1559:5: note: remove the 'if' if its condition is always true 1559 | if (min < max) { | ^~~~~~~~~~~~~~ ../bltGrAxis.c:1552:23: note: initialize the variable 'step' to silence this warning 1552 | double range, step; | ^ | = 0.0 ../bltGrAxis.c:1625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1625 | SweepTicks(axisPtr) | ^ ../bltGrAxis.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | Blt_ResetAxes(graphPtr) | ^ ../bltGrAxis.c:1758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1758 | ResetTextStyles(graphPtr, axisPtr) | ^ ../bltGrAxis.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | DestroyAxis(graphPtr, axisPtr) | ^ ../bltGrAxis.c:1863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1863 | AxisOffsets(graphPtr, axisPtr, margin, axisOffset, infoPtr) | ^ ../bltGrAxis.c:2022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | MakeAxisLine(graphPtr, axisPtr, line, segPtr) | ^ ../bltGrAxis.c:2049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2049 | MakeTick(graphPtr, axisPtr, value, tick, line, segPtr) | ^ ../bltGrAxis.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | MapAxis(graphPtr, axisPtr, offset, margin) | ^ ../bltGrAxis.c:2223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | AdjustViewport(offset, windowSize) | ^ ../bltGrAxis.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | GetAxisScrollInfo(interp, argc, argv, offsetPtr, windowSize, scrollUnits) | ^ ../bltGrAxis.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | DrawAxis(graphPtr, drawable, axisPtr) | ^ ../bltGrAxis.c:2454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | AxisToPostScript(psToken, axisPtr) | ^ ../bltGrAxis.c:2483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2483 | MakeGridLine(graphPtr, axisPtr, value, segPtr) | ^ ../bltGrAxis.c:2519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2519 | Blt_GetAxisSegments(graphPtr, axisPtr, segPtrPtr, nSegmentsPtr) | ^ ../bltGrAxis.c:2601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | GetAxisGeometry(graphPtr, axisPtr) | ^ ../bltGrAxis.c:2732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2732 | GetMarginGeometry(graphPtr, marginPtr) | ^ ../bltGrAxis.c:2794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2794 | ComputeMargins(graphPtr) | ^ ../bltGrAxis.c:3018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3018 | Blt_LayoutMargins(graphPtr) | ^ ../bltGrAxis.c:3091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3091 | ConfigureAxis(graphPtr, axisPtr) | ^ ../bltGrAxis.c:3166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3166 | CreateAxis(graphPtr, name, margin) | ^ ../bltGrAxis.c:3225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3225 | NameToAxis(graphPtr, name, axisPtrPtr) | ^ ../bltGrAxis.c:3249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3249 | GetAxis(graphPtr, axisName, classUid, axisPtrPtr) | ^ ../bltGrAxis.c:3277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3277 | FreeAxis(graphPtr, axisPtr) | ^ ../bltGrAxis.c:3289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3289 | Blt_DestroyAxes(graphPtr) | ^ ../bltGrAxis.c:3311:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3311 | int Blt_ConfigureAxes(graphPtr) | ^ ../bltGrAxis.c:3327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3327 | Blt_DefaultAxes(graphPtr) | ^ ../bltGrAxis.c:3380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3380 | BindOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3407 | CgetOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | ConfigureOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | GetOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3529 | LimitsOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3570 | InvTransformOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | TransformOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3674:14: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 3674 | margin = (int)argv[-1]; | ^~~~~~~~~~~~~ ../bltGrAxis.c:3659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3659 | UseOp(graphPtr, axisPtr, argc, argv) | ^ ../bltGrAxis.c:3750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3750 | CreateVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3788 | BindVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3827 | CgetVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3858 | ConfigureVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3914 | DeleteVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3950 | InvTransformVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:3979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3979 | LimitsVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:4008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4008 | NamesVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:4055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4055 | TransformVirtualOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:4069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4069 | ViewOp(graphPtr, argc, argv) | ^ ../bltGrAxis.c:4153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4153 | Blt_VirtualAxisOp(graphPtr, interp, argc, argv) | ^ ../bltGrAxis.c:4186:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | result = (*proc) (graphPtr, argc, argv); | ^ ../bltGrAxis.c:4191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4191 | Blt_AxisOp(graphPtr, margin, argc, argv) | ^ ../bltGrAxis.c:4218:13: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 4218 | argv[2] = (char *)margin; /* Hack. Slide a reference to the margin in | ^~~~~~~~~~~~~~ ../bltGrAxis.c:4221:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4221 | result = (*proc)(graphPtr, NULL, argc - 3, argv +3); | ^ ../bltGrAxis.c:4228:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4228 | result = (*proc)(graphPtr, axisPtr, argc - 3, argv + 3); | ^ ../bltGrAxis.c:4234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4234 | Blt_MapAxes(graphPtr) | ^ ../bltGrAxis.c:4262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4262 | Blt_DrawAxes(graphPtr, drawable) | ^ ../bltGrAxis.c:4282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4282 | Blt_AxesToPostScript(graphPtr, psToken) | ^ ../bltGrAxis.c:4321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4321 | Blt_DrawAxisLimits(graphPtr, drawable) | ^ ../bltGrAxis.c:4398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4398 | Blt_AxisLimitsToPostScript(graphPtr, psToken) | ^ ../bltGrAxis.c:4470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4470 | Blt_GetFirstAxis(chainPtr) | ^ ../bltGrAxis.c:4483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4483 | Blt_NearestAxis(graphPtr, x, y) | ^ ../bltGrAxis.c:4558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4558 | Blt_MakeAxisTag(graphPtr, tagName) | ^ 90 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrBar.c ../bltGrBar.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | Round(x) | ^ ../bltGrBar.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | NameOfBarMode(mode) | ^ ../bltGrBar.c:535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | StringToBarMode(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrBar.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | BarModeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrBar.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | ClearPalette(palette) | ^ ../bltGrBar.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | ConfigurePen(graphPtr, penPtr) | ^ ../bltGrBar.c:671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 671 | DestroyPen(graphPtr, penPtr) | ^ ../bltGrBar.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | InitPen(penPtr) | ^ ../bltGrBar.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | Blt_BarPen(penName) | ^ ../bltGrBar.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | CheckStacks(graphPtr, pairPtr, minPtr, maxPtr) | ^ ../bltGrBar.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | ConfigureBar(graphPtr, elemPtr) | ^ ../bltGrBar.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | GetBarExtents(elemPtr, extsPtr) | ^ ../bltGrBar.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | ClosestBar(graphPtr, elemPtr, searchPtr) | ^ ../bltGrBar.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | MergePens(barPtr, dataToStyle) | ^ ../bltGrBar.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | MapActiveBars(barPtr) | ^ ../bltGrBar.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | ResetBar(barPtr) | ^ ../bltGrBar.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | MapBar(graphPtr, elemPtr) | ^ ../bltGrBar.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | DrawSymbol(graphPtr, drawable, elemPtr, x, y, size) | ^ ../bltGrBar.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | DrawNormalBar(graphPtr, drawable, elemPtr) | ^ ../bltGrBar.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | DrawActiveBar(graphPtr, drawable, elemPtr) | ^ ../bltGrBar.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | SymbolToPostScript(graphPtr, psToken, elemPtr, x, y, size) | ^ ../bltGrBar.c:1787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | SegmentsToPostScript(graphPtr, psToken, penPtr, rectPtr, nRects) | ^ ../bltGrBar.c:1909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1909 | ActiveBarToPostScript(graphPtr, psToken, elemPtr) | ^ ../bltGrBar.c:1958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | NormalBarToPostScript(graphPtr, psToken, elemPtr) | ^ ../bltGrBar.c:2027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2027 | DestroyBar(graphPtr, elemPtr) | ^ ../bltGrBar.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | Blt_BarElement(graphPtr, name, type) | ^ ../bltGrBar.c:2142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | Blt_InitFreqTable(graphPtr) | ^ ../bltGrBar.c:2200:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2200 | count = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltGrBar.c:2206:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 2206 | Blt_SetHashValue(hPtr, (ClientData)count); | ^~~~~~~~~~~~~~~~~ ../bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltGrBar.c:2222:14: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2222 | count = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltGrBar.c:2227:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2227 | count = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltGrBar.c:2262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2262 | Blt_ComputeStacks(graphPtr) | ^ ../bltGrBar.c:2312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | Blt_ResetStacks(graphPtr) | ^ 33 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrElem.c ../bltGrElem.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | GetPenStyle(graphPtr, string, type, stylePtr) | ^ ../bltGrElem.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | SyncElemVector(vPtr) | ^ ../bltGrElem.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | FindRange(vPtr) | ^ ../bltGrElem.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | Blt_FindElemVectorMinimum(vPtr, minLimit) | ^ ../bltGrElem.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | FreeDataVector(vPtr) | ^ ../bltGrElem.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | VectorChangedProc(interp, clientData, notify) | ^ ../bltGrElem.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | EvalExprList(interp, list, nElemPtr, arrayPtr) | ^ ../bltGrElem.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | StringToData(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrElem.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | DataToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrElem.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | StringToDataPairs(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrElem.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | DataPairsToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrElem.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | StringToAlong(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrElem.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | AlongToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrElem.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | Blt_FreePalette(graphPtr, palette) | ^ ../bltGrElem.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | Blt_StringToStyles(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrElem.c:744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 744 | Blt_StylesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrElem.c:803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | Blt_StyleMap(elemPtr) | ^ ../bltGrElem.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | Blt_MapErrorBars(graphPtr, elemPtr, dataToStyle) | ^ ../bltGrElem.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | GetIndex(interp, elemPtr, string, indexPtr) | ^ ../bltGrElem.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | NameToElement(graphPtr, name, elemPtrPtr) | ^ ../bltGrElem.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | DestroyElement(graphPtr, elemPtr) | ^ ../bltGrElem.c:1166:26: warning: passing arguments to 'Blt_BarElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | elemPtr = Blt_BarElement(graphPtr, argv[3], classUid); | ^ ../bltGrElem.c:1169:27: warning: passing arguments to 'Blt_LineElement' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | elemPtr = Blt_LineElement(graphPtr, argv[3], classUid); | ^ ../bltGrElem.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | CreateElement(graphPtr, interp, argc, argv, classUid) | ^ ../bltGrElem.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | RebuildDisplayList(graphPtr, newList) | ^ ../bltGrElem.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | Blt_DestroyElements(graphPtr) | ^ ../bltGrElem.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | Blt_MapElements(graphPtr) | ^ ../bltGrElem.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | Blt_DrawElements(graphPtr, drawable) | ^ ../bltGrElem.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | Blt_DrawActiveElements(graphPtr, drawable) | ^ ../bltGrElem.c:1383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1383 | Blt_ElementsToPostScript(graphPtr, psToken) | ^ ../bltGrElem.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | Blt_ActiveElementsToPostScript(graphPtr, psToken) | ^ ../bltGrElem.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | Blt_GraphUpdateNeeded(graphPtr) | ^ ../bltGrElem.c:1464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1464 | ActivateOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | Blt_MakeElementTag(graphPtr, tagName) | ^ ../bltGrElem.c:1542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1542 | BindOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1578 | CreateOp(graphPtr, interp, argc, argv, type) | ^ ../bltGrElem.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1657 | ClosestOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1892 | DeactivateOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | DeleteOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:1970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1970 | ExistsOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:2000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2000 | GetOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | NamesOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:2079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2079 | ShowOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:2118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2118 | TypeOp(graphPtr, interp, argc, argv) | ^ ../bltGrElem.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | Blt_ElementOp(graphPtr, interp, argc, argv, type) | ^ ../bltGrElem.c:2192:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | result = (*proc) (graphPtr, interp, argc, argv); | ^ 48 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrGrid.c ../bltGrGrid.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | ConfigureGrid(graphPtr, gridPtr) | ^ ../bltGrGrid.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | Blt_MapGrid(graphPtr) | ^ ../bltGrGrid.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | Blt_DrawGrid(graphPtr, drawable) | ^ ../bltGrGrid.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | Blt_GridToPostScript(graphPtr, psToken) | ^ ../bltGrGrid.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | Blt_DestroyGrid(graphPtr) | ^ ../bltGrGrid.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | Blt_CreateGrid(graphPtr) | ^ ../bltGrGrid.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGrGrid.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGrGrid.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | MapOp(graphPtr, interp, argc, argv) | ^ ../bltGrGrid.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | UnmapOp(graphPtr, interp, argc, argv) | ^ ../bltGrGrid.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | ToggleOp(graphPtr, interp, argc, argv) | ^ ../bltGrGrid.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | Blt_GridOp(graphPtr, interp, argc, argv) | ^ ../bltGrGrid.c:519:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | return (*proc) (graphPtr, interp, argc, argv); | ^ 13 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrHairs.c ../bltGrHairs.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | TurnOffHairs(tkwin, chPtr) | ^ ../bltGrHairs.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | TurnOnHairs(graphPtr, chPtr) | ^ ../bltGrHairs.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | Blt_ConfigureCrosshairs(graphPtr) | ^ ../bltGrHairs.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | Blt_EnableCrosshairs(graphPtr) | ^ ../bltGrHairs.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | Blt_DisableCrosshairs(graphPtr) | ^ ../bltGrHairs.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | Blt_UpdateCrosshairs(graphPtr) | ^ ../bltGrHairs.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | Blt_DestroyCrosshairs(graphPtr) | ^ ../bltGrHairs.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | Blt_CreateCrosshairs(graphPtr) | ^ ../bltGrHairs.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGrHairs.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGrHairs.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | OnOp(graphPtr, interp, argc, argv) | ^ ../bltGrHairs.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | OffOp(graphPtr, interp, argc, argv) | ^ ../bltGrHairs.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | ToggleOp(graphPtr, interp, argc, argv) | ^ ../bltGrHairs.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | Blt_CrosshairsOp(graphPtr, interp, argc, argv) | ^ ../bltGrHairs.c:543:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | return (*proc) (graphPtr, interp, argc, argv); | ^ 15 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrLegd.c ../bltGrLegd.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | EventuallyRedrawLegend(legendPtr) | ^ ../bltGrLegd.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | LegendEventProc(clientData, eventPtr) | ^ ../bltGrLegd.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | CreateLegendWindow(interp, legendPtr, pathName) | ^ ../bltGrLegd.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | StringToPosition(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrLegd.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | PositionToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrLegd.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | SetLegendOrigin(legendPtr) | ^ ../bltGrLegd.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | PickLegendEntry(clientData, x, y, contextPtr) | ^ ../bltGrLegd.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | Blt_MapLegend(legendPtr, plotWidth, plotHeight) | ^ ../bltGrLegd.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | Blt_DrawLegend(legendPtr, drawable) | ^ ../bltGrLegd.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | Blt_LegendToPostScript(legendPtr, psToken) | ^ ../bltGrLegd.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | DisplayLegend(clientData) | ^ ../bltGrLegd.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | ConfigureLegend(graphPtr, legendPtr) | ^ ../bltGrLegd.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | Blt_DestroyLegend(graphPtr) | ^ ../bltGrLegd.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | Blt_CreateLegend(graphPtr) | ^ ../bltGrLegd.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | GetOp(graphPtr, interp, argc, argv) | ^ ../bltGrLegd.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | ActivateOp(graphPtr, interp, argc, argv) | ^ ../bltGrLegd.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | BindOp(graphPtr, interp, argc, argv) | ^ ../bltGrLegd.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGrLegd.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGrLegd.c:1443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1443 | Blt_LegendOp(graphPtr, interp, argc, argv) | ^ ../bltGrLegd.c:1456:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | result = (*proc) (graphPtr, interp, argc, argv); | ^ ../bltGrLegd.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | Blt_LegendSite(legendPtr) | ^ ../bltGrLegd.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | Blt_LegendWidth(legendPtr) | ^ ../bltGrLegd.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | Blt_LegendHeight(legendPtr) | ^ ../bltGrLegd.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | Blt_LegendIsHidden(legendPtr) | ^ ../bltGrLegd.c:1489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1489 | Blt_LegendIsRaised(legendPtr) | ^ ../bltGrLegd.c:1496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | Blt_LegendX(legendPtr) | ^ ../bltGrLegd.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | Blt_LegendY(legendPtr) | ^ ../bltGrLegd.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | Blt_LegendRemoveElement(legendPtr, elemPtr) | ^ 29 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrLine.c ../bltGrLine.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | Round(x) | ^ ../bltGrLine.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | StringToBitmap(interp, tkwin, symbolPtr, string) | ^ ../bltGrLine.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | PatternToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrLine.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | StringToPattern(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrLine.c:1052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1052 | NameOfSymbol(symbolPtr) | ^ ../bltGrLine.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | StringToSymbol(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrLine.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | SymbolToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrLine.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | NameOfSmooth(value) | ^ ../bltGrLine.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | StringToSmooth(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrLine.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | SmoothToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrLine.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | StringToPenDir(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrLine.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | NameOfPenDir(penDir) | ^ ../bltGrLine.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | PenDirToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrLine.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | ClearPalette(palette) | ^ ../bltGrLine.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | ConfigurePen(graphPtr, penPtr) | ^ ../bltGrLine.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | DestroyPen(graphPtr, penPtr) | ^ ../bltGrLine.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | InitPen(penPtr) | ^ ../bltGrLine.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | Blt_LinePen(penName) | ^ ../bltGrLine.c:1660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1660 | ScaleSymbol(elemPtr, normalSize) | ^ ../bltGrLine.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | GetScreenPoints(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:1782:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1782 | ReducePoints(mapPtr, tolerance) | ^ ../bltGrLine.c:1831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | GenerateSteps(mapPtr) | ^ ../bltGrLine.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | GenerateSpline(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:2020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2020 | GenerateParametricSpline(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:2151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2151 | MapSymbols(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | MapActiveSymbols(graphPtr, linePtr) | ^ ../bltGrLine.c:2268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2268 | MapStrip(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:2326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2326 | MergePens(linePtr, dataToStyle) | ^ ../bltGrLine.c:2471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2471 | OutCode(extsPtr, p) | ^ ../bltGrLine.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | ClipSegment(extsPtr, code1, code2, p, q) | ^ ../bltGrLine.c:2554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2554 | SaveTrace(linePtr, start, length, mapPtr) | ^ ../bltGrLine.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | FreeTraces(linePtr) | ^ ../bltGrLine.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | MapTraces(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:2725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2725 | MapFillArea(graphPtr, linePtr, mapPtr) | ^ ../bltGrLine.c:2779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | ResetLine(linePtr) | ^ ../bltGrLine.c:2839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2839 | MapLine(graphPtr, elemPtr) | ^ ../bltGrLine.c:2936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2936 | DistanceToLine(x, y, p, q, t) | ^ ../bltGrLine.c:2968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2968 | DistanceToX(x, y, p, q, t) | ^ ../bltGrLine.c:3014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | DistanceToY(x, y, p, q, t) | ^ ../bltGrLine.c:3075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3075 | ClosestTrace(graphPtr, linePtr, searchPtr, distProc) | ^ ../bltGrLine.c:3131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | ClosestStrip(graphPtr, linePtr, searchPtr, distProc) | ^ ../bltGrLine.c:3180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3180 | ClosestPoint(linePtr, searchPtr) | ^ ../bltGrLine.c:3240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3240 | GetLineExtents(elemPtr, extsPtr) | ^ ../bltGrLine.c:3369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3369 | TileChangedProc(clientData, tile) | ^ ../bltGrLine.c:3404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3404 | ConfigureLine(graphPtr, elemPtr) | ^ ../bltGrLine.c:3487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3487 | ClosestLine(graphPtr, elemPtr, searchPtr) | ^ ../bltGrLine.c:3595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3595 | DrawCircles(display, drawable, linePtr, penPtr, nSymbolPts, symbolPts, radius) | ^ ../bltGrLine.c:3660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3660 | DrawSquares(display, drawable, linePtr, penPtr, nSymbolPts, symbolPts, r) | ^ ../bltGrLine.c:3737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3737 | DrawSymbols(graphPtr, drawable, linePtr, penPtr, size, nSymbolPts, symbolPts) | ^ ../bltGrLine.c:4175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4175 | DrawSymbol(graphPtr, drawable, elemPtr, x, y, size) | ^ ../bltGrLine.c:4307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4307 | DrawTraces(graphPtr, drawable, linePtr, penPtr) | ^ ../bltGrLine.c:4381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4381 | DrawValues(graphPtr, drawable, linePtr, penPtr, nSymbolPts, symbolPts, | ^ ../bltGrLine.c:4442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4442 | DrawActiveLine(graphPtr, drawable, elemPtr) | ^ ../bltGrLine.c:4516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4516 | DrawNormalLine(graphPtr, drawable, elemPtr) | ^ ../bltGrLine.c:4627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4627 | GetSymbolPostScriptInfo(graphPtr, psToken, penPtr, size) | ^ ../bltGrLine.c:4732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4732 | SymbolsToPostScript(graphPtr, psToken, penPtr, size, nSymbolPts, symbolPts) | ^ ../bltGrLine.c:4792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4792 | SymbolToPostScript(graphPtr, psToken, elemPtr, x, y, size) | ^ ../bltGrLine.c:4822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4822 | SetLineAttributes(psToken, penPtr) | ^ ../bltGrLine.c:4844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4844 | TracesToPostScript(psToken, linePtr, penPtr) | ^ ../bltGrLine.c:4891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4891 | ValuesToPostScript(psToken, linePtr, penPtr, nSymbolPts, symbolPts, | ^ ../bltGrLine.c:4949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4949 | ActiveLineToPostScript(graphPtr, psToken, elemPtr) | ^ ../bltGrLine.c:5013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5013 | NormalLineToPostScript(graphPtr, psToken, elemPtr) | ^ ../bltGrLine.c:5127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5127 | DestroyLine(graphPtr, elemPtr) | ^ ../bltGrLine.c:5209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5209 | Blt_LineElement(graphPtr, name, classUid) | ^ 64 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrMarker.c ../bltGrMarker.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | BoxesDontOverlap(graphPtr, extsPtr) | ^ ../bltGrMarker.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | GetCoordinate(interp, expr, valuePtr) | ^ ../bltGrMarker.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | PrintCoordinate(interp, x) | ^ ../bltGrMarker.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | ParseCoordinates(interp, markerPtr, nExprs, exprArr) | ^ ../bltGrMarker.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | StringToCoordinates(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrMarker.c:1324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | CoordinatesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrMarker.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | HMap(graphPtr, axisPtr, x) | ^ ../bltGrMarker.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | VMap(graphPtr, axisPtr, y) | ^ ../bltGrMarker.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | MapPoint(graphPtr, pointPtr, axesPtr) | ^ ../bltGrMarker.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | CreateMarker(graphPtr, name, classUid) | ^ ../bltGrMarker.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | DestroyMarker(markerPtr) | ^ ../bltGrMarker.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | ConfigureBitmapMarker(markerPtr) | ^ ../bltGrMarker.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | MapBitmapMarker(markerPtr) | ^ ../bltGrMarker.c:1824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | PointInBitmapMarker(markerPtr, samplePtr) | ^ ../bltGrMarker.c:1862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1862 | RegionInBitmapMarker(markerPtr, extsPtr, enclosed) | ^ ../bltGrMarker.c:1918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1918 | DrawBitmapMarker(markerPtr, drawable) | ^ ../bltGrMarker.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | BitmapMarkerToPostScript(markerPtr, psToken) | ^ ../bltGrMarker.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | FreeBitmapMarker(graphPtr, markerPtr) | ^ ../bltGrMarker.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ ../bltGrMarker.c:2125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2125 | ConfigureImageMarker(markerPtr) | ^ ../bltGrMarker.c:2197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2197 | MapImageMarker(markerPtr) | ^ ../bltGrMarker.c:2350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2350 | PointInImageMarker(markerPtr, samplePtr) | ^ ../bltGrMarker.c:2370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2370 | RegionInImageMarker(markerPtr, extsPtr, enclosed) | ^ ../bltGrMarker.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | DrawImageMarker(markerPtr, drawable) | ^ ../bltGrMarker.c:2455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2455 | ImageMarkerToPostScript(markerPtr, psToken) | ^ ../bltGrMarker.c:2495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2495 | FreeImageMarker(graphPtr, markerPtr) | ^ ../bltGrMarker.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2566 | ConfigureTextMarker(markerPtr) | ^ ../bltGrMarker.c:2644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2644 | MapTextMarker(markerPtr) | ^ ../bltGrMarker.c:2674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | PointInTextMarker(markerPtr, samplePtr) | ^ ../bltGrMarker.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | RegionInTextMarker(markerPtr, extsPtr, enclosed) | ^ ../bltGrMarker.c:2765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2765 | DrawTextMarker(markerPtr, drawable) | ^ ../bltGrMarker.c:2815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2815 | TextMarkerToPostScript(markerPtr, psToken) | ^ ../bltGrMarker.c:2862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2862 | FreeTextMarker(graphPtr, markerPtr) | ^ ../bltGrMarker.c:2943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2943 | ConfigureWindowMarker(markerPtr) | ^ ../bltGrMarker.c:2999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2999 | MapWindowMarker(markerPtr) | ^ ../bltGrMarker.c:3046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | PointInWindowMarker(markerPtr, samplePtr) | ^ ../bltGrMarker.c:3066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3066 | RegionInWindowMarker(markerPtr, extsPtr, enclosed) | ^ ../bltGrMarker.c:3097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3097 | DrawWindowMarker(markerPtr, drawable) | ^ ../bltGrMarker.c:3126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3126 | WindowMarkerToPostScript(markerPtr, psToken) | ^ ../bltGrMarker.c:3159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3159 | FreeWindowMarker(graphPtr, markerPtr) | ^ ../bltGrMarker.c:3220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3220 | ChildEventProc(clientData, eventPtr) | ^ ../bltGrMarker.c:3250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3250 | ChildGeometryProc(clientData, tkwin) | ^ ../bltGrMarker.c:3284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3284 | ChildCustodyProc(clientData, tkwin) | ^ ../bltGrMarker.c:3315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3315 | MapLineMarker(markerPtr) | ^ ../bltGrMarker.c:3366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3366 | PointInLineMarker(markerPtr, samplePtr) | ^ ../bltGrMarker.c:3384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3384 | RegionInLineMarker(markerPtr, extsPtr, enclosed) | ^ ../bltGrMarker.c:3435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | DrawLineMarker(markerPtr, drawable) | ^ ../bltGrMarker.c:3474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3474 | ConfigureLineMarker(markerPtr) | ^ ../bltGrMarker.c:3562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3562 | LineMarkerToPostScript(markerPtr, psToken) | ^ ../bltGrMarker.c:3607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3607 | FreeLineMarker(graphPtr, markerPtr) | ^ ../bltGrMarker.c:3667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3667 | MapPolygonMarker(markerPtr) | ^ ../bltGrMarker.c:3763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3763 | PointInPolygonMarker(markerPtr, samplePtr) | ^ ../bltGrMarker.c:3784:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3784 | RegionInPolygonMarker(markerPtr, extsPtr, enclosed) | ^ ../bltGrMarker.c:3799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3799 | DrawPolygonMarker(markerPtr, drawable) | ^ ../bltGrMarker.c:3837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3837 | PolygonMarkerToPostScript(markerPtr, psToken) | ^ ../bltGrMarker.c:3930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3930 | ConfigurePolygonMarker(markerPtr) | ^ ../bltGrMarker.c:4040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4040 | FreePolygonMarker(graphPtr, markerPtr) | ^ ../bltGrMarker.c:4098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4098 | NameToMarker(graphPtr, name, markerPtrPtr) | ^ ../bltGrMarker.c:4117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4117 | RenameMarker(graphPtr, markerPtr, oldName, newName) | ^ ../bltGrMarker.c:4158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4158 | NamesOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4187 | Blt_MakeMarkerTag(graphPtr, tagName) | ^ ../bltGrMarker.c:4210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | BindOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4241 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4273 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4356 | CreateOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4461 | DeleteOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4502 | GetOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4548 | RelinkOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4602 | FindOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4691 | ExistsOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4720 | TypeOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4776 | Blt_MarkerOp(graphPtr, interp, argc, argv) | ^ ../bltGrMarker.c:4789:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4789 | result = (*proc) (graphPtr, interp, argc, argv); | ^ ../bltGrMarker.c:4801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4801 | Blt_MarkersToPostScript(graphPtr, psToken, under) | ^ ../bltGrMarker.c:4875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4875 | Blt_DrawMarkers(graphPtr, drawable, under) | ^ ../bltGrMarker.c:4914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4914 | Blt_MapMarkers(graphPtr) | ^ ../bltGrMarker.c:4935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4935 | Blt_DestroyMarkers(graphPtr) | ^ ../bltGrMarker.c:4958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4958 | Blt_NearestMarker(graphPtr, x, y, under) | ^ 78 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrMisc.c ../bltGrMisc.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | Blt_GetXY(interp, tkwin, string, xPtr, yPtr) | ^ ../bltGrMisc.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | StringToPoint(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrMisc.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | PointToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrMisc.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | GetColorPair(interp, tkwin, fgStr, bgStr, pairPtr, allowDefault) | ^ ../bltGrMisc.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | Blt_FreeColorPair(pairPtr) | ^ ../bltGrMisc.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | StringToColorPair(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrMisc.c:263:24: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 263 | int allowDefault = (int)clientData; | ^~~~~~~~~~~~~~~ ../bltGrMisc.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | NameOfColor(colorPtr) | ^ ../bltGrMisc.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | ColorPairToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrMisc.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | Blt_PointInSegments(samplePtr, segments, nSegments, halo) | ^ ../bltGrMisc.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | Blt_PointInPolygon(samplePtr, points, nPoints) | ^ ../bltGrMisc.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | Blt_RegionInPolygon(extsPtr, points, nPoints, enclosed) | ^ ../bltGrMisc.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | Blt_GraphExtents(graphPtr, extsPtr) | ^ ../bltGrMisc.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | Blt_LineRectClip(extsPtr, p, q) | ^ ../bltGrMisc.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | Blt_PolyRectClip(extsPtr, points, nPoints, clipPts) | ^ ../bltGrMisc.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | Blt_GetProjection(x, y, p, q) | ^ ../bltGrMisc.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | Blt_XColorToHSV(colorPtr, hsvPtr) | ^ ../bltGrMisc.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | Blt_HSVToXColor(hsvPtr, colorPtr) | ^ ../bltGrMisc.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | Blt_AdjustViewport(offset, worldSize, windowSize, scrollUnits, scrollMode) | ^ ../bltGrMisc.c:982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 982 | Blt_GetScrollInfo(interp, argc, argv, offsetPtr, worldSize, windowSize, | ^ ../bltGrMisc.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | Blt_GetScrollInfoFromObj(interp, objc, objv, offsetPtr, worldSize, windowSize, | ^ ../bltGrMisc.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | Blt_UpdateScrollbar(interp, scrollCmd, firstFract, lastFract) | ^ ../bltGrMisc.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | Blt_GetPrivateGCFromDrawable(display, drawable, gcMask, valuePtr) | ^ ../bltGrMisc.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | Blt_GetPrivateGC(tkwin, gcMask, valuePtr) | ^ ../bltGrMisc.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | Blt_FreePrivateGC(display, gc) | ^ ../bltGrMisc.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | Blt_SetDashes(display, gc, dashesPtr) | ^ ../bltGrMisc.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | FindSplit(points, i, j, split) | ^ ../bltGrMisc.c:1306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1306 | Blt_SimplifyLine(inputPts, low, high, tolerance, indices) | ^ ../bltGrMisc.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | Blt_Draw2DSegments(display, drawable, gc, segPtr, nSegments) | ^ ../bltGrMisc.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | Blt_DrawArrow(display, drawable, gc, x, y, arrowHeight, orientation) | ^ ../bltGrMisc.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | Blt_Fill3DRectangle(tkwin, drawable, border, x, y, width, | ^ ../bltGrMisc.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | Blt_Draw3DRectangle(tkwin, drawable, border, x, y, width, | ^ 32 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrPen.c ../bltGrPen.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | StringToColor(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrPen.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | NameOfColor(colorPtr) | ^ ../bltGrPen.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | ColorToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrPen.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | StringToPen(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrPen.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | PenToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrPen.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | NameToPen(graphPtr, name) | ^ ../bltGrPen.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | DestroyPen(graphPtr, penPtr) | ^ ../bltGrPen.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | Blt_FreePen(graphPtr, penPtr) | ^ ../bltGrPen.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Blt_CreatePen(graphPtr, penName, classUid, nOpts, options) | ^ ../bltGrPen.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | Blt_GetPen(graphPtr, name, classUid, penPtrPtr) | ^ ../bltGrPen.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | Blt_DestroyPens(graphPtr) | ^ ../bltGrPen.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | CgetOp(interp, graphPtr, argc, argv) | ^ ../bltGrPen.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | ConfigureOp(interp, graphPtr, argc, argv) | ^ ../bltGrPen.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | CreateOp(interp, graphPtr, argc, argv) | ^ ../bltGrPen.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | DeleteOp(interp, graphPtr, argc, argv) | ^ ../bltGrPen.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | NamesOp(interp, graphPtr, argc, argv) | ^ ../bltGrPen.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | TypeOp(interp, graphPtr, argc, argv) | ^ ../bltGrPen.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | Blt_PenOp(graphPtr, interp, argc, argv) | ^ ../bltGrPen.c:705:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 705 | return (*proc) (interp, graphPtr, argc, argv); | ^ 19 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGrPs.c ../bltGrPs.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | StringToColorMode(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrPs.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | NameOfColorMode(colorMode) | ^ ../bltGrPs.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | ColorModeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrPs.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | StringToFormat(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltGrPs.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | FormatToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltGrPs.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | Blt_DestroyPostScript(graphPtr) | ^ ../bltGrPs.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGrPs.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGrPs.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | ComputeBoundingBox(graphPtr, psPtr) | ^ ../bltGrPs.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | PreviewImage(graphPtr, psToken) | ^ ../bltGrPs.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | PostScriptPreamble(graphPtr, fileName, psToken) | ^ ../bltGrPs.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | MarginsToPostScript(graphPtr, psToken) | ^ ../bltGrPs.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | GraphToPostScript(graphPtr, ident, psToken) | ^ ../bltGrPs.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | OutputOp(graphPtr, interp, argc, argv) | ^ ../bltGrPs.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | Blt_CreatePostScript(graphPtr) | ^ ../bltGrPs.c:1256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1256 | Blt_PostScriptOp(graphPtr, interp, argc, argv) | ^ ../bltGrPs.c:1269:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | result = (*proc) (graphPtr, interp, argc, argv); | ^ 17 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltGraph.c ../bltGraph.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | Blt_EventuallyRedrawGraph(graphPtr) | ^ ../bltGraph.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | GraphEventProc(clientData, eventPtr) | ^ ../bltGraph.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | GraphInstCmdDeleteProc(clientData) | ^ ../bltGraph.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | TileChangedProc(clientData, tile) | ^ ../bltGraph.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | AdjustAxisPointers(graphPtr) | ^ ../bltGraph.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | InitPens(graphPtr) | ^ ../bltGraph.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | Blt_GraphTags(table, object, context, list) | ^ ../bltGraph.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | PickEntry(clientData, x, y, contextPtr) | ^ ../bltGraph.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | ConfigureGraph(graphPtr) | ^ ../bltGraph.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | DestroyGraph(dataPtr) | ^ ../bltGraph.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | CreateGraph(interp, argc, argv, classUid) | ^ ../bltGraph.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | XAxisOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | X2AxisOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | YAxisOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | Y2AxisOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | BarOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | LineOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1071 | ElementOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | ConfigureOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1108 | CgetOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | ExtentsOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | InsideOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | InvtransformOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | TransformOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1564 | StringToFormat(clientData, interp, switchName, string, record, offset) | ^ ../bltGraph.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | SnapOp(graphPtr, interp, argc, argv) | ^ ../bltGraph.c:1889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1889 | Blt_GraphInstCmdProc(clientData, interp, argc, argv) | ^ ../bltGraph.c:1904:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1904 | result = (*proc) (graphPtr, interp, argc, argv); | ^ ../bltGraph.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | NewGraph(interp, argc, argv, classUid) | ^ ../bltGraph.c:1965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1965 | GraphCmd(clientData, interp, argc, argv) | ^ ../bltGraph.c:1992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1992 | BarchartCmd(clientData, interp, argc, argv) | ^ ../bltGraph.c:2019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2019 | StripchartCmd(clientData, interp, argc, argv) | ^ ../bltGraph.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | DrawMargins(graphPtr, drawable) | ^ ../bltGraph.c:2145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2145 | DrawPlotRegion(graphPtr, drawable) | ^ ../bltGraph.c:2169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2169 | Blt_LayoutGraph(graphPtr) | ^ ../bltGraph.c:2192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2192 | Blt_DrawGraph(graphPtr, drawable, backingStore) | ^ ../bltGraph.c:2269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2269 | UpdateMarginTraces(graphPtr) | ^ ../bltGraph.c:2313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2313 | DisplayGraph(clientData) | ^ ../bltGraph.c:2408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2408 | Blt_GraphInit(interp) | ^ ../bltGraph.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | Blt_GetGraphFromWindowData(tkwin) | ^ ../bltGraph.c:2452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | Blt_GraphType(graphPtr) | ^ 41 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltAlloc.c ../bltAlloc.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Blt_Calloc(nElems, sizeOfElem) | ^ ../bltAlloc.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | Blt_Strdup(string) | ^ 2 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltArrayObj.c ../bltArrayObj.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | SetArrayFromAny(interp, objPtr) | ^ ../bltArrayObj.c:88:16: warning: assigning to 'Tcl_ObjType *' (aka 'struct Tcl_ObjType *') from 'const Tcl_ObjType *' (aka 'const struct Tcl_ObjType *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 88 | oldTypePtr = objPtr->typePtr; | ^ ~~~~~~~~~~~~~~~ ../bltArrayObj.c:72:54: warning: variable 'string' is uninitialized when used here [-Wuninitialized] 72 | Tcl_AppendResult(interp, "odd length: ", string, 0); | ^~~~~~ ../bltArrayObj.c:59:17: note: initialize the variable 'string' to silence this warning 59 | char *string; | ^ | = NULL ../bltArrayObj.c:154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 154 | DupArrayInternalRep(srcPtr, destPtr) | ^ ../bltArrayObj.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | UpdateStringOfArray(objPtr) | ^ ../bltArrayObj.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | FreeArrayInternalRep(objPtr) | ^ ../bltArrayObj.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | Blt_GetArrayFromObj(interp, objPtr, tablePtrPtr) | ^ ../bltArrayObj.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | Blt_NewArrayObj(objc, objv) | ^ ../bltArrayObj.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | Blt_IsArrayObj(objPtr) | ^ ../bltArrayObj.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | Blt_RegisterArrayObj(interp) | ^ 10 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBgexec.c ../bltBgexec.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | StringToSignal(clientData, interp, switchName, string, record, offset) | ^ ../bltBgexec.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | GetSinkData(sinkPtr, dataPtr, lengthPtr) | ^ ../bltBgexec.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | NextBlock(sinkPtr, lengthPtr) | ^ ../bltBgexec.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | NextLine(sinkPtr, lengthPtr) | ^ ../bltBgexec.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | ResetSink(sinkPtr) | ^ ../bltBgexec.c:669:21: warning: cast to smaller integer type 'Tcl_File' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 669 | sinkPtr->file = (Tcl_File)NULL; | ^~~~~~~~~~~~~~ ../bltBgexec.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | InitSink(bgPtr, sinkPtr, name, encoding) | ^ ../bltBgexec.c:727:21: warning: cast to smaller integer type 'Tcl_File' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 727 | sinkPtr->file = (Tcl_File)NULL; | ^~~~~~~~~~~~~~ ../bltBgexec.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | FreeSinkBuffer(sinkPtr) | ^ ../bltBgexec.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | ExtendSinkBuffer(sinkPtr) | ^ ../bltBgexec.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | ReadBytes(bgPtr, sinkPtr) | ^ ../bltBgexec.c:884:18: warning: cast to smaller integer type 'Tcl_File' (aka 'int') from 'void *' [-Wvoid-pointer-to-int-cast] 884 | sinkPtr->file = (Tcl_File)NULL; | ^~~~~~~~~~~~~~ ../bltBgexec.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | CloseSink(bgPtr, interp, sinkPtr) | ^ ../bltBgexec.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | SinkCallback(interp, sinkPtr, status) | ^ ../bltBgexec.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | CookSink(interp, sinkPtr) | ^ ../bltBgexec.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | NotifyOnUpdate(bgPtr, interp, sinkPtr, data, nBytes) | ^ ../bltBgexec.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | CollectData(bgPtr, sinkPtr) | ^ ../bltBgexec.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | CreateSinkHandler(bgPtr, sinkPtr, proc) | ^ ../bltBgexec.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | DisableTriggers(bgPtr) | ^ ../bltBgexec.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | FreeBackgroundInfo(bgPtr) | ^ ../bltBgexec.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | DestroyBackgroundInfo(bgPtr) | ^ ../bltBgexec.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | TimerProc(clientData) | ^ ../bltBgexec.c:1775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | StdoutProc(clientData, mask) | ^ ../bltBgexec.c:1823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1823 | StderrProc(clientData, mask) | ^ ../bltBgexec.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | AddTimerHandler( bgPtr, interval ) | ^ ../bltBgexec.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | InterpDeleted(clientData, interp) | ^ ../bltBgexec.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | BgexecCmd(clientData, interp, argc, argv) | ^ ../bltBgexec.c:2143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | KillCmd(clientData, interp, argc, argv) | ^ ../bltBgexec.c:2244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2244 | Blt_BgexecInit(interp) | ^ 29 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltChain.c ../bltChain.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | Blt_ChainAllocLink(extraSize) | ^ ../bltChain.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | Blt_ChainReset(chainPtr) | ^ ../bltChain.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | Blt_ChainDestroy(chainPtr) | ^ ../bltChain.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | Blt_ChainInit(chainPtr) | ^ ../bltChain.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | Blt_ChainLinkAfter(chainPtr, linkPtr, afterPtr) | ^ ../bltChain.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | Blt_ChainLinkBefore(chainPtr, linkPtr, beforePtr) | ^ ../bltChain.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | Blt_ChainUnlinkLink(chainPtr, linkPtr) | ^ ../bltChain.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | Blt_ChainDeleteLink(chainPtr, linkPtr) | ^ ../bltChain.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | Blt_ChainAppend(chainPtr, clientData) | ^ ../bltChain.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Blt_ChainPrepend(chainPtr, clientData) | ^ ../bltChain.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | Blt_ChainGetNthLink(chainPtr, position) | ^ ../bltChain.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | Blt_ChainSort(chainPtr, proc) | ^ 12 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltDebug.c ../bltDebug.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | GetWatch(name) | ^ ../bltDebug.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | DeleteWatch(watchName) | ^ ../bltDebug.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | DebugProc(clientData, interp, level, command, proc, cmdClientData, | ^ ../bltDebug.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | DebugCmd(clientData, interp, argc, argv) | ^ ../bltDebug.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | Blt_DebugInit(interp) | ^ 5 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltHash.c cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltList.c ../bltList.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | FindString(listPtr, key) | ^ ../bltList.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | FindOneWord(listPtr, key) | ^ ../bltList.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | FindArray(listPtr, key) | ^ ../bltList.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | FreeNode(nodePtr) | ^ ../bltList.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | Blt_ListCreate(type) | ^ ../bltList.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | Blt_ListCreateNode(listPtr, key) | ^ ../bltList.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | Blt_ListReset(listPtr) | ^ ../bltList.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | Blt_ListDestroy(listPtr) | ^ ../bltList.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Blt_ListInit(listPtr, type) | ^ ../bltList.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Blt_ListLinkAfter(listPtr, nodePtr, afterPtr) | ^ ../bltList.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | Blt_ListLinkBefore(listPtr, nodePtr, beforePtr) | ^ ../bltList.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Blt_ListUnlinkNode(nodePtr) | ^ ../bltList.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | Blt_ListGetNode(listPtr, key) | ^ ../bltList.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | Blt_ListDeleteNode(nodePtr) | ^ ../bltList.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | Blt_ListDeleteNodeByKey(listPtr, key) | ^ ../bltList.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | Blt_ListAppend(listPtr, key, clientData) | ^ ../bltList.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | Blt_ListPrepend(listPtr, key, clientData) | ^ ../bltList.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | Blt_ListGetNthNode(listPtr, position, direction) | ^ ../bltList.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | Blt_ListSort(listPtr, proc) | ^ 19 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltNsUtil.c In file included from ../bltNsUtil.c:30: In file included from /usr/local/include/tcl8.6/generic/tclInt.h:4501: In file included from /usr/local/include/tcl8.6/generic/tclTomMathDecls.h:20: /usr/local/include/tcl8.6/generic/tclTomMath.h:269:9: warning: 'SIGN' macro redefined [-Wmacro-redefined] 269 | #define SIGN(m) ((m)->sign) | ^ ../bltMath.h:139:9: note: previous definition is here 139 | #define SIGN(x) (((x) < 0.0) ? -1 : 1) | ^ ../bltNsUtil.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | Blt_GetVariableNamespace(interp, name) | ^ ../bltNsUtil.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Blt_GetCommandNamespace(interp, cmdToken) | ^ ../bltNsUtil.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | Blt_EnterNamespace(interp, nsPtr) | ^ ../bltNsUtil.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | Blt_LeaveNamespace(interp, framePtr) | ^ ../bltNsUtil.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | Blt_ParseQualifiedName(interp, qualName, nsPtrPtr, namePtrPtr) | ^ ../bltNsUtil.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | Blt_GetQualifiedName(nsPtr, name, resultPtr) | ^ ../bltNsUtil.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | NamespaceDeleteCmd(clientData, interp, argc, argv) | ^ ../bltNsUtil.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | NamespaceDeleteNotify(clientData) | ^ ../bltNsUtil.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | Blt_DestroyNsDeleteNotify(interp, nsPtr, clientData) | ^ ../bltNsUtil.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Blt_CreateNsDeleteNotify(interp, nsPtr, clientData, deleteProc) | ^ ../bltNsUtil.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | Blt_CreateCommand(interp, cmdName, proc, clientData, deleteProc) | ^ ../bltNsUtil.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | Blt_CreateCommandObj(interp, cmdName, proc, clientData, deleteProc) | ^ 13 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltParse.c ../bltParse.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | Blt_ParseNestedCmd(interp, string, flags, termPtr, parsePtr) | ^ ../bltParse.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | Blt_ParseBraces(interp, string, termPtr, parsePtr) | ^ ../bltParse.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | Blt_ExpandParseValue(parsePtr, needed) | ^ ../bltParse.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | Blt_ParseQuotes(interp, string, termChar, flags, termPtr, parsePtr) | ^ 4 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltPool.c ../bltPool.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | VariablePoolAllocItem(poolPtr, size) | ^ ../bltPool.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | VariablePoolFreeItem(poolPtr, item) | ^ ../bltPool.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | StringPoolAllocItem(poolPtr, size) | ^ ../bltPool.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | StringPoolFreeItem(poolPtr, item) | ^ ../bltPool.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | FixedPoolAllocItem(poolPtr, size) | ^ ../bltPool.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | FixedPoolFreeItem(poolPtr, item) | ^ ../bltPool.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | Blt_PoolCreate(type) | ^ ../bltPool.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | Blt_PoolDestroy(poolPtr) | ^ 8 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltSpline.c ../bltSpline.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | Search(points, nPoints, key, foundPtr) | ^ ../bltSpline.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | QuadChoose(p, q, m1, m2, epsilon) | ^ ../bltSpline.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | QuadCases(p, q, m1, m2, param, which) | ^ ../bltSpline.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | QuadSelect(p, q, m1, m2, epsilon, param) | ^ ../bltSpline.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | QuadGetImage(p1, p2, p3, x1, x2, x3) | ^ ../bltSpline.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | QuadSpline(intp, left, right, param, ncase) | ^ ../bltSpline.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | QuadSlopes(points, m, nPoints) | ^ ../bltSpline.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | QuadEval(origPts, nOrigPts, intpPts, nIntpPts, m, epsilon) | ^ ../bltSpline.c:753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | Blt_QuadraticSpline(origPts, nOrigPts, intpPts, nIntpPts) | ^ ../bltSpline.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | Blt_NaturalSpline(origPts, nOrigPts, intpPts, nIntpPts) | ^ ../bltSpline.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | SplineCmd(clientData, interp, argc, argv) | ^ ../bltSpline.c:973:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | if (!(*proc) (origPts, nOrigPts, intpPts, nIntpPts)) { | ^ ../bltSpline.c:998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 998 | Blt_SplineInit(interp) | ^ ../bltSpline.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | SolveCubic1(A, n) | ^ ../bltSpline.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | SolveCubic2(A, spline, nIntervals) | ^ ../bltSpline.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | CubicSlopes(points, nPoints, isClosed, unitX, unitY) | ^ ../bltSpline.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | CubicEval(origPts, nOrigPts, intpPts, nIntpPts, spline) | ^ ../bltSpline.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | Blt_NaturalParametricSpline(origPts, nOrigPts, extsPtr, isClosed, | ^ ../bltSpline.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | CatromCoeffs(p, a, b, c, d) | ^ ../bltSpline.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | Blt_CatromParametricSpline(points, nPoints, intpPts, nIntpPts) | ^ 20 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltSwitch.c ../bltSwitch.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | FindSwitchSpec(interp, specs, name, needFlags, hateFlags, flags) | ^ ../bltSwitch.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | DoSwitch(interp, specPtr, string, record, obj) | ^ ../bltSwitch.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | Blt_ProcessSwitches(interp, specs, argc, argv, record, flags) | ^ ../bltSwitch.c:325:61: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare] 325 | if ((arg[0] != '-') || ((arg[1] == '-') && (argv[2] == '\0'))) { | ^~~~ | (void *)0 ../bltSwitch.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | Blt_ProcessObjSwitches(interp, specs, objc, objv, record, flags) | ^ ../bltSwitch.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | Blt_FreeSwitches(interp, specs, record, needFlags) | ^ ../bltSwitch.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | DeleteSpecCacheTable(clientData, interp) | ^ ../bltSwitch.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | Blt_GetCachedSwitchSpecs(interp, staticSpecs) | ^ ../bltSwitch.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | GetCachedSwitchSpecs(interp, staticSpecs) | ^ 9 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTree.c ../bltTree.c:50:18: warning: assigning to 'Tcl_ObjType *' (aka 'struct Tcl_ObjType *') from 'const Tcl_ObjType *' (aka 'const struct Tcl_ObjType *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 50 | dictType = obj->typePtr; | ^ ~~~~~~~~~~~~ ../bltTree.c:425:54: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 425 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)nodePtr->inode); | ^~~~~~~~~~~~~~~~~~~~~~ ../bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ ../bltTree.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | Blt_TreeGetKey(string) | ^ ../bltTree.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | Blt_TreeKeyGet(interp, treeObjPtr, string) | ^ ../bltTree.c:935:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 935 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, | ^~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTree.c:1031:55: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 1031 | hPtr = Blt_CreateHashEntry(&treeObjPtr->nodeTable,(char *)inode, &isNew); | ^~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTree.c:1167:54: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 1167 | hPtr = Blt_FindHashEntry(&treeObjPtr->nodeTable, (char *)inode); | ^~~~~~~~~~~~~ ../bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ ../bltTree.c:1235:17: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 1235 | int result, inode; | ^ ../bltTree.c:1662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1662 | Blt_TreeValueExistsByKey(clientPtr, nodePtr, key) | ^ ../bltTree.c:2264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2264 | Blt_TreeApplyBFS(nodePtr, proc, clientData) | ^ ../bltTree.c:2522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | Blt_TreeExists(interp, name) | ^ 11 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeCmd.c ../bltTreeCmd.c:1199:17: warning: variable 'node' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 1199 | } else if (cmdPtr != NULL) { | ^~~~~~~~~~~~~~ ../bltTreeCmd.c:1264:9: note: uninitialized use occurs here 1264 | if (node != NULL) { | ^~~~ ../bltTreeCmd.c:1199:13: note: remove the 'if' if its condition is always true 1199 | } else if (cmdPtr != NULL) { | ^~~~~~~~~~~~~~~~~~~ ../bltTreeCmd.c:1168:22: note: initialize the variable 'node' to silence this warning 1168 | Blt_TreeNode node; | ^ | = NULL ../bltTreeCmd.c:1644:48: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1644 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^~~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTreeCmd.c:1654:46: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1654 | hPtr = Blt_FindHashEntry(&dataPtr->idTable, (char *)parentId); | ^~~~~~~~~~~~~~~~ ../bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ ../bltTreeCmd.c:1691:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1691 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^~~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTreeCmd.c:1701:49: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1701 | hPtr = Blt_CreateHashEntry(&dataPtr->idTable, (char *)nodeId, | ^~~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltTreeCmd.c:2081:9: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2081 | int inode; | ^ ../bltTreeCmd.c:2111:26: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 2111 | int result = TCL_OK, inode; | ^ ../bltTreeCmd.c:2202:9: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2202 | type = (int)Blt_ListGetValue(node); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeCmd.c:3554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3554 | DegreeOp(cmdPtr, interp, objc, objv) | ^ ../bltTreeCmd.c:3664:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 3664 | Blt_ChainAppend(chainPtr, (ClientData)Blt_TreeNodeId(node)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeCmd.c:3674:11: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 3674 | inode = (int)Blt_ChainGetValue(linkPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeCmd.c:4559:20: warning: variable 'hasnum' set but not used [-Wunused-but-set-variable] 4559 | int fixed = 0, hasnum = 0, hcnt = 0; | ^ ../bltTreeCmd.c:4961:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4961 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ ../bltTreeCmd.c:4989:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 4989 | char *string; | ^ ../bltTreeCmd.c:5141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5141 | LastChildOp(cmdPtr, interp, objc, objv) | ^ ../bltTreeCmd.c:5577:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5577 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ ../bltTreeCmd.c:5898:9: warning: variable 'elemArr' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] 5898 | if (Blt_ProcessObjSwitches(interp, restoreSwitches, objc - 3, objv + 3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5899 | (char *)&data, BLT_SWITCH_EXACT) < 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeCmd.c:6015:9: note: uninitialized use occurs here 6015 | if (elemArr != NULL) { | ^~~~~~~ ../bltTreeCmd.c:5898:5: note: remove the 'if' if its condition is always false 5898 | if (Blt_ProcessObjSwitches(interp, restoreSwitches, objc - 3, objv + 3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5899 | (char *)&data, BLT_SWITCH_EXACT) < 0) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5900 | result = TCL_ERROR; | ~~~~~~~~~~~~~~~~~~~ 5901 | goto done; | ~~~~~~~~~~ 5902 | } | ~ ../bltTreeCmd.c:5883:19: note: initialize the variable 'elemArr' to silence this warning 5883 | char **elemArr, *entry, *eol, *next, saved; | ^ | = NULL ../bltTreeCmd.c:6532:29: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 6532 | int i, result = TCL_OK, inode; | ^ ../bltTreeCmd.c:6606:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6606 | char *string; | ^ ../bltTreeCmd.c:6841:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 6841 | char *string; | ^ ../bltTreeCmd.c:7176:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7176 | char *string; | ^ ../bltTreeCmd.c:7488:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7488 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ ../bltTreeCmd.c:7707:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7707 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ ../bltTreeCmd.c:7740:24: warning: passing 'const char *const' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 7740 | Tcl_SetResult(interp, valueObjPtr->typePtr->name, TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:692:54: note: passing argument to parameter 'result' here 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ^ ../bltTreeCmd.c:7763:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 7763 | char *string; | ^ ../bltTreeCmd.c:8091:57: warning: variable 'isar' set but not used [-Wunused-but-set-variable] 8091 | int vobjc, kobjc, i, result = TCL_OK, len, cnt = 0, isar; | ^ ../bltTreeCmd.c:8567:68: warning: 'errorLine' is deprecated [-Wdeprecated-declarations] 8567 | "\n (\"tree foreach\" body line ", Blt_Itoa(interp->errorLine), ")\n", 0); | ^ /usr/local/include/tcl8.6/generic/tcl.h:530:19: note: 'errorLine' has been explicitly marked deprecated here 530 | int errorLine TCL_DEPRECATED_API("use Tcl_GetErrorLine/Tcl_SetErrorLine"); | ^ /usr/local/include/tcl8.6/generic/tcl.h:172:50: note: expanded from macro 'TCL_DEPRECATED_API' 172 | # define TCL_DEPRECATED_API(msg) __attribute__ ((__deprecated__)) | ^ ../bltTreeCmd.c:8533:17: warning: variable 'string' set but not used [-Wunused-but-set-variable] 8533 | char *var, *string; | ^ ../bltTreeCmd.c:9665:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 9665 | result = (*proc) (cmdPtr, interp, objc, objv); | ^ ../bltTreeCmd.c:10009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10009 | TreeOpOp(clientData, interp, objc, objv) | ^ ../bltTreeCmd.c:10089:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10089 | return (*proc) (clientData, interp, objc, objv); | ^ 31 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUnixPipe.c ../bltUnixPipe.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | OpenFile(fname, mode) | ^ ../bltUnixPipe.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | CreateTempFile(contents) | ^ ../bltUnixPipe.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | CreatePipe(inFilePtr, outFilePtr) | ^ ../bltUnixPipe.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | CloseFile(fd) | ^ ../bltUnixPipe.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | SetupStdFile(fd, type) | ^ ../bltUnixPipe.c:511:14: warning: cast to 'Tcl_Pid' (aka 'struct Tcl_Pid_ *') from smaller integer type 'int' [-Wint-to-pointer-cast] 511 | Tcl_WaitPid((Tcl_Pid)pid, &status, WNOHANG); | ^~~~~~~~~~~~ ../bltUnixPipe.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | CreateProcess(interp, argc, argv, inputFile, outputFile, errorFile, pidPtr) | ^ ../bltUnixPipe.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | FileForRedirect(interp, spec, atOK, arg, nextArg, flags, skipPtr, closePtr) | ^ ../bltUnixPipe.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | Blt_CreatePipeline(interp, argc, argv, pidArrayPtr, inPipePtr, | ^ 9 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUtil.c ../bltUtil.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | strtolower(s) | ^ ../bltUtil.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | Blt_DictionaryCompare(left, right) | ^ ../bltUtil.c:569:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 569 | Blt_Assert(testExpr, fileName, lineNumber) | ^ ../bltUtil.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | Blt_Itoa(value) | ^ ../bltUtil.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | Blt_Utoa(value) | ^ ../bltUtil.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | Blt_Dtoa(interp, value) | ^ ../bltUtil.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | Blt_OpenUtfFile(fileName, mode) | ^ ../bltUtil.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | Blt_InitHexTable(hexTable) | ^ ../bltUtil.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | Blt_GetPosition(interp, string, indexPtr) | ^ ../bltUtil.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | Blt_GetPositionSize(interp, string, size, indexPtr) | ^ ../bltUtil.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | Blt_GetUid(string) | ^ ../bltUtil.c:830:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 830 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltUtil.c:833:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 833 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ../bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltUtil.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | Blt_FreeUid(uid) | ^ ../bltUtil.c:867:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 867 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltUtil.c:872:29: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 872 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ../bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltUtil.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | Blt_FindUid(string) | ^ ../bltUtil.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | BinaryOpSearch(specArr, nSpecs, string) | ^ ../bltUtil.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | LinearOpSearch(specArr, nSpecs, string) | ^ ../bltUtil.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | Blt_GetOp(interp, nSpecs, specArr, operPos, argc, argv, flags) | ^ ../bltUtil.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | Blt_GetOpFromObj(interp, nSpecs, specArr, operPos, objc, objv, flags) | ^ ../bltUtil.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | Blt_Crc32Init(interp) | ^ 22 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVector.c ../bltVector.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | FindVectorInNamespace(dataPtr, nsPtr, vecName) | ^ ../bltVector.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | GetVectorObject(dataPtr, name, flags) | ^ ../bltVector.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Blt_VectorUpdateRange(vPtr) | ^ ../bltVector.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | GetIntEnd(interp, string, iPtr, endVal) | ^ ../bltVector.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | Blt_VectorGetIndex(interp, vPtr, string, indexPtr, flags, procPtrPtr) | ^ ../bltVector.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | Blt_VectorGetIndexRange(interp, vPtr, string, flags, procPtrPtr) | ^ ../bltVector.c:452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | Blt_VectorParseElement(interp, dataPtr, start, endPtr, flags) | ^ ../bltVector.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | Blt_VectorNotifyClients(clientData) | ^ ../bltVector.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | Blt_VectorUpdateClients(vPtr) | ^ ../bltVector.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | Blt_VectorFlushCache(vPtr) | ^ ../bltVector.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | Blt_VectorLookupName(dataPtr, vecName, vPtrPtr) | ^ ../bltVector.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | DeleteCommand(vPtr) | ^ ../bltVector.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | UnmapVariable(vPtr) | ^ ../bltVector.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | Blt_VectorMapVariable(interp, vPtr, name) | ^ ../bltVector.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | Blt_VectorChangeLength(vPtr, length) | ^ ../bltVector.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | Blt_VectorReset(vPtr, valueArr, length, size, freeProc) | ^ ../bltVector.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | Blt_VectorNew(dataPtr) | ^ ../bltVector.c:1140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1140 | Blt_VectorFree(vPtr) | ^ ../bltVector.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | VectorInstDeleteProc(clientData) | ^ ../bltVector.c:1232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1232 | Blt_VectorCreate(dataPtr, vecName, cmdName, varName, newPtr) | ^ ../bltVector.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | Blt_VectorDuplicate(destPtr, srcPtr) | ^ ../bltVector.c:1433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1433 | VectorNamesObjOp(clientData, interp, objc, objv) | ^ ../bltVector.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | VectorCreate2(clientData, interp, argStart, argc, argv) | ^ ../bltVector.c:1722:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1722 | result = (*proc)(clientData, interp, objc, argv); | ^ ../bltVector.c:1707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1707 | VectorObjCallOp(clientData, interp, objc, objv, proc) | ^ ../bltVector.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | VectorCreateOp(clientData, interp, argc, argv) | ^ ../bltVector.c:1759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1759 | VectorCreateObjOp(clientData, interp, objc, objv) | ^ ../bltVector.c:1786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | VectorDestroyOp(clientData, interp, argc, argv) | ^ ../bltVector.c:1806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1806 | VectorDestroyObjOp(clientData, interp, objc, objv) | ^ ../bltVector.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | VectorConfigureObjOp(clientData, interp, objc, objv) | ^ ../bltVector.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | VectorOpObjOp(clientData, interp, objc, objv) | ^ ../bltVector.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | VectorExprOp(clientData, interp, argc, argv) | ^ ../bltVector.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | VectorExprObjOp(clientData, interp, objc, objv) | ^ ../bltVector.c:2123:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2123 | return (*proc) (clientData, interp, objc, objv); | ^ ../bltVector.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | VectorObjCmd(clientData, interp, objc, objv) | ^ ../bltVector.c:2148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2148 | VectorInterpDeleteProc(clientData, interp) | ^ ../bltVector.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | Blt_VectorGetInterpData(interp) | ^ ../bltVector.c:2245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | Blt_VectorInit(interp) | ^ ../bltVector.c:2291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2291 | Blt_CreateVector2(interp, vecName, cmdName, varName, initialSize, vecPtrPtr) | ^ ../bltVector.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | Blt_CreateVector(interp, name, size, vecPtrPtr) | ^ ../bltVector.c:2360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2360 | Blt_DeleteVector(vecPtr) | ^ ../bltVector.c:2390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2390 | Blt_DeleteVectorByName(interp, name) | ^ ../bltVector.c:2431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2431 | Blt_VectorExists2(interp, vecName) | ^ ../bltVector.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | Blt_VectorExists(interp, vecName) | ^ ../bltVector.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | Blt_GetVector(interp, name, vecPtrPtr) | ^ ../bltVector.c:2542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2542 | Blt_ResetVector(vecPtr, valueArr, length, size, freeProc) | ^ ../bltVector.c:2584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2584 | Blt_ResizeVector(vecPtr, length) | ^ ../bltVector.c:2619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2619 | Blt_AllocVectorId(interp, name) | ^ ../bltVector.c:2675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2675 | Blt_SetVectorChangedProc(clientId, proc, clientData) | ^ ../bltVector.c:2712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2712 | Blt_FreeVectorId(clientId) | ^ ../bltVector.c:2740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2740 | Blt_NameOfVectorId(clientId) | ^ ../bltVector.c:2752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2752 | Blt_NameOfVector(vecPtr) | ^ ../bltVector.c:2772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2772 | Blt_VectorNotifyPending(clientId) | ^ ../bltVector.c:2800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2800 | Blt_GetVectorById(interp, clientId, vecPtrPtr) | ^ ../bltVector.c:2822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2822 | Blt_InstallIndexProc(interp, string, procPtr) | ^ 55 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVecMath.c ../bltVecMath.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | First(vPtr) | ^ ../bltVecMath.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Next(vPtr, current) | ^ ../bltVecMath.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | Sort(vPtr) | ^ ../bltVecMath.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | Invert(vPtr) | ^ ../bltVecMath.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | Length(vecPtr) | ^ ../bltVecMath.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | Blt_VecMin(vecPtr) | ^ ../bltVecMath.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | Blt_VecMax(vecPtr) | ^ ../bltVecMath.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | Mean(vecPtr) | ^ ../bltVecMath.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | Variance(vecPtr) | ^ ../bltVecMath.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Skew(vecPtr) | ^ ../bltVecMath.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | StdDeviation(vecPtr) | ^ ../bltVecMath.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | AvgDeviation(vecPtr) | ^ ../bltVecMath.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | Kurtosis(vecPtr) | ^ ../bltVecMath.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | Shift(vecPtr, optPtr) | ^ ../bltVecMath.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | Median(vecPtr) | ^ ../bltVecMath.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | Q1(vecPtr) | ^ ../bltVecMath.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | Q3(vecPtr) | ^ ../bltVecMath.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | Norm(vecPtr) | ^ ../bltVecMath.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | Row(vecPtr) | ^ ../bltVecMath.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | Product(vecPtr) | ^ ../bltVecMath.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | Sum(vecPtr) | ^ ../bltVecMath.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | Nonzeros(vecPtr) | ^ ../bltVecMath.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | Fabs(value) | ^ ../bltVecMath.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | Round(value) | ^ ../bltVecMath.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | Fmod(x, y) | ^ ../bltVecMath.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | MathError(interp, value) | ^ ../bltVecMath.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | ParseString(interp, string, valuePtr) | ^ ../bltVecMath.c:1031:26: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1031 | if ((*mathPtr->proc) (mathPtr->clientData, interp, vPtr, optVal.vPtr) | ^ ../bltVecMath.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | ParseMathFunction(interp, start, parsePtr, valuePtr) | ^ ../bltVecMath.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | NextToken(interp, parsePtr, valuePtr) | ^ ../bltVecMath.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | NextValue(interp, parsePtr, prec, valuePtr, optValPtr) | ^ ../bltVecMath.c:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | EvaluateExpression(interp, string, valuePtr, cvPtr) | ^ ../bltVecMath.c:1974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1974 | ComponentFunc(clientData, interp, vPtr) | ^ ../bltVecMath.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | ScalarFunc(clientData, interp, vPtr) | ^ ../bltVecMath.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | VectorFunc(clientData, interp, vPtr) | ^ ../bltVecMath.c:2037:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | Opt1Func(clientData, interp, vPtr, optPtr) | ^ ../bltVecMath.c:2095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | Blt_VectorInstallMathFunctions(tablePtr) | ^ ../bltVecMath.c:2109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2109 | Blt_VectorUninstallMathFunctions(tablePtr) | ^ ../bltVecMath.c:2127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | InstallIndexProc(tablePtr, string, procPtr) | ^ ../bltVecMath.c:2148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2148 | Blt_VectorInstallSpecialIndices(tablePtr) | ^ ../bltVecMath.c:2161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2161 | EvalVectorExpr(interp, string, dataPtr, vPtr) | ^ ../bltVecMath.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | Blt_ExprVector(interp, string, vecPtr) | ^ 42 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVecCmd.c cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltVecObjCmd.c ../bltVecObjCmd.c:49:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | int GetDouble(interp, objPtr, valuePtr) | ^ ../bltVecObjCmd.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | ReplicateValue(vPtr, first, last, value) | ^ ../bltVecObjCmd.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | CopyList(vPtr, objc, objv) | ^ ../bltVecObjCmd.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | AppendVector(destPtr, srcPtr) | ^ ../bltVecObjCmd.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | InsertList(vPtr, objc, objv, idx) | ^ ../bltVecObjCmd.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | InsertVector(destPtr, srcPtr, idx) | ^ ../bltVecObjCmd.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | AppendList(vPtr, objc, objv) | ^ ../bltVecObjCmd.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | AppendOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | InsertOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | ClearOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | DeleteOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | DupOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | IndexOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | GetIntObj(interp, obj, iPtr) | ^ ../bltVecObjCmd.c:635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | LengthOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | VariableOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | MergeOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | NormalizeOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | NotifyOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | PopulateOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | RangeOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | InRange(value, min, max) | ^ ../bltVecObjCmd.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | GetBinaryFormat(interp, string, sizePtr) | ^ ../bltVecObjCmd.c:1195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1195 | CopyValues(vPtr, byteArr, fmt, size, length, swap, indexPtr) | ^ ../bltVecObjCmd.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | BinreadOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1449 | BinwriteOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | SearchOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | OffsetOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | RandomOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | SeqOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | SetOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | SplitOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | CompareVectors(a, b) | ^ ../bltVecObjCmd.c:1913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1913 | Blt_VectorSortIndex(vPtrPtr, nVectors) | ^ ../bltVecObjCmd.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | SortVectors(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:1990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1990 | SortOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2092 | InstExprOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2128 | ArithOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2242 | MatrixNumcolsObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2283 | MatrixNumrowsObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2318 | MatrixTransposeObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2374 | MatrixSortObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2452 | MatrixDeleteObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2520 | MatrixInsertObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2593 | MatrixSetObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2660 | MatrixGetObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2728 | MatrixCopyObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | MatrixShiftObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2879 | MatrixMultiplyObjOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:2995:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2995 | return (*proc) (vPtr, interp, objc, objv); | ^ ../bltVecObjCmd.c:2982:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2982 | MatrixOp(vPtr, interp, objc, objv) | ^ ../bltVecObjCmd.c:3048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3048 | Blt_VectorInstCmd(clientData, interp, objc, objv) | ^ ../bltVecObjCmd.c:3064:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3064 | return (*proc) (vPtr, interp, objc, objv); | ^ ../bltVecObjCmd.c:3081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3081 | Blt_VectorVarTrace(clientData, interp, part1, part2, flags) | ^ 54 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltWatch.c ../bltWatch.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | PreCmdProc(clientData, interp, level, command, cmdProc, cmdClientData, | ^ ../bltWatch.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | PostCmdProc(clientData, interp, code) | ^ ../bltWatch.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | NewWatch(interp, name) | ^ ../bltWatch.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | DestroyWatch(watchPtr) | ^ ../bltWatch.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | NameToWatch(interp, name, flags) | ^ ../bltWatch.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | ListWatches(interp, state) | ^ ../bltWatch.c:506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | ConfigWatch(watchPtr, interp, argc, argv) | ^ ../bltWatch.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | CreateOp(clientData, interp, argc, argv) | ^ ../bltWatch.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | DeleteOp(clientData, interp, argc, argv) | ^ ../bltWatch.c:613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 613 | ActivateOp(clientData, interp, argc, argv) | ^ ../bltWatch.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | NamesOp(clientData, interp, argc, argv) | ^ ../bltWatch.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | ConfigureOp(clientData, interp, argc, argv) | ^ ../bltWatch.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | InfoOp(clientData, interp, argc, argv) | ^ ../bltWatch.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | WatchCmd(clientData, interp, argc, argv) | ^ ../bltWatch.c:804:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltWatch.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | WatchDeleteCmd(clientData) | ^ ../bltWatch.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | Blt_WatchInit(interp) | ^ 17 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBeep.c ../bltBeep.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | BeepCmd(clientData, interp, argc, argv) | ^ ../bltBeep.c:63:16: warning: variable 'percent' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 63 | } else if (argc == 2) { | ^~~~~~~~~ ../bltBeep.c:73:46: note: uninitialized use occurs here 73 | XBell(Tk_Display(Tk_MainWindow(interp)), percent); | ^~~~~~~ ../bltBeep.c:63:12: note: remove the 'if' if its condition is always true 63 | } else if (argc == 2) { | ^~~~~~~~~~~~~~ ../bltBeep.c:54:16: note: initialize the variable 'percent' to silence this warning 54 | int percent; | ^ | = 0 ../bltBeep.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | Blt_BeepInit(interp) | ^ 3 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBind.c ../bltBind.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | DoEvent(bindPtr, eventPtr, item, context) | ^ ../bltBind.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | PickCurrentItem(bindPtr, eventPtr) | ^ ../bltBind.c:386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | BindProc(clientData, eventPtr) | ^ ../bltBind.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | Blt_ConfigureBindings(interp, bindPtr, item, argc, argv) | ^ ../bltBind.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | Blt_ConfigureBindingsFromObj(interp, bindPtr, item, objc, objv) | ^ ../bltBind.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | Blt_CreateBindingTable(interp, tkwin, clientData, pickProc, tagProc) | ^ ../bltBind.c:617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 617 | Blt_DestroyBindingTable(bindPtr) | ^ ../bltBind.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | Blt_PickCurrentItem(bindPtr) | ^ ../bltBind.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | Blt_DeleteBindings(bindPtr, object) | ^ ../bltBind.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | Blt_MoveBindingTable(bindPtr, tkwin) | ^ 10 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBitmap.c ../bltBitmap.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | GetHexValue(interp, string, valuePtr) | ^ ../bltBitmap.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | BitmapToData(tkwin, bitmap, width, height, bitsPtr) | ^ ../bltBitmap.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | AsciiToData(interp, elemList, width, height, bitsPtr) | ^ ../bltBitmap.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | ParseListData(interp, string, widthPtr, heightPtr, bitsPtr) | ^ ../bltBitmap.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | ParseStructData(interp, string, widthPtr, heightPtr, bitsPtr) | ^ ../bltBitmap.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | BitmapDataToString(tkwin, bitmap, resultPtr) | ^ ../bltBitmap.c:921:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 921 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltBitmap.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | ComposeOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1031:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1031 | argc - 4, argv + 4, (char *)&info, 0) != TCL_OK) { | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltBitmap.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | DefineOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | ExistsOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | HeightOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | WidthOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | SourceOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | DataOp(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | BitmapCmd(clientData, interp, argc, argv) | ^ ../bltBitmap.c:1304:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1304 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltBitmap.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | BitmapInterpDeleteProc(clientData, interp) | ^ ../bltBitmap.c:1346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1346 | GetBitmapInterpData(interp) | ^ ../bltBitmap.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | Blt_BitmapInit(interp) | ^ 20 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltBusy.c ../bltBusy.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | ShowBusyWindow(busyPtr) | ^ ../bltBusy.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | HideBusyWindow(busyPtr) | ^ ../bltBusy.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | BusyEventProc(clientData, eventPtr) | ^ ../bltBusy.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | BusyCustodyProc(clientData, tkwin) | ^ ../bltBusy.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | BusyGeometryProc(clientData, tkwin) | ^ ../bltBusy.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | RefWinEventProc(clientData, eventPtr) | ^ ../bltBusy.c:421:71: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 421 | if (Tk_ConfigureWidget(interp, busyPtr->tkRef, configSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltBusy.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | ConfigureBusy(interp, busyPtr, argc, argv) | ^ ../bltBusy.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | CreateBusy(interp, tkRef) | ^ ../bltBusy.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | DestroyBusy(data) | ^ ../bltBusy.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | GetBusy(dataPtr, interp, pathName, busyPtrPtr) | ^ ../bltBusy.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | HoldBusy(dataPtr, interp, argc, argv) | ^ ../bltBusy.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | StatusOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | ForgetOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | ReleaseOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | NamesOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | BusyOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 955 | HoldOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | CgetOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | ConfigureOp(clientData, interp, argc, argv) | ^ ../bltBusy.c:1074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1074 | BusyInterpDeleteProc(clientData, interp) | ^ ../bltBusy.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | BusyCmd(clientData, interp, argc, argv) | ^ ../bltBusy.c:1157:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltBusy.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | GetBusyInterpData(interp) | ^ ../bltBusy.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | Blt_BusyInit(interp) | ^ 25 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltCanvEps.c ../bltCanvEps.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | SkipBlanks(piPtr) | ^ ../bltCanvEps.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | ReadPsLine(piPtr) | ^ ../bltCanvEps.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | ReverseBits(byte) | ^ ../bltCanvEps.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | GetHexValue(piPtr, bytePtr) | ^ ../bltCanvEps.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | ReadEPSI(epsPtr, piPtr) | ^ ../bltCanvEps.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | ReadPostScript(interp, epsPtr) | ^ ../bltCanvEps.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | OpenEpsFile(interp, epsPtr) | ^ ../bltCanvEps.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | CloseEpsFile(epsPtr) | ^ ../bltCanvEps.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | DeleteEps(canvas, itemPtr, display) | ^ ../bltCanvEps.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | CreateEps(interp, canvas, itemPtr, argc, objv) | ^ ../bltCanvEps.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ ../bltCanvEps.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | ConfigureEps(interp, canvas, itemPtr, argc, objv, flags) | ^ ../bltCanvEps.c:1294:6: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1294 | argv, (char *)epsPtr, flags) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltCanvEps.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | EpsCoords(interp, canvas, itemPtr, argc, objv) | ^ ../bltCanvEps.c:1538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | ComputeEpsBbox(canvas, epsPtr) | ^ ../bltCanvEps.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | DisplayEps(canvas, itemPtr, display, drawable, x, y, width, height) | ^ ../bltCanvEps.c:1730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1730 | EpsToPoint(canvas, itemPtr, coordArr) | ^ ../bltCanvEps.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | EpsToArea(canvas, itemPtr, area) | ^ ../bltCanvEps.c:1818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | ScaleEps(canvas, itemPtr, originX, originY, scaleX, scaleY) | ^ ../bltCanvEps.c:1850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | TranslateEps(canvas, itemPtr, deltaX, deltaY) | ^ ../bltCanvEps.c:1884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1884 | EpsToPostScript(interp, canvas, itemPtr, prepass) | ^ ../bltCanvEps.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | Blt_InitEpsCanvasItem(interp) | ^ ../bltCanvEps.c:2008:26: warning: incompatible function pointer types assigning to 'Tk_OptionParseProc *' (aka 'int (*)(void *, struct Tcl_Interp *, struct Tk_Window_ *, char *, char *, int)') from 'int (ClientData, Tcl_Interp *, Tk_Window, const char *, char *, int)' (aka 'int (void *, struct Tcl_Interp *, struct Tk_Window_ *, const char *, char *, int)') [-Wincompatible-function-pointer-types] 2008 | tagsOption.parseProc = Tk_CanvasTagsParseProc; | ^ ~~~~~~~~~~~~~~~~~~~~~~ 23 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltColor.c ../bltColor.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | GetPaletteSizes(nColors, nRedsPtr, nGreensPtr, nBluesPtr) | ^ ../bltColor.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | BuildColorRamp(palettePtr, nColors) | ^ ../bltColor.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | QueryColormap(display, colorMap, mapColors, numMapColorsPtr) | ^ ../bltColor.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | FindClosestColor(colorPtr, mapColors, numMapColors) | ^ ../bltColor.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | CompareColors(a, b) | ^ ../bltColor.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, | ^ ../bltColor.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | AllocateColors(nImageColors, colorTabPtr, matchOnly) | ^ ../bltColor.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | Blt_CreateColorTable(tkwin) | ^ ../bltColor.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | Blt_FreeColorTable(colorTabPtr) | ^ ../bltColor.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | Blt_DirectColorTable(interp, tkwin, image) | ^ ../bltColor.c:538:42: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 538 | hPtr = Blt_CreateHashEntry(&colorTable, (char *)color.value, &isNew); | ^~~~~~~~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltColor.c:543:17: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 543 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltColor.c:546:25: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 546 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ../bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltColor.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | GetUniqueColors(image) | ^ ../bltColor.c:566:9: warning: variable 'nFreeColors' set but not used [-Wunused-but-set-variable] 566 | int nFreeColors, nUsedColors; | ^ ../bltColor.c:570:13: warning: variable 'imageColors' set but not used [-Wunused-but-set-variable] 570 | XColor *imageColors; | ^ ../bltColor.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | PrivateColormap(interp, colorTabPtr, image, tkwin) | ^ ../bltColor.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | Blt_PseudoColorTable(interp, tkwin, image) | ^ ../bltColor.c:108:1: warning: unused function 'BuildColorRamp' [-Wunused-function] 108 | BuildColorRamp(palettePtr, nColors) | ^~~~~~~~~~~~~~ ../bltColor.c:254:1: warning: unused function 'MatchColors' [-Wunused-function] 254 | MatchColors(colorTabPtr, rgbPtr, numColors, numAvailColors, numMapColors, | ^~~~~~~~~~~ ../bltColor.c:313:1: warning: unused function 'AllocateColors' [-Wunused-function] 313 | AllocateColors(nImageColors, colorTabPtr, matchOnly) | ^~~~~~~~~~~~~~ ../bltColor.c:519:1: warning: unused function 'GetUniqueColors' [-Wunused-function] 519 | GetUniqueColors(image) | ^~~~~~~~~~~~~~~ 22 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltConfig.c ../bltConfig.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | FreeObjTile(clientData, tkwin, internalPtr) | ^ ../bltConfig.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | GetObjTile(clientData, tkwin, recordPtr, internalOffset) | ^ ../bltConfig.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | SetObjTile(clientData, interp, tkwin, value, recordPtr, internalOffset, | ^ ../bltConfig.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | RestoreObjTile(clientData, tkwin, internalPtr, oldInternalPtr) | ^ ../bltConfig.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | Blt_NameOfFill(fill) | ^ ../bltConfig.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | StringToFill(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | FillToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | Blt_StringToFlag(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:445:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 445 | unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../bltConfig.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | Blt_FlagToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:481:25: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 481 | unsigned int mask = (unsigned int)clientData; /* Bit to be tested */ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../bltConfig.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | Blt_GetPixels(interp, tkwin, string, check, valuePtr) | ^ ../bltConfig.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | StringToDistance(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:562:49: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 562 | return Blt_GetPixels(interp, tkwin, string, (int)clientData, valuePtr); | ^~~~~~~~~~~~~~~ ../bltConfig.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | DistanceToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | Blt_GetInt(interp, string, check, valuePtr) | ^ ../bltConfig.c:642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | StringToCount(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:651:39: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 651 | return Blt_GetInt(interp, string, (int)clientData, valuePtr); | ^~~~~~~~~~~~~~~ ../bltConfig.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | CountToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | StringToPad(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | PadToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | StringToShadow(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | ShadowToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 920 | GradientToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | StringToGradient(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:981:9: warning: variable 'color2Ptr' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltConfig.c:1021:27: note: uninitialized use occurs here 1021 | gradientPtr->color2 = color2Ptr; | ^~~~~~~~~ ../bltConfig.c:981:5: note: remove the 'if' if its condition is always true 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltConfig.c:981:9: warning: variable 'color2Ptr' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized] 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~ ../bltConfig.c:1021:27: note: uninitialized use occurs here 1021 | gradientPtr->color2 = color2Ptr; | ^~~~~~~~~ ../bltConfig.c:981:9: note: remove the '&&' if its condition is always true 981 | if ((string != NULL) && (string[0] != '\0')) { | ^~~~~~~~~~~~~~~~~~~ ../bltConfig.c:976:33: note: initialize the variable 'color2Ptr' to silence this warning 976 | XColor *colorPtr, *color2Ptr; | ^ | = NULL ../bltConfig.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | GetDashes(interp, string, dashesPtr) | ^ ../bltConfig.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | StringToDashes(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | DashesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | StringToUid(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:1235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1235 | UidToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | StringToState(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:1297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | StateToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | StringToList(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | ListToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | StringToTile(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:1452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1452 | TileToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltConfig.c:1533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1533 | Blt_ConfigureWidgetComponent(interp, parent, resName, className, specsPtr, | ^ ../bltConfig.c:1565:18: warning: assigning to 'char *' from 'Tk_Uid' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1565 | oldClass = Tk_Class(tkwin); | ^ ~~~~~~~~~~~~~~~ ../bltConfig.c:1576:64: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1576 | result = Tk_ConfigureWidget(interp, tkwin, specsPtr, argc, argv, widgRec, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltConfig.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | Blt_StringToEnum(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltConfig.c:1649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1649 | Blt_EnumToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ In file included from ../bltConfig.c:1671: ../bltOldConfig.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^ ../bltOldConfig.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | FindConfigSpec(interp, specs, argvName, needFlags, hateFlags) | ^ ../bltOldConfig.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | DoConfig(interp, tkwin, specPtr, value, valueIsUid, widgRec) | ^ ../bltOldConfig.c:581:4: warning: passing 'Tk_Uid' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 581 | value, widgRec, specPtr->offset) != TCL_OK) { | ^~~~~ ../bltOldConfig.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | Blt_ConfigureInfo(interp, tkwin, specs, widgRec, argvName, flags) | ^ ../bltOldConfig.c:721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | FormatConfigInfo(interp, tkwin, specPtr, widgRec) | ^ ../bltOldConfig.c:740:22: warning: passing 'const char *[7]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 740 | return Tcl_Merge(2, argv); | ^~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:584:57: note: passing argument to parameter 'argv' here 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ In file included from ../bltConfig.c:1671: ../bltOldConfig.c:771:31: warning: passing 'const char *[7]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 771 | result = Tcl_Merge(6, argv); | ^~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:584:57: note: passing argument to parameter 'argv' here 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ In file included from ../bltConfig.c:1671: ../bltOldConfig.c:774:31: warning: passing 'const char *[7]' to parameter of type 'char *const *' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 774 | result = Tcl_Merge(5, argv); | ^~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:584:57: note: passing argument to parameter 'argv' here 584 | EXTERN char * Tcl_Merge(int argc, CONST84 char *const *argv); | ^ In file included from ../bltConfig.c:1671: ../bltOldConfig.c:809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | FormatConfigValue(interp, tkwin, specPtr, widgRec, buffer, freeProcPtr) | ^ ../bltOldConfig.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | Blt_ConfigureValue(interp, tkwin, specs, widgRec, argvName, flags) | ^ ../bltOldConfig.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | Blt_FreeOptions(specs, widgRec, display, needFlags) | ^ ../bltOldConfig.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | Blt_GetCachedSpecs(interp, staticSpecs) | ^ ../bltOldConfig.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | GetCachedSpecs(interp, staticSpecs) | ^ ../bltOldConfig.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | DeleteSpecCacheTable(clientData, interp) | ^ 58 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltContainer.c ../bltContainer.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | NameOfId(display, window) | ^ ../bltContainer.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | XGeometryErrorProc(clientData, eventPtr) | ^ ../bltContainer.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | GetAdoptedWindowGeometry(interp, cntrPtr) | ^ ../bltContainer.c:401:9: warning: variable 'x' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../bltContainer.c:426:25: note: uninitialized use occurs here 426 | cntrPtr->adoptedX = x; | ^ ../bltContainer.c:401:5: note: remove the 'if' if its condition is always true 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltContainer.c:392:10: note: initialize the variable 'x' to silence this warning 392 | int x, y, width, height, borderWidth, depth; | ^ | = 0 ../bltContainer.c:401:9: warning: variable 'y' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../bltContainer.c:427:25: note: uninitialized use occurs here 427 | cntrPtr->adoptedY = y; | ^ ../bltContainer.c:401:5: note: remove the 'if' if its condition is always true 401 | if (cntrPtr->adopted != None) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltContainer.c:392:13: note: initialize the variable 'y' to silence this warning 392 | int x, y, width, height, borderWidth, depth; | ^ | = 0 ../bltContainer.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | GetChildren(display, window) | ^ ../bltContainer.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | NameSearch(display, window, searchPtr) | ^ ../bltContainer.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | CmdSearch(display, window, searchPtr) | ^ ../bltContainer.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | TimeoutProc(clientData) | ^ ../bltContainer.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | TestAndWaitForWindow(cntrPtr, searchPtr) | ^ ../bltContainer.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | MapTree(display, window) | ^ ../bltContainer.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | StringToXID(clientData, interp, parent, string, widgRec, offset) | ^ ../bltContainer.c:825:26: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 825 | unsigned int flags = (int)clientData; | ^~~~~~~~~~~~~~~ ../bltContainer.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | XIDToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ ../bltContainer.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | EventuallyRedraw(cntrPtr) | ^ ../bltContainer.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | AdoptedWindowEventProc(clientData, eventPtr) | ^ ../bltContainer.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | ContainerEventProc(clientData, eventPtr) | ^ ../bltContainer.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | ToplevelEventProc(clientData, eventPtr) | ^ ../bltContainer.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | DestroyContainer(dataPtr) | ^ ../bltContainer.c:1196:71: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1196 | if (Tk_ConfigureWidget(interp, cntrPtr->tkwin, configSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltContainer.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | ConfigureContainer(interp, cntrPtr, argc, argv, flags) | ^ ../bltContainer.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | ContainerInstCmdDeleteProc(clientData) | ^ ../bltContainer.c:1315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1315 | ContainerCmd(clientData, interp, argc, argv) | ^ ../bltContainer.c:1381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | DisplayContainer(clientData) | ^ ../bltContainer.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | FindOp(cntrPtr, interp, argc, argv) | ^ ../bltContainer.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | CgetOp(cntrPtr, interp, argc, argv) | ^ ../bltContainer.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | ConfigureOp(cntrPtr, interp, argc, argv) | ^ ../bltContainer.c:1691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1691 | ContainerInstCmd(clientData, interp, argc, argv) | ^ ../bltContainer.c:1706:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | result = (*proc)(cntrPtr, interp, argc, argv); | ^ ../bltContainer.c:1712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1712 | Blt_ContainerInit(interp) | ^ 30 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltCutbuffer.c ../bltCutbuffer.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | GetCutNumber(interp, string, bufferPtr) | ^ ../bltCutbuffer.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | RotateErrorProc(clientData, errEventPtr) | ^ ../bltCutbuffer.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | GetOp(interp, tkwin, argc, argv) | ^ ../bltCutbuffer.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | RotateOp(interp, tkwin, argc, argv) | ^ ../bltCutbuffer.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | SetOp(interp, tkwin, argc, argv) | ^ ../bltCutbuffer.c:232:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | result = (*proc) (interp, tkwin, argc, argv); | ^ ../bltCutbuffer.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | CutbufferCmd(clientData, interp, argc, argv) | ^ ../bltCutbuffer.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | Blt_CutbufferInit(interp) | ^ 8 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltDragdrop.c ../bltDragdrop.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | GetNativeWindow(tkwin) | ^ ../bltDragdrop.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | GetWindowZOrder(display, window) | ^ ../bltDragdrop.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | GetProperty(display, window) | ^ ../bltDragdrop.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | SetProperty(tkwin, data) | ^ ../bltDragdrop.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | GetWindowRegion(display, window, x1Ptr, y1Ptr, x2Ptr, y2Ptr) | ^ ../bltDragdrop.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | ChangeToken(tokenPtr, active) | ^ ../bltDragdrop.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | TokenEventProc(clientData, eventPtr) | ^ ../bltDragdrop.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | HideToken(tokenPtr) | ^ ../bltDragdrop.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | RaiseToken(tokenPtr) | ^ ../bltDragdrop.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 888 | MoveToken(srcPtr, tokenPtr) | ^ ../bltDragdrop.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | GetWidgetCursor(interp, tkwin) | ^ ../bltDragdrop.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | UpdateToken(clientData) | ^ ../bltDragdrop.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | RejectToken(tokenPtr) | ^ ../bltDragdrop.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | ConfigureToken(interp, srcPtr, argc, argv) | ^ ../bltDragdrop.c:1068:75: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1068 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, tokenConfigSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltDragdrop.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | CreateToken(interp, srcPtr) | ^ ../bltDragdrop.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | CreateSource(interp, pathName, newPtr) | ^ ../bltDragdrop.c:1188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | DestroySource(srcPtr) | ^ ../bltDragdrop.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | GetSource(interp, pathName, srcPtrPtr) | ^ ../bltDragdrop.c:1279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1279 | ConfigureSource(interp, srcPtr, argc, argv, flags) | ^ ../bltDragdrop.c:1296:70: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1296 | if (Tk_ConfigureWidget(interp, srcPtr->tkwin, configSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltDragdrop.c:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | SourceEventProc(clientData, eventPtr) | ^ ../bltDragdrop.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | FindTarget(tkwin) | ^ ../bltDragdrop.c:1429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1429 | CreateTarget(interp, tkwin) | ^ ../bltDragdrop.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | DestroyTarget(data) | ^ ../bltDragdrop.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | TargetEventProc(clientData, eventPtr) | ^ ../bltDragdrop.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | DndSend(srcPtr) | ^ ../bltDragdrop.c:1644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | InitRoot(srcPtr) | ^ ../bltDragdrop.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | FindTopWindow(srcPtr, x, y) | ^ ../bltDragdrop.c:1739:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1739 | OverTarget(srcPtr, x, y) | ^ ../bltDragdrop.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | RemoveWindow(windowPtr) | ^ ../bltDragdrop.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | QueryWindow(display, windowPtr) | ^ ../bltDragdrop.c:1946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1946 | AddTargetProperty(interp, targetPtr) | ^ ../bltDragdrop.c:1991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1991 | ExpandPercents(string, subsArr, nSubs, resultPtr) | ^ ../bltDragdrop.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | DragOp(interp, argc, argv) | ^ ../bltDragdrop.c:2202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2202 | DropOp(interp, argc, argv) | ^ ../bltDragdrop.c:2261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2261 | ErrorsOp(interp, argc, argv) | ^ ../bltDragdrop.c:2285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | ActiveOp(interp, argc, argv) | ^ ../bltDragdrop.c:2303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2303 | LocationOp(interp, argc, argv) | ^ ../bltDragdrop.c:2332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2332 | TokenOp(interp, argc, argv) | ^ ../bltDragdrop.c:2351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2351 | HandlerOpOp(srcPtr, interp, argc, argv) | ^ ../bltDragdrop.c:2408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2408 | SourceOp(interp, argc, argv) | ^ ../bltDragdrop.c:2487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | TargetOp(interp, argc, argv) | ^ ../bltDragdrop.c:2634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | DragDropCmd(clientData, interp, argc, argv) | ^ ../bltDragdrop.c:2692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2692 | Blt_DragDropInit(interp) | ^ 45 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltHierbox.c ../bltHierbox.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | StringToScrollMode(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHierbox.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | ScrollModeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltHierbox.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | StringToButton(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHierbox.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | ButtonToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltHierbox.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ ../bltHierbox.c:1287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1287 | GetCachedImage(hboxPtr, interp, tkwin, name) | ^ ../bltHierbox.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | FreeCachedImage(hboxPtr, imagePtr) | ^ ../bltHierbox.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | StringToImages(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHierbox.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | ImagesToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltHierbox.c:1457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | StringToSeparator(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHierbox.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | SeparatorToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltHierbox.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | ApplyToTree(hboxPtr, rootPtr, proc, flags) | ^ ../bltHierbox.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | ConfigureButtons(hboxPtr) | ^ ../bltHierbox.c:1603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1603 | DestroyEntry(entryPtr) | ^ ../bltHierbox.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | LastNode(treePtr, mask) | ^ ../bltHierbox.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1697 | NextNode(treePtr, mask) | ^ ../bltHierbox.c:1726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1726 | EndNode(treePtr, mask) | ^ ../bltHierbox.c:1744:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1744 | ExposeAncestors(treePtr) | ^ ../bltHierbox.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | IsBefore(t1Ptr, t2Ptr) | ^ ../bltHierbox.c:1814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1814 | IsAncestor(rootPtr, treePtr) | ^ ../bltHierbox.c:1830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1830 | IsHidden(treePtr) | ^ ../bltHierbox.c:1852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1852 | SelectEntry(hboxPtr, treePtr) | ^ ../bltHierbox.c:1870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1870 | DeselectEntry(hboxPtr, treePtr) | ^ ../bltHierbox.c:1887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1887 | ClearSelection(hboxPtr) | ^ ../bltHierbox.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | PruneSelection(hboxPtr, rootPtr) | ^ ../bltHierbox.c:1927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | IsSelected(hboxPtr, treePtr) | ^ ../bltHierbox.c:1939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1939 | GetFullPath(treePtr, separator, resultPtr) | ^ ../bltHierbox.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | InsertNode(parentPtr, position, nodePtr) | ^ ../bltHierbox.c:2010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | DestroyNode(data) | ^ ../bltHierbox.c:2080:52: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2080 | hPtr = Blt_CreateHashEntry(&(hboxPtr->nodeTable), (char *)serial, | ^~~~~~~~~~~~~~ ../bltHash.h:203:40: note: expanded from macro 'Blt_CreateHashEntry' 203 | (*((tablePtr)->createProc))(tablePtr, key, newPtr) | ^~~ ../bltHierbox.c:2044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2044 | CreateNode(hboxPtr, parentPtr, position, name) | ^ ../bltHierbox.c:2106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | FindComponent(parentPtr, name) | ^ ../bltHierbox.c:2142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2142 | SkipSeparators(path, separator, length) | ^ ../bltHierbox.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | SplitPath(hboxPtr, path, levelPtr, compPtrPtr) | ^ ../bltHierbox.c:2230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | FindPath(hboxPtr, rootPtr, path) | ^ ../bltHierbox.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | NearestNode(hboxPtr, x, y, selectOne) | ^ ../bltHierbox.c:2375:54: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2375 | hPtr = Blt_FindHashEntry(&(hboxPtr->nodeTable), (char *)serial); | ^~~~~~~~~~~~~~ ../bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ ../bltHierbox.c:2365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | GetNodeByIndex(hboxPtr, string) | ^ ../bltHierbox.c:2409:14: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] 2409 | serial = (int)Blt_GetHashKey(&(hboxPtr->nodeTable), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2410 | nodePtr->entryPtr->hashPtr); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltHierbox.c:2401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2401 | NodeToString(hboxPtr, nodePtr) | ^ ../bltHierbox.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | GetNode(hboxPtr, string, treePtrPtr) | ^ ../bltHierbox.c:2603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | StringToNode(hboxPtr, string, treePtrPtr) | ^ ../bltHierbox.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | PercentSubst(hboxPtr, treePtr, command, resultPtr) | ^ ../bltHierbox.c:2701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2701 | CloseNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | OpenNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:2804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2804 | SelectNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:2843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2843 | SelectRange(hboxPtr, fromPtr, toPtr) | ^ ../bltHierbox.c:2876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2876 | IsSelectedNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:2901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | GetSelectedLabels(hboxPtr, treePtr) | ^ ../bltHierbox.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | SizeOfNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:2954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2954 | CompareNodesByName(link1PtrPtr, link2PtrPtr) | ^ ../bltHierbox.c:2979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2979 | CompareNodesByTclCmd(link1PtrPtr, link2PtrPtr) | ^ ../bltHierbox.c:3015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3015 | SortNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:3044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3044 | UnmapNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:3071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | MapAncestors(hboxPtr, treePtr) | ^ ../bltHierbox.c:3102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3102 | MapNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:3112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3112 | FixUnmappedSelections(hboxPtr, treePtr) | ^ ../bltHierbox.c:3131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | DeleteNode(hboxPtr, treePtr) | ^ ../bltHierbox.c:3187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3187 | DestroyTree(hboxPtr, treePtr) | ^ ../bltHierbox.c:3196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3196 | GetTags(table, object, context, list) | ^ ../bltHierbox.c:3223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3223 | PickButton(clientData, x, y, contextPtr) | ^ ../bltHierbox.c:3266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3266 | PickEntry(clientData, x, y, contextPtr) | ^ ../bltHierbox.c:3308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3308 | ConfigureEntry(hboxPtr, entryPtr, argc, argv, flags) | ^ ../bltHierbox.c:3325:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3325 | argc, argv, (char *)entryPtr, flags) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltHierbox.c:3468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3468 | EventuallyRedraw(hboxPtr) | ^ ../bltHierbox.c:3496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3496 | LabelBlinkProc(clientData) | ^ ../bltHierbox.c:3533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3533 | EventuallyInvokeSelectCmd(hboxPtr) | ^ ../bltHierbox.c:3550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3550 | CreateHierbox(interp, tkwin) | ^ ../bltHierbox.c:3612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3612 | DestroyHierbox(dataPtr) | ^ ../bltHierbox.c:3690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3690 | HierboxEventProc(clientData, eventPtr) | ^ ../bltHierbox.c:3763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3763 | SelectionProc(clientData, offset, buffer, maxBytes) | ^ ../bltHierbox.c:3824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3824 | LostSelection(clientData) | ^ ../bltHierbox.c:3852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3852 | HierboxInstCmdDeleteProc(clientData) | ^ ../bltHierbox.c:3892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3892 | TileChangedProc(clientData, tile) | ^ ../bltHierbox.c:3938:71: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3938 | if (Tk_ConfigureWidget(interp, hboxPtr->tkwin, configSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltHierbox.c:3924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3924 | ConfigureHierbox(interp, hboxPtr, argc, argv, flags) | ^ ../bltHierbox.c:4051:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4051 | ResetCoordinates(hboxPtr, treePtr, infoPtr) | ^ ../bltHierbox.c:4138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4138 | ComputeWidths(hboxPtr, treePtr) | ^ ../bltHierbox.c:4181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4181 | ComputeLayout(hboxPtr) | ^ ../bltHierbox.c:4260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4260 | ComputeVisibleEntries(hboxPtr) | ^ ../bltHierbox.c:4369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4369 | GetCursorLocation(hboxPtr, treePtr) | ^ ../bltHierbox.c:4439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4439 | DrawVerticals(hboxPtr, treePtr, drawable) | ^ ../bltHierbox.c:4528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4528 | DrawButton(hboxPtr, treePtr, drawable) | ^ ../bltHierbox.c:4622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4622 | DisplayIcon(hboxPtr, treePtr, x, y, drawable) | ^ ../bltHierbox.c:4682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4682 | DrawData(hboxPtr, treePtr, x, y, entryHeight, drawable) | ^ ../bltHierbox.c:4730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4730 | DrawLabel(hboxPtr, treePtr, x, y, drawable) | ^ ../bltHierbox.c:4851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4851 | DrawEntry(hboxPtr, treePtr, drawable) | ^ ../bltHierbox.c:4924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4924 | DrawOuterBorders(hboxPtr, drawable) | ^ ../bltHierbox.c:4980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4980 | DisplayHierbox(clientData) | ^ ../bltHierbox.c:5098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5098 | SelectCmdProc(clientData) | ^ ../bltHierbox.c:5136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5136 | HierboxCmd(clientData, interp, argc, argv) | ^ ../bltHierbox.c:5230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5230 | FocusOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5271 | BboxOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5387 | ButtonActivateOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5429 | ButtonBindOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5459 | ButtonCgetOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5510:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 5510 | argc, argv, (char *)hboxPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltHierbox.c:5492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5492 | ButtonConfigureOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5558:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5558 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ ../bltHierbox.c:5544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5544 | ButtonOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5571 | CgetOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5583 | CloseOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5669 | ConfigureOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5692 | CurselectionOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5725 | ActivateOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5758 | BindOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5787 | CgetOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5825 | ConfigureOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5880 | IsHiddenOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5897 | IsBeforeOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:5915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5915 | ScreenToIndex(hboxPtr, x, y) | ^ ../bltHierbox.c:6022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6022 | GetLabelIndex(hboxPtr, entryPtr, string, indexPtr) | ^ ../bltHierbox.c:6108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6108 | IndexOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6144 | InsertOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6248 | DeleteOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6357 | IsOpenOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6374 | ChildrenOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6457 | SizeOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6534:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6534 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ ../bltHierbox.c:6520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6520 | EntryOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6540 | ExactCompare(interp, name, pattern) | ^ ../bltHierbox.c:6550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6550 | GlobCompare(interp, name, pattern) | ^ ../bltHierbox.c:6559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6559 | RegexpCompare(interp, name, pattern) | ^ ../bltHierbox.c:6581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6581 | FindOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6829 | GetOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:6895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6895 | SearchAndApplyToTree(hboxPtr, interp, argc, argv, proc, nonMatchPtr) | ^ ../bltHierbox.c:7069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7069 | HideOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7121 | ShowOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7153 | IndexOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7194 | InsertOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7332 | DeleteOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7450 | MoveOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7518 | NearestOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7573 | OpenOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7623 | RangeOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7697 | ScanOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7759 | SeeOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7901 | AnchorOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7940 | ClearallOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:7968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7968 | IncludesOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8008:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8008 | MarkOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8066 | PresentOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8098 | SelectOpOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8200:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8200 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ ../bltHierbox.c:8186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8186 | SelectionOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8206 | SortOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8257 | ToggleOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8295 | XViewOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8329 | YViewOp(hboxPtr, interp, argc, argv) | ^ ../bltHierbox.c:8409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8409 | HierboxInstCmd(clientData, interp, argc, argv) | ^ ../bltHierbox.c:8424:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8424 | result = (*proc) (hboxPtr, interp, argc, argv); | ^ ../bltHierbox.c:8430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8430 | Blt_HierboxInit(interp) | ^ 152 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltHtext.c ../bltHtext.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | StringToJustify(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHtext.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | NameOfJustify(justify) | ^ ../bltHtext.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | JustifyToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltHtext.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | GetScreenDistance(interp, tkwin, string, sizePtr, countPtr) | ^ ../bltHtext.c:723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 723 | StringToHeight(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHtext.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | StringToWidth(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltHtext.c:788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 788 | WidthHeightToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltHtext.c:829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | EventuallyRedraw(htPtr) | ^ ../bltHtext.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | ResizeArray(arrayPtr, elemSize, newSize, prevSize) | ^ ../bltHtext.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | LineSearch(htPtr, yCoord, low, high) | ^ ../bltHtext.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | IndexSearch(htPtr, key, low, high) | ^ ../bltHtext.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | GetXYPosIndex(htPtr, string, indexPtr) | ^ ../bltHtext.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | ParseIndex(htPtr, string, indexPtr) | ^ ../bltHtext.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | GetIndex(htPtr, string, indexPtr) | ^ ../bltHtext.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | GetTextPosition(htPtr, tindex, lindexPtr, cindexPtr) | ^ ../bltHtext.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | GetEmbeddedWidgetWidth(winPtr) | ^ ../bltHtext.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | GetEmbeddedWidgetHeight(winPtr) | ^ ../bltHtext.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | EmbeddedWidgetEventProc(clientData, eventPtr) | ^ ../bltHtext.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | EmbeddedWidgetCustodyProc(clientData, tkwin) | ^ ../bltHtext.c:1485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1485 | EmbeddedWidgetGeometryProc(clientData, tkwin) | ^ ../bltHtext.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | FindEmbeddedWidget(htPtr, tkwin) | ^ ../bltHtext.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | CreateEmbeddedWidget(htPtr, name) | ^ ../bltHtext.c:1606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1606 | DestroyEmbeddedWidget(winPtr) | ^ ../bltHtext.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | CreateLine(htPtr) | ^ ../bltHtext.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | DestroyLine(linePtr) | ^ ../bltHtext.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | FreeText(htPtr) | ^ ../bltHtext.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | DestroyText(dataPtr) | ^ ../bltHtext.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | TextEventProc(clientData, eventPtr) | ^ ../bltHtext.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | TextDeleteCmdProc(clientData) | ^ ../bltHtext.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | TileChangedProc(clientData, tile) | ^ ../bltHtext.c:1899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | ResetTextInfo(htPtr) | ^ ../bltHtext.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | GetLastLine(htPtr) | ^ ../bltHtext.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | ReadNamedFile(interp, fileName, bufferPtr) | ^ ../bltHtext.c:2018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | CollectCommand(htPtr, inputArr, maxBytes, cmdArr) | ^ ../bltHtext.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | ParseInput(interp, htPtr, input, nBytes) | ^ ../bltHtext.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | IncludeText(interp, htPtr, fileName) | ^ ../bltHtext.c:2230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2230 | TextVarProc(clientData, interp, name1, name2, flags) | ^ ../bltHtext.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | CreateTraces(htPtr) | ^ ../bltHtext.c:2306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2306 | DeleteTraces(htPtr) | ^ ../bltHtext.c:2346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2346 | ConfigureText(interp, htPtr) | ^ ../bltHtext.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | TranslateAnchor(deltaX, deltaY, anchor) | ^ ../bltHtext.c:2522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2522 | ComputeCavitySize(winPtr) | ^ ../bltHtext.c:2568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | LayoutLine(htPtr, linePtr) | ^ ../bltHtext.c:2702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2702 | ComputeLayout(htPtr) | ^ ../bltHtext.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | GetVisibleLines(htPtr) | ^ ../bltHtext.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | DrawSegment(htPtr, draw, linePtr, x, y, segPtr) | ^ ../bltHtext.c:2925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2925 | MoveEmbeddedWidget(winPtr, offset) | ^ ../bltHtext.c:3018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3018 | DrawPage(htPtr, deltaY) | ^ ../bltHtext.c:3153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3153 | SendBogusEvent(tkwin) | ^ ../bltHtext.c:3236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | DisplayText(clientData) | ^ ../bltHtext.c:3427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3427 | TextSelectionProc(clientData, offset, buffer, maxBytes) | ^ ../bltHtext.c:3473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3473 | TextLostSelection(clientData) | ^ ../bltHtext.c:3501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3501 | SelectLine(htPtr, tindex) | ^ ../bltHtext.c:3556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3556 | SelectWord(htPtr, tindex) | ^ ../bltHtext.c:3611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3611 | SelectTextBlock(htPtr, tindex) | ^ ../bltHtext.c:3679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3679 | SelectOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:3787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3787 | GotoOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:3830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3830 | XViewOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:3862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3862 | YViewOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:3923:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3923 | argc - 3, argv + 3, (char *)winPtr, 0) != TCL_OK) { | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltHtext.c:3909:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3909 | AppendOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:3961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3961 | WindowsOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:3997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3997 | CgetOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4093:6: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4093 | argv + 2, itemPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltHtext.c:4053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4053 | ConfigureOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4119 | ScanOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4186 | SearchOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4254 | RangeOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4304 | IndexOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4328 | LinePosOp(htPtr, interp, argc, argv) | ^ ../bltHtext.c:4388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4388 | TextWidgetCmd(clientData, interp, argc, argv) | ^ ../bltHtext.c:4403:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4403 | result = (*proc) (htPtr, interp, argc, argv); | ^ ../bltHtext.c:4426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4426 | TextCmd(clientData, interp, argc, argv) | ^ ../bltHtext.c:4491:3: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4491 | argv + 2, (char *)htPtr, 0) != TCL_OK) || | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltHtext.c:4502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4502 | Blt_HtextInit(interp) | ^ 75 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltImage.c ../bltImage.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | Blt_CreateColorImage(width, height) | ^ ../bltImage.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | Blt_FreeColorImage(imagePtr) | ^ ../bltImage.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | Blt_GammaCorrectColorImage(src, newGamma) | ^ ../bltImage.c:140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | Blt_ColorImageToGreyscale(image) | ^ ../bltImage.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | Blt_ColorImageToPhoto(src, photo) | ^ ../bltImage.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | Blt_PhotoRegionToColorImage(photo, x, y, width, height) | ^ ../bltImage.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | Blt_PhotoToColorImage(photo) | ^ ../bltImage.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | DefaultFilter(x) | ^ ../bltImage.c:405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | DummyFilter(x) | ^ ../bltImage.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | BoxFilter(x) | ^ ../bltImage.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | TriangleFilter(x) | ^ ../bltImage.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | BellFilter(x) | ^ ../bltImage.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | BSplineFilter(x) | ^ ../bltImage.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | SincFilter(x) | ^ ../bltImage.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | BesselFilter(x) | ^ ../bltImage.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | GaussianFilter(x) | ^ ../bltImage.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | Lanczos3Filter(x) | ^ ../bltImage.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | MitchellFilter(x) | ^ ../bltImage.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | CatRomFilter(x) | ^ ../bltImage.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | GiFilter(x) | ^ ../bltImage.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | Blt_GetResampleFilter(interp, name, filterPtrPtr) | ^ ../bltImage.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | ComputeWeights(srcWidth, destWidth, filterPtr, samplePtrPtr) | ^ ../bltImage.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | ZoomImageVertically(src, dest, filterPtr) | ^ ../bltImage.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | ZoomImageHorizontally(src, dest, filterPtr) | ^ ../bltImage.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | Blt_BlurColorImage(srcPhoto, dstPhoto, radius) | ^ ../bltImage.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | Blt_ResampleColorImage(src, width, height, horzFilterPtr, vertFilterPtr) | ^ ../bltImage.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | Blt_ResamplePhoto(srcPhoto, x, y, width, height, destPhoto, horzFilterPtr, | ^ ../bltImage.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | Blt_ResizePhoto(srcPhoto, x, y, width, height, destPhoto) | ^ ../bltImage.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | Blt_ResizeColorImage(src, x, y, width, height, destWidth, destHeight) | ^ ../bltImage.c:1347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | Blt_ConvolveColorImage(src, filterPtr) | ^ ../bltImage.c:1430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1430 | Blt_SnapPhoto(interp, tkwin, drawable, x, y, width, height, destWidth, | ^ ../bltImage.c:1493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1493 | Blt_JPEGToPhoto(interp, fileName, photo) | ^ ../bltImage.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | ShearY(src, dest, y, offset, frac, bgColor) | ^ ../bltImage.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | ShearX(src, dest, x, offset, frac, bgColor) | ^ ../bltImage.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | Rotate45(src, theta, bgColor) | ^ ../bltImage.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | Blt_CopyColorImage(src) | ^ ../bltImage.c:1880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1880 | Rotate90(src) | ^ ../bltImage.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | Rotate180(src) | ^ ../bltImage.c:1959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1959 | Rotate270(src) | ^ ../bltImage.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | Blt_RotateColorImage(src, angle) | ^ ../bltImage.c:2107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2107 | GetColorImageStatistics(image) | ^ ../bltImage.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | M3d(s) /* compute cumulative moments. */ | ^ ../bltImage.c:2215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2215 | Volume(cubePtr, m) | ^ ../bltImage.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | Bottom(cubePtr, dir, m) | ^ ../bltImage.c:2263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2263 | Top(cubePtr, dir, pos, m) | ^ ../bltImage.c:2294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2294 | Variance(cubePtr, s) | ^ ../bltImage.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | Maximize(cubePtr, dir, first, last, cut, rWhole, gWhole, bWhole, wWhole, s) | ^ ../bltImage.c:2377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2377 | Cut(set1, set2, s) | ^ ../bltImage.c:2438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2438 | SplitColorSpace(s, cubes, nColors) | ^ ../bltImage.c:2492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2492 | Mark(cubePtr, label, tag) | ^ ../bltImage.c:2538:29: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned int (*)[33][33]' [-Wincompatible-pointer-types] 2538 | Mark(cubePtr, color.value, lut); | ^~~ ../bltImage.c:2509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | CreateColorLookupTable(s, cubes, nColors) | ^ ../bltImage.c:2544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2544 | MapColors(src, dest, lut) | ^ ../bltImage.c:2596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2596 | Blt_QuantizeColorImage(src, dest, reduceColors) | ^ ../bltImage.c:2620:26: warning: incompatible pointer types passing 'unsigned int *' to parameter of type 'unsigned int (*)[33][33]' [-Wincompatible-pointer-types] 2620 | MapColors(src, dest, lut); | ^~~ ../bltImage.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | Blt_TransColorImage(src, dest, color, alpha, flags) | ^ ../bltImage.c:2673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2673 | Blt_RecolorImage(src, dest, oldColor, newColor, alpha) | ^ ../bltImage.c:2707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2707 | Blt_MergeColorImage(src, src2, dest, opacity, opacity2, withColor) | ^ ../bltImage.c:2758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2758 | Blt_SetRegion(x, y, width, height, regionPtr) | ^ ../bltImage.c:2867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2867 | Tk_ImageIsDeleted(tkImage) | ^ ../bltImage.c:2880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2880 | Tk_ImageGetMaster(tkImage) | ^ ../bltImage.c:2890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2890 | Tk_ImageGetType(tkImage) | ^ ../bltImage.c:2900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2900 | Tk_ImageGetPhotoPixmap(tkImage) | ^ ../bltImage.c:2914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2914 | Tk_ImageGetPhotoGC(photoImage) | ^ ../bltImage.c:2942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2942 | TempImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ ../bltImage.c:2953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2953 | Blt_CreateTemporaryImage(interp, tkwin, clientData) | ^ ../bltImage.c:2973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2973 | Blt_DestroyTemporaryImage(interp, tkImage) | ^ ../bltImage.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | Blt_NameOfImage(tkImage) | ^ 68 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUnixImage.c ../bltUnixImage.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | ShiftCount(mask) | ^ ../bltUnixImage.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | CountBits(mask) | ^ ../bltUnixImage.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | ComputeMasks(visualPtr) | ^ ../bltUnixImage.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | TrueColorPixel(visualPtr, pixelPtr) | ^ ../bltUnixImage.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | DirectColorPixel(colorTabPtr, pixelPtr) | ^ ../bltUnixImage.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PseudoColorPixel(pixelPtr, lut) | ^ ../bltUnixImage.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | Blt_ColorImageToPixmap(interp, tkwin, image, colorTablePtr) | ^ ../bltUnixImage.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | XGetImageErrorProc(clientData, errEventPtr) | ^ ../bltUnixImage.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | Blt_DrawableToColorImage(tkwin, drawable, x, y, width, height, inputGamma) | ^ ../bltUnixImage.c:577:44: warning: cast to 'char *' from smaller integer type 'unsigned int' [-Wint-to-pointer-cast] 577 | hPtr = Blt_FindHashEntry(&pixelTable, (char *)destPtr->value); | ^~~~~~~~~~~~~~~~~~~~~~ ../bltHash.h:201:38: note: expanded from macro 'Blt_FindHashEntry' 201 | (*((tablePtr)->findProc))(tablePtr, key) | ^~~ ../bltUnixImage.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | Blt_PhotoImageMask(tkwin, src) | ^ ../bltUnixImage.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | Blt_ColorImageMask(tkwin, image) | ^ ../bltUnixImage.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | Blt_RotateBitmap(tkwin, srcBitmap, srcWidth, srcHeight, theta, | ^ ../bltUnixImage.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | Blt_ScaleBitmap(tkwin, srcBitmap, srcWidth, srcHeight, destWidth, destHeight) | ^ ../bltUnixImage.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | ErrorProc(jpgPtr) | ^ ../bltUnixImage.c:1197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1197 | MessageProc(jpgPtr) | ^ ../bltUnixImage.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | Blt_JPEGToColorImage(interp, fileName) | ^ 17 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltPs.c ../bltPs.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | Blt_GetPsToken(interp, tkwin) | ^ ../bltPs.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | Blt_ReleasePsToken(tokenPtr) | ^ ../bltPs.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | Blt_PostScriptFromToken(tokenPtr) | ^ ../bltPs.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | Blt_ScratchBufferFromToken(tokenPtr) | ^ ../bltPs.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | Blt_FileToPostScript(tokenPtr, fileName) | ^ ../bltPs.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | XColorToPostScript(tokenPtr, colorPtr) | ^ ../bltPs.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | Blt_BackgroundToPostScript(tokenPtr, colorPtr) | ^ ../bltPs.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | Blt_ForegroundToPostScript(tokenPtr, colorPtr) | ^ ../bltPs.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | ReverseBits(byte) | ^ ../bltPs.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | ByteToHex(byte, string) | ^ ../bltPs.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | Blt_BitmapDataToPostScript(tokenPtr, display, bitmap, width, height) | ^ ../bltPs.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Blt_ColorImageToPsData(image, nComponents, resultPtr, prefix) | ^ ../bltPs.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | NameOfAtom(tkwin, atom) | ^ ../bltPs.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | XFontStructToPostScript(tkwin, fontPtr) | ^ ../bltPs.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | Blt_ClearBackgroundToPostScript(tokenPtr) | ^ ../bltPs.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Blt_CapStyleToPostScript(tokenPtr, capStyle) | ^ ../bltPs.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | Blt_JoinStyleToPostScript(tokenPtr, joinStyle) | ^ ../bltPs.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | Blt_LineWidthToPostScript(tokenPtr, lineWidth) | ^ ../bltPs.c:751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 751 | Blt_LineDashesToPostScript(tokenPtr, dashesPtr) | ^ ../bltPs.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | Blt_LineAttributesToPostScript(tokenPtr, colorPtr, lineWidth, dashesPtr, | ^ ../bltPs.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | Blt_RectangleToPostScript(tokenPtr, x, y, width, height) | ^ ../bltPs.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Blt_RegionToPostScript(tokenPtr, x, y, width, height) | ^ ../bltPs.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 806 | Blt_PathToPostScript(tokenPtr, screenPts, nScreenPts) | ^ ../bltPs.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | Blt_PolygonToPostScript(tokenPtr, screenPts, nScreenPts) | ^ ../bltPs.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | Blt_SegmentsToPostScript(tokenPtr, segPtr, nSegments) | ^ ../bltPs.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | Blt_RectanglesToPostScript(tokenPtr, rectArr, nRects) | ^ ../bltPs.c:876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 876 | Blt_Draw3DRectangleToPostScript(tokenPtr, border, x, y, width, height, | ^ ../bltPs.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | Blt_Fill3DRectangleToPostScript(tokenPtr, border, x, y, width, height, | ^ ../bltPs.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | Blt_StippleToPostScript(tokenPtr, display, bitmap) | ^ ../bltPs.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | Blt_ColorImageToPostScript(tokenPtr, image, x, y) | ^ ../bltPs.c:1079:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1079 | Blt_WindowToPostScript(tokenPtr, tkwin, x, y) | ^ ../bltPs.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | Blt_PhotoToPostScript(tokenPtr, photo, x, y) | ^ ../bltPs.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | Blt_FontToPostScript(tokenPtr, font) | ^ ../bltPs.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | TextLayoutToPostScript(tokenPtr, x, y, textPtr) | ^ ../bltPs.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | Blt_TextToPostScript(tokenPtr, string, tsPtr, x, y) | ^ ../bltPs.c:1425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1425 | Blt_LineToPostScript(tokenPtr, pointPtr, nPoints) | ^ ../bltPs.c:1453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1453 | Blt_BitmapToPostScript(tokenPtr, display, bitmap, scaleX, scaleY) | ^ ../bltPs.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | Blt_2DSegmentsToPostScript(psToken, segPtr, nSegments) | ^ 38 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTable.c ../bltTable.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | StringToLimits(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTable.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | ResetLimits(limitsPtr) | ^ ../bltTable.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | GetBoundedWidth(width, limitsPtr) | ^ ../bltTable.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | GetBoundedHeight(height, limitsPtr) | ^ ../bltTable.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | NameOfLimits(limitsPtr) | ^ ../bltTable.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | LimitsToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTable.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | StringToResize(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTable.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | NameOfResize(resize) | ^ ../bltTable.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | ResizeToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTable.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | StringToControl(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTable.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | NameOfControl(control) | ^ ../bltTable.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | ControlToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTable.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | EventuallyArrangeTable(tablePtr) | ^ ../bltTable.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | TableEventProc(clientData, eventPtr) | ^ ../bltTable.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | WidgetEventProc(clientData, eventPtr) | ^ ../bltTable.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | WidgetCustodyProc(clientData, tkwin) | ^ ../bltTable.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | WidgetGeometryProc(clientData, tkwin) | ^ ../bltTable.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | FindEntry(tablePtr, tkwin) | ^ ../bltTable.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | GetEntry(interp, tablePtr, string, entryPtrPtr) | ^ ../bltTable.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | CreateEntry(tablePtr, tkwin) | ^ ../bltTable.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | DestroyEntry(entryPtr) | ^ ../bltTable.c:1205:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1205 | argc, argv, (char *)entryPtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTable.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | ConfigureEntry(tablePtr, interp, entryPtr, argc, argv) | ^ ../bltTable.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | PrintEntry(entryPtr, resultPtr) | ^ ../bltTable.c:1325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1325 | InfoEntry(interp, tablePtr, entryPtr) | ^ ../bltTable.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | ParseRowColumn2(tablePtr, string, numberPtr) | ^ ../bltTable.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | ParseRowColumn(tablePtr, string, numberPtr) | ^ ../bltTable.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | GetRowColumn(infoPtr, n) | ^ ../bltTable.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | DeleteRowColumn(tablePtr, infoPtr, rcPtr) | ^ ../bltTable.c:1557:32: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1557 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTable.c:1582:37: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1582 | infoPtr->configSpecs, argc, argv, (char *)rcPtr, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTable.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | ConfigureRowColumn(tablePtr, infoPtr, pattern, argc, argv) | ^ ../bltTable.c:1592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | PrintRowColumn(interp, infoPtr, rcPtr, resultPtr) | ^ ../bltTable.c:1644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1644 | InfoRowColumn(tablePtr, interp, pattern) | ^ ../bltTable.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | InitSpan(infoPtr, start, span) | ^ ../bltTable.c:1740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1740 | Blt_GetTable(dataPtr, interp, pathName, tablePtrPtr) | ^ ../bltTable.c:1785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1785 | CreateTable(dataPtr, interp, pathName) | ^ ../bltTable.c:1865:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1865 | argc, argv, (char *)tablePtr, TK_CONFIG_ARGV_ONLY) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTable.c:1851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1851 | ConfigureTable(tablePtr, interp, argc, argv) | ^ ../bltTable.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | PrintTable(tablePtr, resultPtr) | ^ ../bltTable.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | DestroyPartitions(infoPtr) | ^ ../bltTable.c:1967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1967 | DestroyTable(dataPtr) | ^ ../bltTable.c:2013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2013 | BinEntry(tablePtr, entryPtr) | ^ ../bltTable.c:2037:8: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2037 | key = (int)Blt_ListGetKey(node); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTable.c:2049:37: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2049 | newNode = Blt_ListCreateNode(list, (char *)entryPtr->row.span); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTable.c:2066:8: warning: cast to smaller integer type 'int' from 'const char *' [-Wpointer-to-int-cast] 2066 | key = (int)Blt_ListGetKey(node); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTable.c:2078:37: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 2078 | newNode = Blt_ListCreateNode(list, (char *)entryPtr->column.span); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTable.c:2114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2114 | ParseIndex(interp, string, rowPtr, columnPtr) | ^ ../bltTable.c:2202:30: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 2202 | entryConfigSpecs, argc, argv, (char *)entryPtr, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTable.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | ManageEntry(interp, tablePtr, tkwin, row, column, argc, argv) | ^ ../bltTable.c:2247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2247 | BuildTable(tablePtr, interp, argc, argv) | ^ ../bltTable.c:2358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | ParseItem(tablePtr, string, rowPtr, columnPtr) | ^ ../bltTable.c:2424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2424 | TranslateAnchor(dx, dy, anchor, xPtr, yPtr) | ^ ../bltTable.c:2487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2487 | GetReqWidth(entryPtr) | ^ ../bltTable.c:2515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | GetReqHeight(entryPtr) | ^ ../bltTable.c:2538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2538 | GetTotalSpan(infoPtr) | ^ ../bltTable.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | GetSpan(infoPtr, entryPtr) | ^ ../bltTable.c:2653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | GrowSpan(infoPtr, entryPtr, growth) | ^ ../bltTable.c:2842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2842 | AdjustPartitions(infoPtr, adjustment) | ^ ../bltTable.c:3002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3002 | ResetPartitions(tablePtr, infoPtr, limitsProc) | ^ ../bltTable.c:3071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3071 | SetNominalSizes(tablePtr, infoPtr) | ^ ../bltTable.c:3149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3149 | LockPartitions(infoPtr) | ^ ../bltTable.c:3186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3186 | LayoutPartitions(tablePtr) | ^ ../bltTable.c:3331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3331 | ArrangeEntries(tablePtr) | ^ ../bltTable.c:3484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3484 | ArrangeTable(clientData) | ^ ../bltTable.c:3631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3631 | ArrangeOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:3663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3663 | CgetOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:3719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3719 | ConfigureOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:3811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3811 | DeleteOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:3890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3890 | JoinOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4007 | ExtentsOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4085 | ForgetOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4149 | InfoOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4207 | InsertOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4300 | SplitOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4405 | RowColumnSearch(infoPtr, x) | ^ ../bltTable.c:4440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4440 | LocateOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4492 | ContainersOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4575 | SaveOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4678 | SearchOp(dataPtr, interp, argc, argv) | ^ ../bltTable.c:4847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4847 | TableCmd(clientData, interp, argc, argv) | ^ ../bltTable.c:4873:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4873 | result = (*proc) (dataPtr, interp, argc, argv); | ^ ../bltTable.c:4897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4897 | TableInterpDeleteProc(clientData, interp) | ^ ../bltTable.c:4918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4918 | GetTableInterpData(interp) | ^ ../bltTable.c:4955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4955 | Blt_TableInit(interp) | ^ 85 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTabnotebook.c ../bltTabnotebook.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | MakeTag(nbPtr, tagName) | ^ ../bltTabnotebook.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | WorldToScreen(nbPtr, x, y, xScreenPtr, yScreenPtr) | ^ ../bltTabnotebook.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | EventuallyRedraw(nbPtr) | ^ ../bltTabnotebook.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | EventuallyRedrawTearoff(tabPtr) | ^ ../bltTabnotebook.c:978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 978 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ ../bltTabnotebook.c:1007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1007 | GetImage(nbPtr, interp, tkwin, name) | ^ ../bltTabnotebook.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | FreeImage(nbPtr, imagePtr) | ^ ../bltTabnotebook.c:1089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | StringToImage(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTabnotebook.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | ImageToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTabnotebook.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | StringToWindow(clientData, interp, parent, string, widgRec, offset) | ^ ../bltTabnotebook.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | WindowToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ ../bltTabnotebook.c:1272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1272 | StringToSide(clientData, interp, parent, string, widgRec, offset) | ^ ../bltTabnotebook.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | SideToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ ../bltTabnotebook.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | StringToSlant(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTabnotebook.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | SlantToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTabnotebook.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | WorldY(tabPtr) | ^ ../bltTabnotebook.c:1436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | TabIndex(nbPtr, tabPtr) | ^ ../bltTabnotebook.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | RenumberTiers(nbPtr, tabPtr) | ^ ../bltTabnotebook.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | PickTab(clientData, x, y, contextPtr) | ^ ../bltTabnotebook.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | TabLeft(tabPtr) | ^ ../bltTabnotebook.c:1609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1609 | TabRight(tabPtr) | ^ ../bltTabnotebook.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | TabUp(tabPtr) | ^ ../bltTabnotebook.c:1664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1664 | TabDown(tabPtr) | ^ ../bltTabnotebook.c:1725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | GetTab(nbPtr, string, tabPtrPtr, allowNull) | ^ ../bltTabnotebook.c:1853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | NextOrLastTab(tabPtr) | ^ ../bltTabnotebook.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | EmbeddedWidgetEventProc(clientData, eventPtr) | ^ ../bltTabnotebook.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | EmbeddedWidgetCustodyProc(clientData, tkwin) | ^ ../bltTabnotebook.c:1997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1997 | EmbeddedWidgetGeometryProc(clientData, tkwin) | ^ ../bltTabnotebook.c:2021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | DestroyTab(nbPtr, tabPtr) | ^ ../bltTabnotebook.c:2101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | CreateTab(nbPtr) | ^ ../bltTabnotebook.c:2141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2141 | TileChangedProc(clientData, tile) | ^ ../bltTabnotebook.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | ConfigureTab(nbPtr, tabPtr) | ^ ../bltTabnotebook.c:2256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2256 | TearoffEventProc(clientData, eventPtr) | ^ ../bltTabnotebook.c:2304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2304 | GetReqWidth(tabPtr) | ^ ../bltTabnotebook.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | GetReqHeight(tabPtr) | ^ ../bltTabnotebook.c:2375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2375 | TranslateAnchor(dx, dy, anchor, xPtr, yPtr) | ^ ../bltTabnotebook.c:2422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2422 | GetWindowRectangle(tabPtr, parent, tearoff, rectPtr) | ^ ../bltTabnotebook.c:2516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2516 | ArrangeWindow(tkwin, rectPtr, force) | ^ ../bltTabnotebook.c:2537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2537 | GetTags(table, object, context, list) | ^ ../bltTabnotebook.c:2591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2591 | NotebookEventProc(clientData, eventPtr) | ^ ../bltTabnotebook.c:2653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | DestroyNotebook(dataPtr) | ^ ../bltTabnotebook.c:2691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2691 | CreateNotebook(interp, tkwin) | ^ ../bltTabnotebook.c:2769:69: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 2769 | if (Tk_ConfigureWidget(interp, nbPtr->tkwin, configSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTabnotebook.c:2755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2755 | ConfigureNotebook(interp, nbPtr, argc, argv, flags) | ^ ../bltTabnotebook.c:2859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2859 | ActivateOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:2893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2893 | BindOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:2924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2924 | CgetOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:2956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2956 | ConfigureOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:2991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2991 | DeleteOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3053 | FocusOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3088 | IndexOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3122 | IdOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3154 | InsertOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3222 | PercentSubst(nbPtr, tabPtr, command, resultPtr) | ^ ../bltTabnotebook.c:3298:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3298 | InvokeOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3342 | MoveOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3387 | NearestOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3431 | SelectOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3470 | ViewOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3505 | AdoptWindow(clientData) | ^ ../bltTabnotebook.c:3521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3521 | DestroyTearoff(dataPtr) | ^ ../bltTabnotebook.c:3554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3554 | CreateTearoff(nbPtr, name, tabPtr) | ^ ../bltTabnotebook.c:3618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3618 | TabCgetOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3695:13: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3695 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTabnotebook.c:3657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3657 | TabConfigureOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3722 | TabDockallOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3752 | TabNamesOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3794 | TabTearoffOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3874:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3874 | result = (*proc) (nbPtr, interp, argc, argv); | ^ ../bltTabnotebook.c:3861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3861 | TabOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3895 | PerforationActivateOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3932 | PerforationInvokeOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:3995:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3995 | result = (*proc) (nbPtr, interp, argc, argv); | ^ ../bltTabnotebook.c:3981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3981 | PerforationOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:4010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4010 | ScanOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:4065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4065 | SeeOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:4113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4113 | SizeOp(nbPtr, interp, argc, argv) | ^ ../bltTabnotebook.c:4126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4126 | CountTabs(nbPtr) | ^ ../bltTabnotebook.c:4271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4271 | WidenTabs(nbPtr, startPtr, nTabs, adjustment) | ^ ../bltTabnotebook.c:4314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4314 | AdjustTabSizes(nbPtr, nTabs) | ^ ../bltTabnotebook.c:4392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4392 | ComputeLayout(nbPtr) | ^ ../bltTabnotebook.c:4541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4541 | ComputeVisibleTabs(nbPtr) | ^ ../bltTabnotebook.c:4607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4607 | Draw3DFolder(nbPtr, tabPtr, drawable, side, pointArr, nPoints) | ^ ../bltTabnotebook.c:4711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4711 | DrawLabel(nbPtr, tabPtr, drawable) | ^ ../bltTabnotebook.c:4853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4853 | DrawPerforation(nbPtr, tabPtr, drawable) | ^ ../bltTabnotebook.c:4962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4962 | DrawFolder(nbPtr, tabPtr, drawable) | ^ ../bltTabnotebook.c:5267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5267 | DrawOuterBorders(nbPtr, drawable) | ^ ../bltTabnotebook.c:5318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5318 | DisplayNotebook(clientData) | ^ ../bltTabnotebook.c:5464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5464 | DisplayTearoff(clientData) | ^ ../bltTabnotebook.c:5601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5601 | NotebookInstCmd(clientData, interp, argc, argv) | ^ ../bltTabnotebook.c:5617:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5617 | result = (*proc) (nbPtr, interp, argc, argv); | ^ ../bltTabnotebook.c:5643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5643 | NotebookInstDeletedCmd(clientData) | ^ ../bltTabnotebook.c:5679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5679 | NotebookCmd(clientData, interp, argc, argv) | ^ ../bltTabnotebook.c:5743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5743 | Blt_TabnotebookInit(interp) | ^ 94 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTabset.c ../bltTabset.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | EventuallyRedrawTearoff(tabPtr) | ^ ../bltTabset.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | StringToImage(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTabset.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | ImageToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTabset.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | StringToWindow(clientData, interp, parent, string, widgRec, offset) | ^ ../bltTabset.c:1330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1330 | WindowToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ ../bltTabset.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | StringToSide(clientData, interp, parent, string, widgRec, offset) | ^ ../bltTabset.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | SideToString(clientData, parent, widgRec, offset, freeProcPtr) | ^ ../bltTabset.c:1446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | StringToSlant(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltTabset.c:1491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1491 | SlantToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltTabset.c:1516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | WorldY(tabPtr) | ^ ../bltTabset.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | TabIndex(setPtr, tabPtr) | ^ ../bltTabset.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | RenumberTiers(setPtr, tabPtr) | ^ ../bltTabset.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | TabExists(setPtr, string) | ^ ../bltTabset.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | GetTabByName(setPtr, string, tabPtrPtr) | ^ ../bltTabset.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | PickTab(clientData, x, y, contextPtr) | ^ ../bltTabset.c:1768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1768 | TabNext(tabPtr, wrap) | ^ ../bltTabset.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | TabPrev(tabPtr, wrap) | ^ ../bltTabset.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | TabLeft(tabPtr) | ^ ../bltTabset.c:1839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1839 | TabRight(tabPtr) | ^ ../bltTabset.c:1853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1853 | TabUp(tabPtr) | ^ ../bltTabset.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | TabDown(tabPtr) | ^ ../bltTabset.c:1948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1948 | GetTabByIndex(setPtr, string, tabPtrPtr, allowNull) | ^ ../bltTabset.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | GetTabByNameInd(setPtr, string, tabPtrPtr) | ^ ../bltTabset.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | NextOrLastTab(tabPtr) | ^ ../bltTabset.c:2156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2156 | EmbeddedWidgetEventProc(clientData, eventPtr) | ^ ../bltTabset.c:2216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2216 | EmbeddedWidgetCustodyProc(clientData, tkwin) | ^ ../bltTabset.c:2265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2265 | EmbeddedWidgetGeometryProc(clientData, tkwin) | ^ ../bltTabset.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | DestroyTab(setPtr, tabPtr) | ^ ../bltTabset.c:2378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2378 | CreateTab(setPtr, name) | ^ ../bltTabset.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | TileChangedProc(clientData, tile) | ^ ../bltTabset.c:2448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2448 | ConfigureTab(setPtr, tabPtr) | ^ ../bltTabset.c:2594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2594 | TearoffEventProc(clientData, eventPtr) | ^ ../bltTabset.c:2642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2642 | GetReqWidth(tabPtr) | ^ ../bltTabset.c:2674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2674 | GetReqHeight(tabPtr) | ^ ../bltTabset.c:2890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2890 | GetTags(table, object, context, list) | ^ ../bltTabset.c:2956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2956 | TabsetEventProc(clientData, eventPtr) | ^ ../bltTabset.c:3021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3021 | DestroyTabset(dataPtr) | ^ ../bltTabset.c:3166:70: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3166 | if (Tk_ConfigureWidget(interp, setPtr->tkwin, configSpecs, argc, argv, | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTabset.c:3269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3269 | ActivateOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:3686:31: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 3686 | if (TabExists(setPtr, tName)) { | ^~~~~ ../bltTabset.c:3693:29: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 3693 | tabPtr = CreateTab(setPtr, tName); | ^~~~~ ../bltTabset.c:3919:9: warning: variable 'dw' set but not used [-Wunused-but-set-variable] 3919 | int dw, dh; | ^ ../bltTabset.c:3919:13: warning: variable 'dh' set but not used [-Wunused-but-set-variable] 3919 | int dw, dh; | ^ ../bltTabset.c:3911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3911 | NearestOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4026 | CoordsOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4228 | DestroyTearoff(dataPtr) | ^ ../bltTabset.c:4375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4375 | TabCgetOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4456:13: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4456 | nOpts, options, (char *)tabPtr, TK_CONFIG_ARGV_ONLY); | ^~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTabset.c:4414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4414 | TabConfigureOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4484 | TabDockallOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4514 | TabPageHeight(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4535 | TabPageWidth(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4557 | TabNamesOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4602 | TabNumberOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4638 | TabSelectOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4676 | TabTearoffOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4751:24: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 4751 | if ((tabPtr->state == STATE_DISABLED)) { | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../bltTabset.c:4751:24: note: remove extraneous parentheses around the comparison to silence this warning 4751 | if ((tabPtr->state == STATE_DISABLED)) { | ~ ^ ~ ../bltTabset.c:4751:24: note: use '=' to turn this equality comparison into an assignment 4751 | if ((tabPtr->state == STATE_DISABLED)) { | ^~ | = ../bltTabset.c:4724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4724 | TearoffOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4812:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4812 | result = (*proc) (setPtr, interp, argc, argv); | ^ ../bltTabset.c:4799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4799 | TabOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4834 | PerforationActivateOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4871 | PerforationInvokeOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4934:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4934 | result = (*proc) (setPtr, interp, argc, argv); | ^ ../bltTabset.c:4920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4920 | PerforationOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:4949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4949 | ScanOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:5004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5004 | SizeOp(setPtr, interp, argc, argv) | ^ ../bltTabset.c:5017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5017 | CountTabs(setPtr) | ^ ../bltTabset.c:5171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5171 | WidenTabs(setPtr, startPtr, nTabs, adjustment) | ^ ../bltTabset.c:5250:28: warning: variable 'eImg' set but not used [-Wunused-but-set-variable] 5250 | int x, maxWidth, sImg, eImg; | ^ ../bltTabset.c:5241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5241 | AdjustTabSizes(setPtr, nTabs) | ^ ../bltTabset.c:5343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5343 | ComputeLayout(setPtr) | ^ ../bltTabset.c:5572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5572 | ComputeVisibleTabs(setPtr) | ^ ../bltTabset.c:5644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5644 | Draw3DFolder(setPtr, tabPtr, drawable, side, pointArr, nPoints) | ^ ../bltTabset.c:5708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5708 | DrawLabel(setPtr, tabPtr, drawable) | ^ ../bltTabset.c:5932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5932 | DrawPerforation(setPtr, tabPtr, drawable) | ^ ../bltTabset.c:6060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6060 | DrawFolder(setPtr, tabPtr, drawable) | ^ ../bltTabset.c:6368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6368 | DrawOuterBorders(setPtr, drawable) | ^ ../bltTabset.c:6419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6419 | DisplayTabset(clientData) | ^ ../bltTabset.c:6607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6607 | DisplayTearoff(clientData) | ^ ../bltTabset.c:6745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6745 | TabsetInstCmd(clientData, interp, argc, argv) | ^ ../bltTabset.c:6763:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6763 | result = (*proc) (setPtr, interp, argc, argv); | ^ ../bltTabset.c:6789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6789 | TabsetInstDeletedCmd(clientData) | ^ ../bltTabset.c:6825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6825 | TabsetCmd(clientData, interp, argc, argv) | ^ ../bltTabset.c:6888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6888 | Blt_TabsetInit(interp) | ^ 84 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltText.c ../bltText.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | Blt_AverageImage(im, w, h, d) | ^ ../bltText.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | Blt_DrawCharsBitmap(display, bitmap, w, width, height, gc, font, x, y, textPtr) | ^ ../bltText.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | DrawTextLayout(display, drawable, gc, font, x, y, textPtr, tsPtr) | ^ ../bltText.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | bltGetTextLayoutStr(string, tsPtr, store) | ^ ../bltText.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | Blt_GetTextLayoutStr(string, tsPtr) | ^ ../bltText.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | Blt_GetTextLayout(string, tsPtr) | ^ ../bltText.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | Blt_GetTextExtents(tsPtr, string, widthPtr, heightPtr) | ^ ../bltText.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | Blt_GetBoundingBox(width, height, theta, rotWidthPtr, rotHeightPtr, bbox) | ^ ../bltText.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | Blt_TranslateAnchor(x, y, width, height, anchor, transXPtr, transYPtr) | ^ ../bltText.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | Blt_TranslatePoint(pointPtr, width, height, anchor) | ^ ../bltText.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Blt_CreateTextBitmap(tkwin, textPtr, tsPtr, bmWidthPtr, bmHeightPtr) | ^ ../bltText.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | Blt_InitTextStyle(tsPtr) | ^ ../bltText.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | Blt_SetDrawTextStyle(tsPtr, font, gc, normalColor, activeColor, shadowColor, | ^ ../bltText.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | Blt_SetPrintTextStyle(tsPtr, font, fgColor, activeColor, shadowColor, theta, | ^ ../bltText.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | Blt_DrawTextLayout(tkwin, drawable, textPtr, tsPtr, x, y) | ^ ../bltText.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | Blt_DrawText2(tkwin, drawable, string, tsPtr, x, y, areaPtr) | ^ ../bltText.c:1048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1048 | Blt_DrawText(tkwin, drawable, string, tsPtr, x, y) | ^ ../bltText.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | Blt_GetBitmapGC(tkwin) | ^ ../bltText.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | Blt_ResetTextStyle(tkwin, tsPtr) | ^ ../bltText.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | Blt_FreeTextStyle(display, tsPtr) | ^ ../bltText.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | Blt_DeleteAxisLabelsGC(tkwin) | ^ 21 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTile.c ../bltTile.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | RedrawTile(tkwin, tilePtr) | ^ ../bltTile.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | UpdateTile(clientData) | ^ ../bltTile.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | ImageChangedProc(clientData, x, y, width, height, imageWidth, imageHeight) | ^ ../bltTile.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | GetTileInterpData(interp) | ^ ../bltTile.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | RectangleMask(display, drawable, x, y, width, height, mask, xOrigin, yOrigin) | ^ ../bltTile.c:1179:6: warning: variable 'xm' set but not used [-Wunused-but-set-variable] 1179 | int xm, ym; | ^ ../bltTile.c:1179:10: warning: variable 'ym' set but not used [-Wunused-but-set-variable] 1179 | int xm, ym; | ^ ../bltTile.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | PolygonMask(display, pointArr, nPoints, regionPtr, mask, xOrigin, yOrigin) | ^ ../bltTile.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | Blt_Fill3DRectangleTile(tkwin, drawable, border, x, y, width, height, borderWidth, | ^ 9 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeView.c ../bltTreeView.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | ObjToSeparator(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeView.c:1266:9: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1266 | string = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:1317:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1317 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:1320:28: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1320 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ../bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltTreeView.c:1346:16: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1346 | refCount = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:1349:25: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1349 | Blt_SetHashValue(hPtr, (ClientData)refCount); | ^~~~~~~~~~~~~~~~~~~~ ../bltHash.h:191:68: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~ ../bltTreeView.c:2389:15: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2389 | names[i] = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:2391:15: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2391 | names[i] = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:3310:8: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 3310 | label = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:3687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3687 | Blt_TreeViewTileChangedProc(clientData, tile) | ^ ../bltTreeView.c:3871:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3871 | void Blt_TreeViewMakeStyleDirty(tvPtr) | ^ ../bltTreeView.c:4717:12: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 4717 | string = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:5045:13: warning: variable 'result' set but not used [-Wunused-but-set-variable] 5045 | int result, rcnt; | ^ ../bltTreeView.c:5289:19: warning: variable 'hasFocus' set but not used [-Wunused-but-set-variable] 5289 | int isActive, hasFocus; | ^ ../bltTreeView.c:5457:11: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 5457 | label = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:5566:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5566 | void DrawEntryRule( tvPtr, entryPtr, columnPtr, drawable, x, y) | ^ ../bltTreeView.c:5882:13: warning: variable 'mh' set but not used [-Wunused-but-set-variable] 5882 | int mw, mh; | ^ ../bltTreeView.c:6034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6034 | Blt_TreeViewDrawHeadings(tvPtr, drawable) | ^ ../bltTreeView.c:6088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6088 | DrawTreeView(tvPtr, drawable, x) | ^ ../bltTreeView.c:6193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6193 | Blt_TreeViewDrawOuterBorders(tvPtr, drawable) | ^ ../bltTreeView.c:6510:31: warning: initializing 'char *' with an expression of type 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 6510 | char *string = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeView.c:6637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6637 | TreeViewObjCmd(clientData, interp, objc, objv) | ^ 22 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewCmd.c ../bltTreeViewCmd.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | SkipSeparators(path, separator, length) | ^ ../bltTreeViewCmd.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | DeleteNode(tvPtr, node) | ^ ../bltTreeViewCmd.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | SplitPath(tvPtr, path, depthPtr, compPtrPtr) | ^ ../bltTreeViewCmd.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | LastEntry(tvPtr, entryPtr, mask) | ^ ../bltTreeViewCmd.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | LastNode(tvPtr, entryPtr, mask) | ^ ../bltTreeViewCmd.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | ShowEntryApplyProc(tvPtr, entryPtr) | ^ ../bltTreeViewCmd.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | HideEntryApplyProc(tvPtr, entryPtr) | ^ ../bltTreeViewCmd.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | MapAncestors(tvPtr, entryPtr) | ^ ../bltTreeViewCmd.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | MapAncestorsApplyProc(tvPtr, entryPtr) | ^ ../bltTreeViewCmd.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | FindPath(tvPtr, rootPtr, path) | ^ ../bltTreeViewCmd.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | NodeToObj(node) | ^ ../bltTreeViewCmd.c:519:4: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 519 | ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { | ^~~~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:519:29: warning: cast to smaller integer type 'unsigned int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 519 | ((unsigned int)context >= (unsigned int)ITEM_STYLE)) { | ^~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | GetEntryFromSpecialId(tvPtr, string, entryPtrPtr) | ^ ../bltTreeViewCmd.c:671:7: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 671 | int inode; | ^ ../bltTreeViewCmd.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | GetTagInfo(tvPtr, tagName, infoPtr) | ^ ../bltTreeViewCmd.c:701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 701 | Blt_TreeViewFirstTaggedEntry(infoPtr) | ^ ../bltTreeViewCmd.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | Blt_TreeViewNextTaggedEntry(infoPtr) | ^ ../bltTreeViewCmd.c:777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 777 | Blt_TreeViewGetTags(interp, tvPtr, entryPtr, list) | ^ ../bltTreeViewCmd.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | AddTag(tvPtr, node, tagName) | ^ ../bltTreeViewCmd.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | Blt_TreeViewFindTaggedEntries(tvPtr, objPtr, infoPtr) | ^ ../bltTreeViewCmd.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | Blt_TreeViewDoneTaggedEntries(infoPtr) | ^ ../bltTreeViewCmd.c:1081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1081 | GetEntryFromObj2(tvPtr, objPtr, entryPtrPtr) | ^ ../bltTreeViewCmd.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | GetEntryFromObj(tvPtr, objPtr, entryPtrPtr) | ^ ../bltTreeViewCmd.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | Blt_TreeViewGetEntry(tvPtr, objPtr, entryPtrPtr) | ^ ../bltTreeViewCmd.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | GetNthNode(parent, position) | ^ ../bltTreeViewCmd.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | Blt_TreeViewPercentSubst(tvPtr, entryPtr, columnPtr, command, value, resultPtr) | ^ ../bltTreeViewCmd.c:1335:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1335 | string = (entryPtr?GETLABEL(entryPtr):""); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:1345:10: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1345 | string = (columnPtr?columnPtr->key:"??"); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | SelectEntryApplyProc(tvPtr, entryPtr, columnPtr) | ^ ../bltTreeViewCmd.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | EventuallyInvokeSelectCmd(tvPtr) | ^ ../bltTreeViewCmd.c:1470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | Blt_TreeViewPruneSelection(tvPtr, rootPtr) | ^ ../bltTreeViewCmd.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | FocusOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1553 | EntryIssetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | EntryIsvisibleOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | EntryIsmappedOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | EntryUnsetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1692:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1692 | Blt_TreeNode node; | ^ ../bltTreeViewCmd.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | EntrySetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1780:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1780 | Blt_TreeNode node; | ^ ../bltTreeViewCmd.c:1772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1772 | EntryIncrOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1844:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 1844 | Blt_TreeNode node; | ^ ../bltTreeViewCmd.c:1837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | EntryGetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | EntryValueOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:1995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1995 | BboxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | DrawButton(tvPtr, entryPtr) | ^ ../bltTreeViewCmd.c:2174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2174 | ButtonActivateOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2222 | ButtonBindOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2250 | ButtonCgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2284 | ButtonConfigureOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2352:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2352 | result = (*proc) (tvPtr, interp, objc, objv); | ^ ../bltTreeViewCmd.c:2338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2338 | ButtonOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2365 | CgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2388 | CloseOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | ConfigureOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | CurselectionOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2605 | BindOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2659:15: warning: variable 'wx' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^ ../bltTreeViewCmd.c:2659:19: warning: variable 'wy' set but not used [-Wunused-but-set-variable] 2659 | int x, y, wx, wy; | ^ ../bltTreeViewCmd.c:2650:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2650 | EditOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | EntryActivateOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | EntryCgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2860 | EntryConfigureOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | EntryIsBeforeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2954 | EntryIsHiddenOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:2980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2980 | EntryIsLeafOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3007:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3007 | EntryIsOpenOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3026 | EntryParentOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3046 | EntryUpOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3083 | EntryDepthOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3103 | EntryDownOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3140 | EntryExistsOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3168 | EntryPrevOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3207 | EntryRelabelOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3230 | EntrySelectOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3268 | EntrySiblingOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3313 | EntryNextOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3350 | EntryChildrenOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3438 | EntryDeleteOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3531 | EntrySizeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3639:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3639 | result = (*proc) (tvPtr, interp, objc, objv); | ^ ../bltTreeViewCmd.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | EntryOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:3645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3645 | ExactCompare(interp, name, patternPtr, nocase) | ^ ../bltTreeViewCmd.c:3661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3661 | GlobCompare(interp, name, patternPtr, nocase) | ^ ../bltTreeViewCmd.c:3672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3672 | RegexpCompare(interp, name, patternPtr, nocase) | ^ ../bltTreeViewCmd.c:3704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3704 | InlistCompare(interp, name, patternPtr, nocase) | ^ ../bltTreeViewCmd.c:4286:22: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 4286 | curValue = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:3771:34: warning: variable 'cmdValue' set but not used [-Wunused-but-set-variable] 3771 | int isnull, retLabel, isret, cmdValue; | ^ ../bltTreeViewCmd.c:3746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3746 | FindOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:4541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4541 | GetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:4879:26: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 4879 | curValue = Blt_TreeNodeLabel(entryPtr->node); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:4665:47: warning: variable 'ocnt' set but not used [-Wunused-but-set-variable] 4665 | int result, nocase, uselabel = 0, optInd, ocnt; | ^ ../bltTreeViewCmd.c:4666:11: warning: variable 'pattern' set but not used [-Wunused-but-set-variable] 4666 | char *pattern, *curValue; | ^ ../bltTreeViewCmd.c:4652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4652 | SearchAndApplyToTree(tvPtr, interp, objc, objv, proc, nonMatchPtr) | ^ ../bltTreeViewCmd.c:4956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4956 | FixSelectionsApplyProc(tvPtr, entryPtr) | ^ ../bltTreeViewCmd.c:5000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5000 | HideOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:5052:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5052 | ShowOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:5084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5084 | IndexOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:5231:71: warning: passing 'Tcl_Obj *const **' (aka 'struct Tcl_Obj *const **') to parameter of type 'Tcl_Obj ***' (aka 'struct Tcl_Obj ***') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 5231 | if (Tcl_ListObjGetElements(interp, objv[count+1], &tobjc, &tobjv) != TCL_OK) { | ^~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: passing argument to parameter 'objvPtr' here 180 | Tcl_Obj ***objvPtr); | ^ ../bltTreeViewCmd.c:5236:71: warning: passing 'Tcl_Obj *const **' (aka 'struct Tcl_Obj *const **') to parameter of type 'Tcl_Obj ***' (aka 'struct Tcl_Obj ***') discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 5236 | if (Tcl_ListObjGetElements(interp, objv[count+1], &sobjc, &sobjv) != TCL_OK) { | ^~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:180:16: note: passing argument to parameter 'objvPtr' here 180 | Tcl_Obj ***objvPtr); | ^ ../bltTreeViewCmd.c:5195:9: warning: variable 'optSkips' set but not used [-Wunused-but-set-variable] 5195 | int optSkips, i, m, start, nOptions, inode; | ^ ../bltTreeViewCmd.c:5195:42: warning: variable 'inode' set but not used [-Wunused-but-set-variable] 5195 | int optSkips, i, m, start, nOptions, inode; | ^ ../bltTreeViewCmd.c:5170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5170 | InsertOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:5731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5731 | DeleteOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:5786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5786 | MoveOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:5866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5866 | NearestOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6050 | OpenOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6133 | RangeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6214 | ScanOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6279 | SeeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6402 | Blt_TreeViewClearSelection(tvPtr) | ^ ../bltTreeViewCmd.c:6453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6453 | LostSelection(clientData) | ^ ../bltTreeViewCmd.c:6479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6479 | SelectRange(tvPtr, fromPtr, toPtr) | ^ ../bltTreeViewCmd.c:6548:28: warning: incompatible pointer types passing 'TreeViewEntry *' (aka 'struct TreeViewEntryStruct *') to parameter of type 'Blt_TreeNode' (aka 'struct Blt_TreeNodeStruct *') [-Wincompatible-pointer-types] 6548 | objPtr = NodeToObj(tvPtr->selAnchorPtr); | ^~~~~~~~~~~~~~~~~~~ ../bltTreeViewCmd.c:6533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6533 | SelectionAnchorOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6595 | SelectionClearallOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6623 | SelectionIncludesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6662 | SelectionCellsOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6725 | SelectionMarkOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6792 | SelectionPresentOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6877:49: warning: too many arguments in call to 'SelectRange' 6877 | SelectRange(tvPtr, firstPtr, lastPtr, columnPtr); | ~~~~~~~~~~~ ^ ../bltTreeViewCmd.c:6824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6824 | SelectionSetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6941:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6941 | result = (*proc) (tvPtr, interp, objc, objv); | ^ ../bltTreeViewCmd.c:6927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6927 | SelectionOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6955 | TagForgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:6979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 6979 | TagNamesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7039 | TagNodesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7082 | TagDefine(tvPtr, interp, tagName) | ^ ../bltTreeViewCmd.c:7126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7126 | TagAddOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7163 | TagExistsOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7202 | TagDeleteOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7279:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7279 | result = (*proc)(tvPtr, interp, objc, objv); | ^ ../bltTreeViewCmd.c:7265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7265 | TagOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7285 | ToggleOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7330 | XViewOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7370 | YViewOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7460 | Blt_TreeViewWidgetInstCmd(clientData, interp, objc, objv) | ^ ../bltTreeViewCmd.c:7477:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7477 | result = (*proc) (tvPtr, interp, objc, objv); | ^ 138 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewColumn.c ../bltTreeViewColumn.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | ObjToColumn(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewColumn.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | ColumnToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewColumn.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | ObjToData(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewColumn.c:416:18: warning: variable 'node' set but not used [-Wunused-but-set-variable] 416 | Blt_TreeNode node; | ^ ../bltTreeViewColumn.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | ObjToColorPat(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewColumn.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | ColorPatToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewColumn.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | DataToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewColumn.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | Blt_TreeViewGetColumn(interp, tvPtr, objPtr, columnPtrPtr) | ^ ../bltTreeViewColumn.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | Blt_TreeViewGetColumnKey(interp, tvPtr, objPtr, columnPtrPtr, keyPtrPtr) | ^ ../bltTreeViewColumn.c:712:21: warning: variable 'columnPtr' set but not used [-Wunused-but-set-variable] 712 | TreeViewColumn *columnPtr; | ^ ../bltTreeViewColumn.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | Blt_TreeViewNumColumns(tvPtr) | ^ ../bltTreeViewColumn.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | Blt_TreeViewColumnRekey(tvPtr) | ^ ../bltTreeViewColumn.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | Blt_TreeViewColumnNum(tvPtr, string) | ^ ../bltTreeViewColumn.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | Blt_TreeViewColumnInd(tvPtr, columnPtr) | ^ ../bltTreeViewColumn.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | ObjToStyle(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewColumn.c:837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | StyleToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewColumn.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | FreeStyle(clientData, display, widgRec, offset, oldPtr) | ^ ../bltTreeViewColumn.c:866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 866 | ObjToStyles(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewColumn.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | StylesToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewColumn.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | FreeStyles(clientData, display, widgRec, offset, oldPtr) | ^ ../bltTreeViewColumn.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | Blt_TreeViewUpdateColumnGCs(tvPtr, columnPtr) | ^ ../bltTreeViewColumn.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | DestroyColumn(tvPtr, columnPtr) | ^ ../bltTreeViewColumn.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | Blt_TreeViewDestroyColumns(tvPtr) | ^ ../bltTreeViewColumn.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | Blt_TreeViewConfigureColumns(tvPtr) | ^ ../bltTreeViewColumn.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | ColumnConfigChanges(tvPtr, interp, columnPtr) | ^ ../bltTreeViewColumn.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | Blt_TreeViewCreateColumn(tvPtr, columnPtr, name, defTitle) | ^ ../bltTreeViewColumn.c:1329:2: warning: passing 'Blt_TreeKey' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1329 | columnPtr->key, "Column", columnSpecs, objc, objv, (char *)columnPtr, | ^~~~~~~~~~~~~~ ../bltObjConfig.h:211:25: note: passing argument to parameter 'name' here 211 | Tk_Window tkwin, char *name, char *className, Blt_ConfigSpec *specs, | ^ ../bltTreeViewColumn.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | CreateColumn(tvPtr, nameObjPtr, objc, objv) | ^ ../bltTreeViewColumn.c:1345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | Blt_TreeViewNearestColumn(tvPtr, x, y, contextPtr) | ^ ../bltTreeViewColumn.c:1424:24: warning: passing 'Blt_TreeKey' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1424 | Tcl_SetResult(interp, tvPtr->activeTitleColumnPtr->key, TCL_VOLATILE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:692:54: note: passing argument to parameter 'result' here 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ^ ../bltTreeViewColumn.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | ColumnActivateOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | ColumnBindOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | ColumnCgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1507 | ColumnConfigureOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | ColumnDeleteOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1680 | ColumnIssetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1774 | ColumnIndexOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | ColumnIstreeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1849 | ColumnInsertOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:1972:24: warning: passing 'Blt_TreeKey' (aka 'const char *') to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1972 | Tcl_SetResult(interp, columnPtr->key, TCL_VOLATILE); | ^~~~~~~~~~~~~~ /usr/local/include/tcl8.6/generic/tclDecls.h:692:54: note: passing argument to parameter 'result' here 692 | EXTERN void Tcl_SetResult(Tcl_Interp *interp, char *result, | ^ ../bltTreeViewColumn.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | ColumnCurrentOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2011:10: warning: assigning to 'char *' from 'Blt_TreeKey' (aka 'const char *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 2011 | string = columnPtr->key; | ^ ~~~~~~~~~~~~~~ ../bltTreeViewColumn.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | ColumnPercentSubst(tvPtr, columnPtr, command, resultPtr) | ^ ../bltTreeViewColumn.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | ColumnInvokeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2108 | ColumnValuesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | ColumnMoveOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | ColumnNamesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2292 | ColumnNearestOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2343 | ColumnOffsetsOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2382 | ColumnBboxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2480:16: warning: variable 'height' set but not used [-Wunused-but-set-variable] 2480 | int width, height; | ^ ../bltTreeViewColumn.c:2473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2473 | ColumnSeeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | UpdateMark(tvPtr, newMark) | ^ ../bltTreeViewColumn.c:2613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2613 | ResizeActivateOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2653 | ResizeAnchorOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2682 | ResizeMarkOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2709 | ResizeSetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2762:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2762 | result = (*proc) (tvPtr, interp, objc, objv); | ^ ../bltTreeViewColumn.c:2748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2748 | ColumnResizeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2801 | Blt_TreeViewColumnOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:2815:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2815 | result = (*proc) (tvPtr, interp, objc, objv); | ^ ../bltTreeViewColumn.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | InvokeCompare(tvPtr, e1Ptr, e2Ptr, command) | ^ ../bltTreeViewColumn.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2967 | CompareEntries(a, b) | ^ ../bltTreeViewColumn.c:3057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3057 | SortAutoOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:3095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3095 | SortCgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:3129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3129 | SortConfigureOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:3169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3169 | SortOnceOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:3241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3241 | Blt_TreeViewSortOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewColumn.c:3255:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3255 | result = (*proc) (tvPtr, interp, objc, objv); | ^ ../bltTreeViewColumn.c:3273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3273 | SortApplyProc(node, clientData, order) | ^ ../bltTreeViewColumn.c:3297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3297 | Blt_TreeViewSortFlatView(tvPtr) | ^ ../bltTreeViewColumn.c:3345:14: warning: variable 'key' set but not used [-Wunused-but-set-variable] 3345 | Blt_TreeKey key; | ^ ../bltTreeViewColumn.c:3398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3398 | Blt_TreeViewSortTreeView(tvPtr) | ^ 73 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewEdit.c ../bltTreeViewEdit.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | EventuallyRedraw(tbPtr) | ^ ../bltTreeViewEdit.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | BlinkCursorProc(clientData) | ^ ../bltTreeViewEdit.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | TextboxEventProc(clientData, eventPtr) | ^ ../bltTreeViewEdit.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | TextboxLostSelectionProc(clientData) | ^ ../bltTreeViewEdit.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | PointerToIndex(tbPtr, x, y) | ^ ../bltTreeViewEdit.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | IndexToPointer(tbPtr) | ^ ../bltTreeViewEdit.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | UpdateLayout(tbPtr) | ^ ../bltTreeViewEdit.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | InsertText(tbPtr, insertText, insertPos, nBytes) | ^ ../bltTreeViewEdit.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | DeleteText(tbPtr, firstPos, lastPos) | ^ ../bltTreeViewEdit.c:753:9: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 753 | string = GETLABEL(entryPtr); | ^ ~~~~~~~~~~~~~~~~~~ ../bltTreeViewEdit.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | AcquireText(tvPtr, tbPtr, entryPtr, columnPtr) | ^ ../bltTreeViewEdit.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | GetIndexFromObj(interp, tbPtr, objPtr, indexPtr) | ^ ../bltTreeViewEdit.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | SelectText(tbPtr, textPos) | ^ ../bltTreeViewEdit.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | TextboxSelectionProc(clientData, offset, buffer, maxBytes) | ^ ../bltTreeViewEdit.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | DestroyTextbox(data) | ^ ../bltTreeViewEdit.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | ConfigureTextbox(tbPtr) | ^ ../bltTreeViewEdit.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | Blt_TreeViewTextbox(tvPtr, entryPtr, columnPtr) | ^ ../bltTreeViewEdit.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | DisplayTextbox(clientData) | ^ ../bltTreeViewEdit.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | ApplyOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | CancelOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | CgetOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | ConfigureOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | DeleteOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | IcursorOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | IndexOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1541 | InsertOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1568 | SelectionAdjustOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1592 | SelectionClearOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1607 | SelectionFromOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | SelectionPresentOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1639 | SelectionRangeOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | SelectionToOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1718:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | result = (*proc) (tbPtr, interp, objc, objv); | ^ ../bltTreeViewEdit.c:1704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | SelectionOp(tbPtr, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1749 | TextboxCmd(clientData, interp, objc, objv) | ^ ../bltTreeViewEdit.c:1764:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | result = (*proc) (tbPtr, interp, objc, objv); | ^ 36 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTreeViewStyle.c ../bltTreeViewStyle.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | StickyToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewStyle.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | ObjToSticky(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewStyle.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | ObjToIcon(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltTreeViewStyle.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | IconToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltTreeViewStyle.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | FreeIcon(clientData, display, widgRec, offset, oldPtr) | ^ ../bltTreeViewStyle.c:681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | CreateTextBox(tvPtr, hPtr) | ^ ../bltTreeViewStyle.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | ConfigureTextBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | MeasureTextBox(tvPtr, stylePtr, valuePtr) | ^ ../bltTreeViewStyle.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | drawTextBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y, sRec) | ^ ../bltTreeViewStyle.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | GetColorPats(tvPtr, entryPtr, valuePtr, stylePtr, fgPtr) | ^ ../bltTreeViewStyle.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | DrawTextBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ ../bltTreeViewStyle.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | EditTextBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ ../bltTreeViewStyle.c:1357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1357 | FreeTextBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:1391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1391 | CreateCheckBox(tvPtr, hPtr) | ^ ../bltTreeViewStyle.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | ConfigureCheckBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | MeasureCheckBox(tvPtr, stylePtr, valuePtr) | ^ ../bltTreeViewStyle.c:1582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | DrawCheckBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ ../bltTreeViewStyle.c:1598:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^ ../bltTreeViewStyle.c:1598:22: warning: variable 'relief' set but not used [-Wunused-but-set-variable] 1598 | int borderWidth, relief; | ^ ../bltTreeViewStyle.c:1603:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 1603 | TextLayout *layPtr; | ^ ../bltTreeViewStyle.c:1868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1868 | EditCheckBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ ../bltTreeViewStyle.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | FreeCheckBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:1980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | CreateComboBox(tvPtr, hPtr) | ^ ../bltTreeViewStyle.c:2012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2012 | ConfigureComboBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:2039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2039 | MeasureComboBox(tvPtr, stylePtr, valuePtr) | ^ ../bltTreeViewStyle.c:2124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2124 | DrawComboBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ ../bltTreeViewStyle.c:2290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2290 | PickComboBox(entryPtr, valuePtr, stylePtr, worldX, worldY) | ^ ../bltTreeViewStyle.c:2330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2330 | EditComboBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ ../bltTreeViewStyle.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | FreeComboBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:2386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2386 | CreateBarBox(tvPtr, hPtr) | ^ ../bltTreeViewStyle.c:2418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | ConfigureBarBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:2482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2482 | MeasureBarBox(tvPtr, stylePtr, valuePtr) | ^ ../bltTreeViewStyle.c:2607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2607 | DrawBarBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ ../bltTreeViewStyle.c:2627:11: warning: variable 'string' set but not used [-Wunused-but-set-variable] 2627 | char *string; | ^ ../bltTreeViewStyle.c:2630:17: warning: variable 'layPtr' set but not used [-Wunused-but-set-variable] 2630 | TextLayout *layPtr; | ^ ../bltTreeViewStyle.c:2872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2872 | EditBarBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ ../bltTreeViewStyle.c:2904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2904 | FreeBarBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:2935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2935 | CreateWindowBox(tvPtr, hPtr) | ^ ../bltTreeViewStyle.c:2964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2964 | ConfigureWindowBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:2992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2992 | MeasureWindowBox(tvPtr, stylePtr, valuePtr) | ^ ../bltTreeViewStyle.c:3252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3252 | EmbWinStructureProc(clientData, eventPtr) | ^ ../bltTreeViewStyle.c:3404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3404 | DrawWindowBox(tvPtr, drawable, entryPtr, valuePtr, stylePtr, icon, x, y) | ^ ../bltTreeViewStyle.c:3415:15: warning: variable 'tkwin' set but not used [-Wunused-but-set-variable] 3415 | Tk_Window tkwin; | ^ ../bltTreeViewStyle.c:3462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3462 | EditWindowBox(tvPtr, entryPtr, valuePtr, stylePtr, x, y, retVal) | ^ ../bltTreeViewStyle.c:3493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3493 | FreeWindowBox(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | GetStyle(interp, tvPtr, styleName) | ^ ../bltTreeViewStyle.c:3534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3534 | Blt_TreeViewGetStyle(interp, tvPtr, styleName, stylePtrPtr) | ^ ../bltTreeViewStyle.c:3552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3552 | Blt_TreeViewGetStyleMake(interp, tvPtr, styleName, stylePtrPtr, columnPtr, entryPtr, valuePtr) | ^ ../bltTreeViewStyle.c:3615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3615 | CreateStyle(interp, tvPtr, type, styleName, objc, objv, create) | ^ ../bltTreeViewStyle.c:3688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3688 | Blt_TreeViewUpdateStyleGCs(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3699 | Blt_TreeViewUpdateStyles(tvPtr) | ^ ../bltTreeViewStyle.c:3715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3715 | Blt_TreeViewCreateStyle(interp, tvPtr, type, styleName) | ^ ../bltTreeViewStyle.c:3728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3728 | Blt_TreeViewFreeStyle(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3767 | Blt_TreeViewSetStyleIcon(tvPtr, stylePtr, icon) | ^ ../bltTreeViewStyle.c:3781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3781 | Blt_TreeViewGetStyleGC(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3790 | Blt_TreeViewGetStyleBorder(tvPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3806 | Blt_TreeViewGetStyleFont(tvPtr, columnPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3823 | Blt_TreeViewGetStyleFg(tvPtr, columnPtr, stylePtr) | ^ ../bltTreeViewStyle.c:3840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3840 | DrawValue(tvPtr, entryPtr, valuePtr) | ^ ../bltTreeViewStyle.c:3947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3947 | StyleActivateOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4021 | StyleCgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4049 | StyleCheckBoxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4081 | StyleComboBoxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4123 | StyleConfigureOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4179 | StyleForgetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | StyleUseOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4263 | StyleTypeOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4356 | StyleHighlightOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4405 | StyleNamesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4429 | StyleSlavesOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4550 | StyleSetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4642 | StyleFindOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4722 | StyleTextBoxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4753 | StyleWindowBoxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4783 | StyleBarBoxOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4820 | StyleGetOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:4947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4947 | StyleCreateOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:5021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5021 | Blt_TreeViewStyleOp(tvPtr, interp, objc, objv) | ^ ../bltTreeViewStyle.c:5035:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5035 | result = (*proc)(tvPtr, interp, objc, objv); | ^ 79 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltUnixDnd.c ../bltUnixDnd.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | StringToCursors(clientData, interp, tkwin, string, widgRec, offset) | ^ ../bltUnixDnd.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | CursorsToString(clientData, tkwin, widgRec, offset, freeProcPtr) | ^ ../bltUnixDnd.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | PrintList(list) | ^ ../bltUnixDnd.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | XSendEventErrorProc(clientData, errEventPtr) | ^ ../bltUnixDnd.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | SendClientMsg(display, window, mesgAtom, data0, data1, data2, data3, data4) | ^ ../bltUnixDnd.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | GetWindowZOrder(display, window) | ^ ../bltUnixDnd.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | GetMaxPropertySize(display) | ^ ../bltUnixDnd.c:856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 856 | GetProperty(display, window, atom) | ^ ../bltUnixDnd.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | SetProperty(tkwin, atom, data) | ^ ../bltUnixDnd.c:927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 927 | GetWindowRegion(display, windowPtr) | ^ ../bltUnixDnd.c:956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 956 | FindTopWindow(dndPtr, x, y) | ^ ../bltUnixDnd.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | GetWidgetCursor(interp, tkwin) | ^ ../bltUnixDnd.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | NameOfStatus(status) | ^ ../bltUnixDnd.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | NameOfAction(action) | ^ ../bltUnixDnd.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | GetAction(string) | ^ ../bltUnixDnd.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | GetDragResult(interp, string) | ^ ../bltUnixDnd.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | AnimateActiveCursor(clientData) | ^ ../bltUnixDnd.c:1190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1190 | StartActiveCursor(dndPtr) | ^ ../bltUnixDnd.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | StopActiveCursor(dndPtr) | ^ ../bltUnixDnd.c:1242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1242 | EventuallyRedrawToken(dndPtr) | ^ ../bltUnixDnd.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | RaiseToken(dndPtr) | ^ ../bltUnixDnd.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | DisplayToken(clientData) | ^ ../bltUnixDnd.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | FadeToken(dndPtr) | ^ ../bltUnixDnd.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | SnapToken(dndPtr) | ^ ../bltUnixDnd.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | HideToken(dndPtr) | ^ ../bltUnixDnd.c:1463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1463 | MorphToken(dndPtr) | ^ ../bltUnixDnd.c:1516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | GetTokenPosition(dndPtr, x, y) | ^ ../bltUnixDnd.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | MoveToken(dndPtr) | ^ ../bltUnixDnd.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | ChangeToken(dndPtr, status) | ^ ../bltUnixDnd.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | DrawRejectSymbol(dndPtr) | ^ ../bltUnixDnd.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | DestroyToken(data) | ^ ../bltUnixDnd.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | TokenEventProc(clientData, eventPtr) | ^ ../bltUnixDnd.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | CreateToken(interp, dndPtr) | ^ ../bltUnixDnd.c:1824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | ConfigureToken(interp, dndPtr, argc, argv, flags) | ^ ../bltUnixDnd.c:1838:3: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1838 | argv, (char *)tokenPtr, flags) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltUnixDnd.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | GetFormattedData(dndPtr, format, timestamp, resultPtr) | ^ ../bltUnixDnd.c:1950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1950 | DestroyDnd(data) | ^ ../bltUnixDnd.c:2041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2041 | GetDnd(clientData, interp, pathName, dndPtrPtr) | ^ ../bltUnixDnd.c:2077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2077 | CreateDnd(interp, tkwin) | ^ ../bltUnixDnd.c:2096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2096 | ConfigureDnd(interp, dndPtr) | ^ ../bltUnixDnd.c:2176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2176 | SendRestrictProc(clientData, eventPtr) | ^ ../bltUnixDnd.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | SendTimerProc(clientData) | ^ ../bltUnixDnd.c:2239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2239 | TargetPropertyEventProc(clientData, eventPtr) | ^ ../bltUnixDnd.c:2325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2325 | CompleteDataTransaction(dndPtr, format, pendingPtr) | ^ ../bltUnixDnd.c:2430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | SourcePropertyEventProc(clientData, eventPtr) | ^ ../bltUnixDnd.c:2507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2507 | SendDataToTarget(dndPtr, pendingPtr) | ^ ../bltUnixDnd.c:2557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | DoDrop(dndPtr, eventPtr) | ^ ../bltUnixDnd.c:2603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2603 | DropFinished(dndPtr, eventPtr) | ^ ../bltUnixDnd.c:2645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | FreeFormats(dndPtr) | ^ ../bltUnixDnd.c:2656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2656 | GetSourceFormats(dndPtr, window, timestamp) | ^ ../bltUnixDnd.c:2681:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2681 | InvokeCallback(dndPtr, cmd, x, y, formats, button, keyState, timestamp) | ^ ../bltUnixDnd.c:2781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2781 | AcceptDrop(dndPtr, x, y, formats, button, keyState, timestamp) | ^ ../bltUnixDnd.c:2901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2901 | HandleDropEvent(dndPtr, eventPtr) | ^ ../bltUnixDnd.c:3005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3005 | HandleDragEvent(dndPtr, eventPtr) | ^ ../bltUnixDnd.c:3062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3062 | DndEventProc(clientData, eventPtr) | ^ ../bltUnixDnd.c:3132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3132 | SendPointerMessage(dndPtr, eventType, windowPtr, x, y) | ^ ../bltUnixDnd.c:3152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | RelayEnterEvent(dndPtr, windowPtr, x, y) | ^ ../bltUnixDnd.c:3163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3163 | RelayLeaveEvent(dndPtr, windowPtr, x, y) | ^ ../bltUnixDnd.c:3174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3174 | RelayMotionEvent(dndPtr, windowPtr, x, y) | ^ ../bltUnixDnd.c:3185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3185 | RelayDropEvent(dndPtr, windowPtr, x, y) | ^ ../bltUnixDnd.c:3201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3201 | FreeWinfo(windowPtr) | ^ ../bltUnixDnd.c:3236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3236 | GetWinfo(display, windowPtr) | ^ ../bltUnixDnd.c:3304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3304 | InitRoot(dndPtr) | ^ ../bltUnixDnd.c:3319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3319 | ParseProperty(interp, dndPtr, windowPtr, data) | ^ ../bltUnixDnd.c:3420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3420 | OverTarget(dndPtr) | ^ ../bltUnixDnd.c:3504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3504 | AddTargetProperty(dndPtr) | ^ ../bltUnixDnd.c:3546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3546 | CancelDrag(dndPtr) | ^ ../bltUnixDnd.c:3566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3566 | DragInit(dndPtr, x, y) | ^ ../bltUnixDnd.c:3700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3700 | CancelOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:3734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3734 | CgetOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:3781:6: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 3781 | argv + 3, (char *)dndPtr, flags) != TCL_OK) { | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltUnixDnd.c:3760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3760 | ConfigureOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:3812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3812 | DeleteOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:3855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3855 | SelectOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:3934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3934 | DragOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4043 | DropOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4120 | GetdataOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4200 | NamesOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4257 | PullOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4351 | SetdataOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4444:5: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 4444 | argv + 3, (char *)dndPtr, 0) != TCL_OK) { | ^~~~~~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltUnixDnd.c:4417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4417 | RegisterOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4461 | TokenWindowOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4500 | TokenCgetOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4528 | TokenConfigureOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4590:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4590 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltUnixDnd.c:4577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4577 | TokenOp(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4627 | DndCmd(clientData, interp, argc, argv) | ^ ../bltUnixDnd.c:4640:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4640 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltUnixDnd.c:4662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4662 | DndInterpDeleteProc(clientData, interp) | ^ ../bltUnixDnd.c:4683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4683 | GetDndInterpData(interp) | ^ ../bltUnixDnd.c:4737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4737 | Blt_DndInit(interp) | ^ ../bltUnixDnd.c:1463:1: warning: function 'MorphToken' is not needed and will not be emitted [-Wunneeded-internal-declaration] 1463 | MorphToken(dndPtr) | ^~~~~~~~~~ 93 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltWindow.c ../bltWindow.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | Blt_GetParent(display, window) | ^ ../bltWindow.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | GetWindowId(tkwin) | ^ ../bltWindow.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | DoConfigureNotify(winPtr) | ^ ../bltWindow.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | Blt_MakeTransparentWindowExist(tkwin, parent, isBusy) | ^ ../bltWindow.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | Blt_FindChild(parent, name) | ^ ../bltWindow.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | Blt_FirstChild(parent) | ^ ../bltWindow.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | Blt_NextChild(tkwin) | ^ ../bltWindow.c:439:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | UnlinkWindow(winPtr) | ^ ../bltWindow.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | Blt_RelinkWindow(tkwin, newParent, x, y) | ^ ../bltWindow.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | Blt_RelinkWindow2(tkwin, window, newParent, x, y) | ^ ../bltWindow.c:573:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 573 | Blt_UnlinkWindow(tkwin) | ^ ../bltWindow.c:605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | Blt_Toplevel(tkwin) | ^ ../bltWindow.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | Blt_RootCoordinates(tkwin, x, y, rootXPtr, rootYPtr) | ^ ../bltWindow.c:636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | Blt_RootX(tkwin) | ^ ../bltWindow.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | Blt_RootY(tkwin) | ^ ../bltWindow.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | Blt_GetRealWindowId(tkwin) | ^ ../bltWindow.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | Blt_RaiseToplevel(tkwin) | ^ ../bltWindow.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | Blt_LowerToplevel(tkwin) | ^ ../bltWindow.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | Blt_ResizeToplevel(tkwin, width, height) | ^ ../bltWindow.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | Blt_MoveResizeToplevel(tkwin, x, y, width, height) | ^ ../bltWindow.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | Blt_MoveToplevel(tkwin, x, y) | ^ ../bltWindow.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | Blt_MapToplevel(tkwin) | ^ ../bltWindow.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | Blt_UnmapToplevel(tkwin) | ^ ../bltWindow.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | XReparentWindowErrorProc(clientData, errEventPtr) | ^ ../bltWindow.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | Blt_ReparentWindow(display, window, newParent, x, y) | ^ ../bltWindow.c:1028:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1028 | Blt_SetWindowInstanceData(tkwin, instanceData) | ^ ../bltWindow.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | Blt_GetWindowInstanceData(tkwin) | ^ ../bltWindow.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | Blt_DeleteWindowInstanceData(tkwin) | ^ 28 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltObjConfig.c ../bltObjConfig.c:373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | Blt_GetPositionFromObj(interp, objPtr, indexPtr) | ^ ../bltObjConfig.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | Blt_GetPositionSizeFromObj(interp, objPtr, size, indexPtr) | ^ ../bltObjConfig.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | Blt_GetPixelsFromObj(interp, tkwin, objPtr, check, valuePtr) | ^ ../bltObjConfig.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | Blt_GetPadFromObj(interp, tkwin, objPtr, padPtr) | ^ ../bltObjConfig.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | Blt_GetShadowFromObj(interp, tkwin, objPtr, shadowPtr) | ^ ../bltObjConfig.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | Blt_GetStateFromObj(interp, objPtr, statePtr) | ^ ../bltObjConfig.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | Blt_NameOfState(state) | ^ ../bltObjConfig.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | Blt_GetFillFromObj(interp, objPtr, fillPtr) | ^ ../bltObjConfig.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | Blt_GetDashesFromObj(interp, objPtr, dashesPtr) | ^ ../bltObjConfig.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | Blt_NameOfSide(side) | ^ ../bltObjConfig.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | Blt_GetSideFromObj(interp, objPtr, sidePtr) | ^ ../bltObjConfig.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | Blt_NameOfArrow(side) | ^ ../bltObjConfig.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | Blt_GetArrowFromObj(interp, objPtr, sidePtr) | ^ ../bltObjConfig.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | Blt_ObjToEnum(clientData, interp, tkwin, objPtr, widgRec, offset) | ^ ../bltObjConfig.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | Blt_EnumToObj(clientData, interp, tkwin, widgRec, offset) | ^ ../bltObjConfig.c:1341:10: warning: cast to smaller integer type 'unsigned int' from 'Blt_CustomOption *' (aka 'struct Blt_CustomOption *') [-Wpointer-to-int-cast] 1341 | flag = (unsigned int)specPtr->customPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltObjConfig.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | DoConfig(interp, tkwin, specPtr, objPtr, widgRec) | ^ ../bltObjConfig.c:1642:29: warning: cast to smaller integer type 'unsigned int' from 'Blt_CustomOption *' (aka 'struct Blt_CustomOption *') [-Wpointer-to-int-cast] 1642 | flag = (*(int *)ptr) & (unsigned int)specPtr->customPtr; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltObjConfig.c:1545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1545 | FormatConfigValue(interp, tkwin, specPtr, widgRec) | ^ ../bltObjConfig.c:1763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1763 | FormatConfigInfo(interp, tkwin, specPtr, widgRec) | ^ ../bltObjConfig.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | FindConfigSpec(interp, specs, objPtr, needFlags, hateFlags) | ^ ../bltObjConfig.c:1947:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1947 | Blt_ConfigureWidgetFromObj(interp, tkwin, specs, objc, objv, widgRec, flags, subwin) | ^ ../bltObjConfig.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | Blt_ConfigureInfoFromObj(interp, tkwin, specs, widgRec, objPtr, flags) | ^ ../bltObjConfig.c:2224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2224 | Blt_FormatSpecOptions(interp, specs) | ^ ../bltObjConfig.c:2258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2258 | Blt_ConfigureValueFromObj(interp, tkwin, specs, widgRec, objPtr, flags) | ^ ../bltObjConfig.c:2307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2307 | Blt_FreeObjOptions(interp, specs, widgRec, display, needFlags) | ^ ../bltObjConfig.c:2497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2497 | Blt_ConfigureComponentFromObj(interp, parent, name, className, specsPtr, | ^ ../bltObjConfig.c:2559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2559 | Blt_ObjIsOption(interp, specs, objPtr, flags) | ^ ../bltObjConfig.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | DeleteSpecCacheTable(clientData, interp) | ^ ../bltObjConfig.c:2617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2617 | Blt_GetCachedBltSpecs(interp, staticSpecs) | ^ ../bltObjConfig.c:2625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2625 | GetCachedBltSpecs(interp, staticSpecs) | ^ 31 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltWinop.c ../bltWinop.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | GetRealizedWindow(interp, string, tkwinPtr) | ^ ../bltWinop.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | StringToWindow(interp, string) | ^ ../bltWinop.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | XGeometryErrorProc(clientData, errEventPtr) | ^ ../bltWinop.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | GetWindowSize(interp, window, widthPtr, heightPtr) | ^ ../bltWinop.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | ColormapOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | LowerOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | RaiseOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | MapOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | MoveOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:346:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | UnmapOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | ChangesOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | ParentOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | QueryOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | WarpToOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | ConvolveOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | QuantizeOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | AlphaOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | RecolorOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:984:23: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 984 | cnt = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltWinop.c:986:17: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 986 | Blt_SetHashValue(hPtr, cnt); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltHash.h:191:55: note: expanded from macro 'Blt_SetHashValue' 191 | #define Blt_SetHashValue(h, value) ((h)->clientData = (ClientData)(value)) | ^~~~~~~~~~~~~~~~~~~ ../bltWinop.c:998:19: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 998 | cnt = (int)Blt_GetHashValue(hPtr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../bltWinop.c:916:9: warning: variable 'top' set but not used [-Wunused-but-set-variable] 916 | int top, x, y, isalph, iscnt, isNew, cnt; | ^ ../bltWinop.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | ColorsOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | TransOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | MergeOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:1469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1469 | ReadJPEGOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:1527:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1527 | int x, y, width; | ^ ../bltWinop.c:1519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1519 | GradientsOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:1577:12: warning: variable 'y' set but not used [-Wunused-but-set-variable] 1577 | int x, y, width; | ^ ../bltWinop.c:1633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1633 | GradientOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2003 | ResampleOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | BlurOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | RotateOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2349 | MirrorOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2423:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2423 | SnapOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | SubsampleOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2574:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2574 | result = (*proc) (clientData, interp, argc - 1, argv + 1); | ^ ../bltWinop.c:2560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2560 | ImageOp(clientData, interp, argc, argv) | ^ ../bltWinop.c:2604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2604 | WinopCmd(clientData, interp, argc, argv) | ^ ../bltWinop.c:2618:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2618 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltWinop.c:2623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2623 | Blt_WinopInit(interp) | ^ 41 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../tkButton.c ../tkButton.c:355:10: warning: variable 'c' set but not used [-Wunused-but-set-variable] 355 | char c; | ^ ../tkButton.c:874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 874 | EventuallyRedraw(butPtr) | ^ ../tkButton.c:901:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] 901 | int result, i; | ^ ../tkButton.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | ButtonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | CheckbuttonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1055 | LabelCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | BFrameCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | FrameCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | MenubuttonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1099:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1099 | RadiobuttonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | BButtonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1120 | BCheckbuttonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | BLabelCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1142 | BMenubuttonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1153 | BRadiobuttonCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | ButtonCreate(clientData, interp, argc, argv, type) | ^ ../tkButton.c:1340:12: warning: returning 'const char *' from a function with result type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 1340 | return value; | ^~~~~ ../tkButton.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | ButtonWidgetCmd(clientData, interp, argc, argv) | ^ ../tkButton.c:1538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1538 | DestroyButton(butPtr) | ^ ../tkButton.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | TileChangedProc(clientData, tile) | ^ ../tkButton.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | ConfigureButton(interp, butPtr, argc, argv, flags) | ^ ../tkButton.c:1723:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 1723 | argc, argv, (char *)butPtr, flags) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../tkButton.c:1706:9: warning: variable 'oldNode' set but not used [-Wunused-but-set-variable] 1706 | int oldNode, result = TCL_OK; | ^ ../tkButton.c:2206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2206 | DisplayButton(clientData) | ^ ../tkButton.c:2222:9: warning: variable 'borderWidth' set but not used [-Wunused-but-set-variable] 2222 | int borderWidth, drawBorder; | ^ ../tkButton.c:2857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2857 | ComputeButtonGeometry(butPtr) | ^ ../tkButton.c:3155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3155 | ButtonEventProc(clientData, eventPtr) | ^ ../tkButton.c:3227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3227 | ButtonCmdDeletedProc(clientData) | ^ ../tkButton.c:3270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3270 | InvokeButton(butPtr) | ^ ../tkButton.c:3389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3389 | ButtonVarProc(clientData, interp, name1, name2, flags) | ^ ../tkButton.c:3531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3531 | ButtonTextVarProc(clientData, interp, name1, name2, flags) | ^ ../tkButton.c:3599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3599 | ButtonImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ ../tkButton.c:3622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3622 | ButtonImageBdProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ ../tkButton.c:3666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3666 | ButtonSelectImageProc(clientData, x, y, width, height, imgWidth, imgHeight) | ^ ../tkButton.c:3693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3693 | Blt_ButtonInit(interp) | ^ 35 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../tkFrame.c ../tkFrame.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | FrameCmd(clientData, interp, argc, argv) | ^ ../tkFrame.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | ToplevelCmd(clientData, interp, argc, argv) | ^ ../tkFrame.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | BltCreateFrame(clientData, interp, argc, argv, toplevel, appName) | ^ ../tkFrame.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | FrameWidgetCmd(clientData, interp, argc, argv) | ^ ../tkFrame.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | DestroyFrame(memPtr) | ^ ../tkFrame.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | TileChangedProc(clientData, tile) | ^ ../tkFrame.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | ConfigureFrame(interp, framePtr, argc, argv, flags) | ^ ../tkFrame.c:737:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 737 | argc, argv, (char *)framePtr, flags | framePtr->mask) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../tkFrame.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | DisplayFrame(clientData) | ^ ../tkFrame.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | FrameEventProc(clientData, eventPtr) | ^ ../tkFrame.c:953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 953 | FrameCmdDeletedProc(clientData) | ^ ../tkFrame.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | MapFrame(clientData) | ^ ../tkFrame.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | Blt_FrameInit(interp) | ^ 13 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltScrollbar.c ../bltScrollbar.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | scrollbarCmd(clientData, interp, argc, argv, stype) | ^ ../bltScrollbar.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | BScrollbarCmd(clientData, interp, argc, argv) | ^ ../bltScrollbar.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | ScrollbarCmd(clientData, interp, argc, argv) | ^ ../bltScrollbar.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | ScrollbarWidgetCmd(clientData, interp, argc, argv) | ^ ../bltScrollbar.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | DestroyScrollbar(memPtr) | ^ ../bltScrollbar.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | TileChangedProc(clientData, tile) | ^ ../bltScrollbar.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | ConfigureScrollbar(interp, scrollPtr, argc, argv, flags) | ^ ../bltScrollbar.c:917:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 917 | argc, argv, (char *)scrollPtr, flags) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltScrollbar.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | DisplayScrollbar(clientData) | ^ ../bltScrollbar.c:1020:12: warning: unused variable 'points' [-Wunused-variable] 1020 | XPoint points[7]; | ^~~~~~ ../bltScrollbar.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | ScrollbarEventProc(clientData, eventPtr) | ^ ../bltScrollbar.c:1362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | ScrollbarCmdDeletedProc(clientData) | ^ ../bltScrollbar.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | ComputeScrollbarGeometry(scrollPtr) | ^ ../bltScrollbar.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | ScrollbarPosition(scrollPtr, x, y) | ^ ../bltScrollbar.c:1546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1546 | EventuallyRedraw(scrollPtr) | ^ ../bltScrollbar.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | Blt_ScrollbarInit(interp) | ^ 16 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include ../bltTed.c ../bltTed.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | EventuallyRedraw(tedPtr) | ^ ../bltTed.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | EventuallyRedrawEntry(repPtr) | ^ ../bltTed.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | EntryEventProc(clientData, eventPtr) | ^ ../bltTed.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | TedEventProc(clientData, eventPtr) | ^ ../bltTed.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | CreateGrid(tedPtr) | ^ ../bltTed.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | CreateEventWindow(tedPtr) | ^ ../bltTed.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | CreateEntry(tedPtr, entryPtr) | ^ ../bltTed.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | DestroyEntry(data) | ^ ../bltTed.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | DisplayEntry(clientData) | ^ ../bltTed.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | FindEditor(clientData, interp, pathName) | ^ ../bltTed.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | CreateTed(tablePtr, interp) | ^ ../bltTed.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | DestroyTed(freeProcData) | ^ ../bltTed.c:830:12: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] 830 | argc, argv, (char *)tedPtr, flags) != TCL_OK) { | ^~~~ ../bltOldConfig.h:29:134: note: expanded from macro 'Tk_ConfigureWidget' 29 | #define Tk_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) Blt_ConfigureWidget(interp, tkwin, origSpecs, argc, argv, widgRec, flags) | ^~~~ ../bltOldConfig.h:13:29: note: passing argument to parameter 'argv' here 13 | int argc, CONST char ** argv, | ^ ../bltTed.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | ConfigureTed(tedPtr, argc, argv, flags) | ^ ../bltTed.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | LayoutGrid(tedPtr) | ^ ../bltTed.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | LayoutPads(tedPtr) | ^ ../bltTed.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | LayoutEntries(tedPtr) | ^ ../bltTed.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | LayoutControlEntries(tedPtr) | ^ ../bltTed.c:1240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1240 | LayoutButtons(tedPtr) | ^ ../bltTed.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | DisplayTed(clientData) | ^ ../bltTed.c:1424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1424 | DrawEditor(editPtr) | ^ ../bltTed.c:1440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1440 | DestroyEditor(destroyData) | ^ ../bltTed.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | EditOp(dataPtr, interp, argc, argv) | ^ ../bltTed.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | CgetOp(dataPtr, interp, argc, argv) | ^ ../bltTed.c:1562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1562 | ConfigureOp(dataPtr, interp, argc, argv) | ^ ../bltTed.c:1598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1598 | SelectOp(dataPtr, interp, argc, argv) | ^ ../bltTed.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | RepOp(dataPtr, interp, argc, argv) | ^ ../bltTed.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | TedCmd(clientData, interp, argc, argv) | ^ ../bltTed.c:1820:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1820 | result = (*proc) (clientData, interp, argc, argv); | ^ ../bltTed.c:1825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1825 | GetTableInterpData(interp) | ^ ../bltTed.c:1854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1854 | Blt_TedInit(interp) | ^ ../bltTed.c:552:1: warning: unused function 'CreateEntry' [-Wunused-function] 552 | CreateEntry(tedPtr, entryPtr) | ^~~~~~~~~~~ 32 warnings generated. cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./../bltInit.c ./../bltInit.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | MinMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./../bltInit.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | MaxMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./../bltInit.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SetLibraryPath(interp) | ^ ./../bltInit.c:514:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 514 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bltInit.c:573:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 573 | (ClientData)(flags | BLT_TCL_CMDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bltInit.c:609:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 609 | (ClientData)(flags | BLT_TK_CMDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bltInit.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | Blt_Init(interp) | ^ ./../bltInit.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Blt_SafeInit(interp) | ^ ./../bltInit.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | Blt_InitCmd(interp, nsName, specPtr) | ^ ./../bltInit.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Blt_InitObjCmd(interp, nsName, specPtr) | ^ ./../bltInit.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | Blt_InitCmds(interp, nsName, specPtr, nCmds) | ^ 11 warnings generated. rm -f libBLT25.so cc -shared -Wl,-x -o libBLT25.so bltInit.o bltGrAxis.o bltGrBar.o bltGrElem.o bltGrGrid.o bltGrHairs.o bltGrLegd.o bltGrLine.o bltGrMarker.o bltGrMisc.o bltGrPen.o bltGrPs.o bltGraph.o bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltWatch.o bltBeep.o bltBind.o bltBitmap.o bltBusy.o bltCanvEps.o bltColor.o bltConfig.o bltContainer.o bltCutbuffer.o bltDragdrop.o bltHierbox.o bltHtext.o bltImage.o bltUnixImage.o bltPs.o bltTable.o bltTabnotebook.o bltTabset.o bltText.o bltTile.o bltTreeView.o bltTreeViewCmd.o bltTreeViewColumn.o bltTreeViewEdit.o bltTreeViewStyle.o bltUnixDnd.o bltWindow.o bltObjConfig.o bltWinop.o tkButton.o tkFrame.o bltScrollbar.o bltTed.o \ -L/usr/local/lib -ljpeg -ltk86 -ltcl86 cc -c -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -DBLT_LIBRARY=\"/usr/local/lib/blt2.5\" \ ./../bltInit.c ./../bltInit.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | MinMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./../bltInit.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | MaxMathProc(clientData, interp, argsPtr, resultPtr) | ^ ./../bltInit.c:441:16: warning: unused variable 'tkisinit' [-Wunused-variable] 441 | static int tkisinit = 0; | ^~~~~~~~ ./../bltInit.c:436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | SetLibraryPath(interp) | ^ ./../bltInit.c:514:13: warning: cast to smaller integer type 'int' from 'ClientData' (aka 'void *') [-Wvoid-pointer-to-int-cast] 514 | flags = (int)Tcl_GetAssocData(interp, BLT_THREAD_KEY, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bltInit.c:573:3: warning: cast to 'ClientData' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 573 | (ClientData)(flags | BLT_TCL_CMDS)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../bltInit.c:509:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 509 | Blt_Init(interp) | ^ ./../bltInit.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | Blt_SafeInit(interp) | ^ ./../bltInit.c:727:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | Blt_InitCmd(interp, nsName, specPtr) | ^ ./../bltInit.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | Blt_InitObjCmd(interp, nsName, specPtr) | ^ ./../bltInit.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | Blt_InitCmds(interp, nsName, specPtr, nCmds) | ^ 11 warnings generated. rm -f libBLTlite25.so cc -shared -Wl,-x -o libBLTlite25.so bltInit.o bltAlloc.o bltArrayObj.o bltBgexec.o bltChain.o bltDebug.o bltHash.o bltList.o bltNsUtil.o bltParse.o bltPool.o bltSpline.o bltSwitch.o bltTree.o bltTreeCmd.o bltUnixPipe.o bltUtil.o bltVector.o bltVecMath.o bltVecCmd.o bltVecObjCmd.o bltWatch.o \ rm -f bltwish25 cc -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -o bltwish25 \ ./../bltUnixMain.c libBLT25.so -L/usr/local/lib -ltk86 -ltcl86 -lX11 -L/usr/local/lib -ljpeg -lm ./../bltUnixMain.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | main(argc, argv) | ^ ./../bltUnixMain.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Tcl_AppInit(interp) | ^ 2 warnings generated. rm -f bltsh25 cc -Wall -fPIC -O2 -pipe -fPIC -I/usr/local/include/tcl8.6/generic -I/usr/local/include/tk8.6/generic -I/usr/local/include/tk8.6/unix -DUSE_INTERP_RESULT -DUSE_INTERP_ERRORLINE -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing -I.. -I./.. -I./../.. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -DTCL_ONLY -o bltsh25 \ ./../bltUnixMain.c libBLTlite25.so \ -L/usr/local/lib -ltcl86 -lm ./../bltUnixMain.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | main(argc, argv) | ^ ./../bltUnixMain.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | Tcl_AppInit(interp) | ^ 2 warnings generated. gmake[2]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic/shared' gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic' (cd library; /usr/local/bin/gmake all) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/library' rm -f pkgIndex.tcl sed -e 's/%VERSION%/2.5/' ./pkgIndex.tcl.in | \ sed -e 's/%LIB_PREFIX%/lib/' | \ sed -e 's;%LIB_DIR%;/usr/local/lib;' > pkgIndex.tcl gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/library' (cd man; /usr/local/bin/gmake all) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/man' Makefile:66: warning: ignoring prerequisites on suffix rule definition Makefile:62: warning: ignoring prerequisites on suffix rule definition rm -rf BLT.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' BLT.mann > BLT.n rm -rf barchart.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' barchart.mann > barchart.n rm -rf beep.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' beep.mann > beep.n rm -rf bgexec.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' bgexec.mann > bgexec.n rm -rf bitmap.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' bitmap.mann > bitmap.n rm -rf bltdebug.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' bltdebug.mann > bltdebug.n rm -rf busy.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' busy.mann > busy.n rm -rf container.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' container.mann > container.n rm -rf cutbuffer.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' cutbuffer.mann > cutbuffer.n rm -rf dragdrop.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' dragdrop.mann > dragdrop.n rm -rf eps.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' eps.mann > eps.n rm -rf graph.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' graph.mann > graph.n rm -rf hierbox.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' hierbox.mann > hierbox.n rm -rf hiertable.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' hiertable.mann > hiertable.n rm -rf htext.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' htext.mann > htext.n rm -rf spline.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' spline.mann > spline.n rm -rf stripchart.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' stripchart.mann > stripchart.n rm -rf table.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' table.mann > table.n rm -rf tabset.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' tabset.mann > tabset.n rm -rf tile.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' tile.mann > tile.n rm -rf tree.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' tree.mann > tree.n rm -rf treeview.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' treeview.mann > treeview.n rm -rf vector.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' vector.mann > vector.n rm -rf watch.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' watch.mann > watch.n rm -rf winop.n sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' winop.mann > winop.n rm -rf Blt_Tree.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_Tree.man3 > Blt_Tree.3 rm -rf Blt_TreeGetNode.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeGetNode.man3 > Blt_TreeGetNode.3 rm -rf Blt_TreeCreate.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeCreate.man3 > Blt_TreeCreate.3 rm -rf Blt_TreeGetToken.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeGetToken.man3 > Blt_TreeGetToken.3 rm -rf Blt_TreeCreateNode.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeCreateNode.man3 > Blt_TreeCreateNode.3 rm -rf Blt_TreeName.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeName.man3 > Blt_TreeName.3 rm -rf Blt_TreeDeleteNode.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeDeleteNode.man3 > Blt_TreeDeleteNode.3 rm -rf Blt_TreeNodeId.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeNodeId.man3 > Blt_TreeNodeId.3 rm -rf Blt_TreeExists.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeExists.man3 > Blt_TreeExists.3 rm -rf Blt_TreeReleaseToken.3 sed -e "/man\.macros/r ./man.macros" -e '/man\.macros/d' -e 's/BLT_VERSION/2.5/' Blt_TreeReleaseToken.man3 > Blt_TreeReleaseToken.3 gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/man' (cd demos; /usr/local/bin/gmake all) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/demos' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/demos' =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> blt-2.5.3_7 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for blt-2.5.3_7 ===> Generating temporary packing list mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5 (cd generic; /usr/local/bin/gmake install) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic' cc -fPIC -I. -I/usr/local/include -I/usr/local/include/tk8.6 -I/usr/local/include/tcl8.6 -I/usr/local/include -c ./bltStubLib.c ./bltStubLib.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | Blt_InitStubs(interp, version, exact) | ^ 1 warning generated. ar rc libBLTstub.a bltStubLib.o ranlib libBLTstub.a install -m 0644 libBLT.a /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/libBLT25.a (cd /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib; rm -f libBLT.a ; ln -s libBLT25.a libBLT.a) ranlib /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/libBLT25.a install -m 0644 libBLTlite.a /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/libBLTlite25.a (cd /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib; rm -f libBLTlite.a ; ln -s libBLTlite25.a libBLTlite.a) ranlib /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/libBLTlite25.a install -m 0644 libBLTstub.a /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/libBLTstub25.a (cd /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib; rm -f libBLTstub.a ; ln -s libBLTstub25.a libBLTstub.a) (cd shared; /usr/local/bin/gmake install) gmake[2]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic/shared' /usr/bin/install -c -m 0755 libBLT25.so /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib /usr/bin/install -c -m 0755 libBLTlite25.so /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib /usr/bin/install -c -m 0755 bltwish25 /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/bin /usr/bin/install -c -m 0755 bltsh25 /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/bin gmake[2]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic/shared' /usr/bin/install -c -m 0755 bltwish /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/bin /usr/bin/install -c -m 0755 bltsh /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/bin installing ./blt.h... installing ./bltOldConfig.h... installing ./bltBind.h... installing ./bltChain.h... installing bltHash.h... installing ./bltList.h... installing ./bltPool.h... installing ./bltTree.h... installing ./bltDecls.h... installing ./bltVector.h... gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/generic' (cd library; /usr/local/bin/gmake install) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/library' mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/dd_protocols rm -f pkgIndex.tcl sed -e 's/%VERSION%/2.5/' ./pkgIndex.tcl.in | \ sed -e 's/%LIB_PREFIX%/lib/' | \ sed -e 's;%LIB_DIR%;/usr/local/lib;' > pkgIndex.tcl for i in dd-color.tcl dd-file.tcl dd-number.tcl dd-text.tcl tclIndex ; do \ install -m 0644 ./dd_protocols/$i \ /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/dd_protocols ; \ done for i in bltCanvEps.pro bltGraph.pro dnd.tcl dragdrop.tcl graph.tcl hierbox.tcl tabnotebook.tcl tabset.tcl treeview.tcl tvutil.tcl init.tcl tclIndex treeview.xbm treeview_m.xbm ; do \ install -m 0644 ./$i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5 ; \ done install -m 0644 pkgIndex.tcl /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5 gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/library' (cd man; /usr/local/bin/gmake install) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/man' Makefile:66: warning: ignoring prerequisites on suffix rule definition Makefile:62: warning: ignoring prerequisites on suffix rule definition for i in *.n ; do \ install -m 0644 $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/share/man/mann; \ done for i in *.3 ; do \ install -m 0644 $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/share/man/man3; \ done gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/man' (cd demos; /usr/local/bin/gmake install) gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/demos' mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/bitmaps mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/bitmaps/hand mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/bitmaps/fish mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/images mkdir /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/scripts for i in ./bitmaps/*.xbm ; do \ install -m 0644 $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/bitmaps ; \ done for i in ./bitmaps/hand/*.xbm ; do \ install -m 0644 $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/bitmaps/hand ; \ done for i in ./bitmaps/fish/*.xbm ; do \ install -m 0644 $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/bitmaps/fish ; \ done for i in ./images/*.gif ./images/*.ps ; do \ install -m 0644 $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/images ; \ done for i in ./scripts/*.tcl ; do \ /usr/bin/install -c $i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/scripts ; \ done for i in barchart1.tcl barchart2.tcl barchart3.tcl barchart4.tcl barchart5.tcl bgexec1.tcl bgexec2.tcl bgexec3.tcl bgexec4.tcl bitmap.tcl busy1.tcl busy2.tcl dnd1.tcl dnd2.tcl dragdrop1.tcl dragdrop2.tcl eps.tcl graph1.tcl graph2.tcl graph3.tcl graph4.tcl graph5.tcl graph6.tcl graph7.tcl hierbox1.tcl hierbox2.tcl hierbox3.tcl hierbox4.tcl hiertable1.tcl hiertable2.tcl htext1.tcl htext.txt spline.tcl stripchart1.tcl tabset1.tcl tabset2.tcl tabset3.tcl tabset4.tcl tabnotebook1.tcl tabnotebook2.tcl tabnotebook3.tcl treeview1.tcl winop1.tcl winop2.tcl ; do \ /usr/bin/install -c ./$i /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/blt2.5/demos/$i ; \ done gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-toolkits/blt/work/blt2.5/demos' /usr/bin/strip /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/bin/* /usr/bin/strip /wrkdirs/usr/ports/x11-toolkits/blt/work/stage/usr/local/lib/*.so ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-23T16:29:36+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for blt-2.5.3_7 ===> Building blt-2.5.3_7 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for blt-2.5.3_7 build of x11-toolkits/blt | blt-2.5.3_7 ended at Fri Jan 23 11:31:13 EST 2026 build time: 00:01:39