=>> Building math/xgraph build started at Thu Mar 12 00:17:56 EDT 2026 port directory: /usr/ports/math/xgraph package name: xgraph-11.3.2.20000910_6 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 945 Mar 6 20:23 /usr/ports/math/xgraph/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: e86da76e7545 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 10 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE 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_14_4_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_14_4_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_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--- ===> The following configuration options are available for xgraph-11.3.2.20000910_6: EXAMPLES=on: Build and/or install examples ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xgraph/work/.cache HOME=/wrkdirs/usr/ports/math/xgraph/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/xgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xgraph/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xgraph/work XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xgraph/work/.cache HOME=/wrkdirs/usr/ports/math/xgraph/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/xgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xgraph/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 -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=int-conversion -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-- PORTEXAMPLES="" OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xgraph" EXAMPLESDIR="share/examples/xgraph" DATADIR="share/xgraph" WWWDIR="www/xgraph" ETCDIR="etc/xgraph" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xgraph DOCSDIR=/usr/local/share/doc/xgraph EXAMPLESDIR=/usr/local/share/examples/xgraph WWWDIR=/usr/local/www/xgraph ETCDIR=/usr/local/etc/xgraph --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 pipebuf (-y) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete software, unmaintained upstream. It is scheduled to be removed on or after 2026-04-30. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.6.2.pkg [pkg.DaveG.ca] Installing pkg-2.6.2... [pkg.DaveG.ca] Extracting pkg-2.6.2: .......... done ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xgraph-11.3.2.20000910_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete software, unmaintained upstream. It is scheduled to be removed on or after 2026-04-30. ===> Fetching all distfiles required by xgraph-11.3.2.20000910_6 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete software, unmaintained upstream. It is scheduled to be removed on or after 2026-04-30. ===> Fetching all distfiles required by xgraph-11.3.2.20000910_6 for building => SHA256 Checksum OK for xgraph-11.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Obsolete software, unmaintained upstream. It is scheduled to be removed on or after 2026-04-30. ===> Fetching all distfiles required by xgraph-11.3.2.20000910_6 for building ===> Extracting for xgraph-11.3.2.20000910_6 => SHA256 Checksum OK for xgraph-11.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xgraph-11.3.2.20000910_6 ===> Applying FreeBSD patches for xgraph-11.3.2.20000910_6 from /usr/ports/math/xgraph/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgraph-11.3.2.20000910_6 depends on executable: imake - not found ===> Installing existing package /packages/All/imake-1.0.10_1,1.pkg [pkg.DaveG.ca] Installing imake-1.0.10_1,1... [pkg.DaveG.ca] `-- Installing gccmakedep-1.0.4... [pkg.DaveG.ca] `-- Extracting gccmakedep-1.0.4: .. done [pkg.DaveG.ca] `-- Installing makedepend-1.0.9,1... [pkg.DaveG.ca] `-- Extracting makedepend-1.0.9,1: .. done [pkg.DaveG.ca] `-- Installing perl5-5.42.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xgraph-11.3.2.20000910_6 depends on executable: imake - found ===> Returning to build of xgraph-11.3.2.20000910_6 ===> xgraph-11.3.2.20000910_6 depends on executable: tradcpp - not found ===> Installing existing package /packages/All/tradcpp-0.5.3.pkg [pkg.DaveG.ca] Installing tradcpp-0.5.3... [pkg.DaveG.ca] Extracting tradcpp-0.5.3: .. done ===> xgraph-11.3.2.20000910_6 depends on executable: tradcpp - found ===> Returning to build of xgraph-11.3.2.20000910_6 ===> xgraph-11.3.2.20000910_6 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 ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xgraph-11.3.2.20000910_6 ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Installing existing package /packages/All/libXext-1.3.6,1.pkg [pkg.DaveG.ca] Installing libXext-1.3.6,1... [pkg.DaveG.ca] Extracting libXext-1.3.6,1: .......... done ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xgraph-11.3.2.20000910_6 ===> xgraph-11.3.2.20000910_6 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. ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xgraph-11.3.2.20000910_6 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xgraph-11.3.2.20000910_6 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- xgraph.c xgX.c hard_devices.c dialog.c hpgl.c ps.c idraw.c xtb.c st.c params.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xgraph-11.3.2.20000910_6 --- xgraph.o --- --- xgX.o --- --- hard_devices.o --- --- dialog.o --- --- hpgl.o --- --- ps.o --- --- idraw.o --- --- xtb.o --- --- st.o --- --- params.o --- --- xgraph._man --- --- xgraph.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgraph.c -o xgraph.o --- xgX.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xgX.c -o xgX.o --- hard_devices.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hard_devices.c -o hard_devices.o --- dialog.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c dialog.c -o dialog.o --- hpgl.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c hpgl.c -o hpgl.o --- ps.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c ps.c -o ps.o --- xtb.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c xtb.c -o xtb.o --- idraw.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c idraw.c -o idraw.o --- st.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c st.c -o st.o --- params.o --- cc -O2 -pipe -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -c params.c -o params.o --- xgraph._man --- rm -f xgraph._man if test -z "" ; then cd `dirname xgraph` && ln -s `basename xgraph.man` `basename xgraph._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < xgraph.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >xgraph._man; fi --- hard_devices.o --- --- idraw.o --- idraw.c:81:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | int idrawInit(strm, width, height, title_family, title_size, | ^ idraw.c:210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | static void idraw_just(x, y, just, size, len) | ^ idraw.c:269:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | void idrawText(user_state, x, y, text, just, style) | ^ idraw.c:76:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 76 | void idrawText( ); | ^ idraw.c:348:31: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] 348 | to_style = style == L_AXIS ? 65535 | ~ ^~~~~ idraw.c:349:23: warning: implicit conversion from 'int' to 'short' changes value from 65535 to -1 [-Wconstant-conversion] 348 | to_style = style == L_AXIS ? 65535 | ~ 349 | : style == L_ZERO ? 65535 | ^~~~~ idraw.c:315:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | void idrawSeg(user_state, ns, seglist, width, style, lappr, color) | ^ idraw.c:78:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 78 | void idrawSeg( ); | ^ idraw.c:397:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | void idrawDot(user_state, x, y, style, type, color) | ^ idraw.c:77:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 77 | void idrawDot( ); | ^ idraw.c:415:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | void idrawEnd(user_state) | ^ idraw.c:79:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | void idrawEnd( ); | ^ 12 warnings generated. --- hpgl.o --- hpgl.c:77:27: warning: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion] 77 | if(myInfo == NULL) return(NULL); | ^~~~~~ hpgl.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 | hpglInit(stream,width,height,title_family, title_size, | ^ hpgl.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 | hpglText(userState,x,y,text,just,style) | ^ hpgl.c:20:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | static void hpglText(); | ^ hpgl.c:258:45: warning: invalid conversion specifier 'D' [-Wformat-invalid-specifier] 258 | fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n", | ~^ hpgl.c:258:53: warning: invalid conversion specifier 'D' [-Wformat-invalid-specifier] 258 | fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n", | ~^ hpgl.c:261:5: warning: data argument not used by format string [-Wformat-extra-args] 258 | fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | MAPX(userState,lrx),MAPY(userState,lry), 260 | MAPX(userState,urx),MAPY(userState,ury), 261 | MAPX(userState,ulx),MAPY(userState,uly) ); | ^ hpgl.c:7:23: note: expanded from macro 'MAPX' 7 | #define MAPX(state,x) ( (x) + P1X + state->clipminX ) | ^ hpgl.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | hpglSeg(userState,ns,segs,width,style,lappr,color) | ^ hpgl.c:21:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 21 | static void hpglSeg(); | ^ hpgl.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 | hpglDot(userState,x,y,style,type,color) | ^ hpgl.c:22:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 22 | static void hpglDot(); | ^ hpgl.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 | hpglEnd(userState) | ^ hpgl.c:23:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 23 | static void hpglEnd(); | ^ 13 warnings generated. --- xgX.o --- xgX.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | void set_X(new_win, out_info) | ^ In file included from xgX.c:16: In file included from ./xgout.h:8: ./xgraph.h:39:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 39 | extern void set_X(); /* Initializes X device */ | ^ xgX.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | void init_X(user_state) | ^ xgX.c:181:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | static GC textGC(t_win, t_font) | ^ xgX.c:205:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | static GC segGC(l_win, l_fg, l_style, l_width, l_chars, l_len) | ^ xgX.c:236:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | static GC dotGC(d_win, d_fg, d_clipmask, d_xorg, d_yorg) | ^ xgX.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | void text_X(user_state, x, y, text, just, style) | ^ xgX.c:28:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 28 | void text_X(); | ^ xgX.c:336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | void seg_X(user_state, ns, segs, width, style, lappr, color) | ^ xgX.c:29:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 29 | void seg_X(); | ^ xgX.c:367:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 367 | gc = segGC(st->win, PM_PIXEL("Foreground"), | ^ 368 | LineSolid, PM_INT("GridSize"), (char *) 0, 0); | ~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' 100 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgX.c:370:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 370 | gc = segGC(st->win, PM_PIXEL("Foreground"), | ^ 371 | LineOnOffDash, PM_INT("GridSize"), | ~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' 100 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgX.c:378:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 378 | gc = segGC(st->win, PM_PIXEL("ZeroColor"), | ^ 379 | LineSolid, PM_INT("ZeroWidth"), (char *) 0, 0); | ~~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' 100 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgX.c:381:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 381 | gc = segGC(st->win, PM_PIXEL("ZeroColor"), | ^ 382 | LineOnOffDash, PM_INT("ZeroWidth"), | ~~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' 100 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgX.c:401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | void dot_X(user_state, x, y, style, type, color) | ^ xgX.c:30:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | void dot_X(); | ^ 16 warnings generated. --- ps.o --- ps.c:97:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | int rd(dbl) | ^ ps.c:175:12: warning: passing arguments to 'psScale' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | psScale(psFile, width, height, flags); | ^ ps.c:176:12: warning: passing arguments to 'psFonts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | psFonts(psFile); | ^ ps.c:177:12: warning: passing arguments to 'psMarks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | psMarks(psFile); | ^ ps.c:109:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | int psInit(psFile, width, height, tf, ts, af, as, flags, outInfo, errmsg) | ^ ps.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | static void psHeader(psFile, docu_flag) | ^ ps.c:227:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 226 | OUT(psFile, "%%%%BoundingBox: %ld %ld %ld %ld\n", | ~~~ | %d 227 | 0, 0, | ^ ps.c:227:9: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 226 | OUT(psFile, "%%%%BoundingBox: %ld %ld %ld %ld\n", | ~~~ | %d 227 | 0, 0, | ^ ps.c:228:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 226 | OUT(psFile, "%%%%BoundingBox: %ld %ld %ld %ld\n", | ~~~ | %d 227 | 0, 0, 228 | (int) (((double) width) / | ^~~~~~~~~~~~~~~~~~~~~~~~~ 229 | (MICRONS_PER_INCH * INCHES_PER_POINT)+0.5), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps.c:230:6: warning: format specifies type 'long' but the argument has type 'int' [-Wformat] 226 | OUT(psFile, "%%%%BoundingBox: %ld %ld %ld %ld\n", | ~~~ | %d 227 | 0, 0, 228 | (int) (((double) width) / 229 | (MICRONS_PER_INCH * INCHES_PER_POINT)+0.5), 230 | (int) (((double) height) / | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 231 | (MICRONS_PER_INCH * INCHES_PER_POINT)+0.5) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps.c:207:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | static void psScale(psFile, width, height, flags) | ^ ps.c:73:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:301:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | static void psFonts(psFile) | ^ ps.c:73:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:378:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | static void psMarks(psFile) | ^ ps.c:73:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:423:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 423 | static void psText(state, x, y, text, just, style) | ^ ps.c:73:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:455:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | static void psSeg(state, ns, seglist, width, style, lappr, color) | ^ ps.c:73:56: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:515:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | static void psDot(state, x, y, style, type, color) | ^ ps.c:73:65: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ ps.c:554:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | static void psEnd(userState) | ^ ps.c:73:74: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 73 | static void psScale(), psFonts(), psMarks(), psText(), psSeg(), psDot(), psEnd(); | ^ 24 warnings generated. --- params.o --- params.c:54:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | void param_init(disp, cmap) | ^ params.c:71:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | void param_set(name, type, val) | ^ params.c:90:37: warning: passing arguments to 'free_resource' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | if (entry->real_form) free_resource(entry->real_form); | ^ params.c:104:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | void param_reset(name, val) | ^ params.c:129:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | params *param_get(name, val) | ^ params.c:146:38: warning: passing arguments to 'resolve_entry' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | entry->real_form = resolve_entry(name, entry->type, entry->text_form); | ^ params.c:156:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | static void free_resource(val) | ^ params.c:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static void free_resource(); | ^ params.c:214:15: warning: passing arguments to 'do_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | if (!do_color(form, &result->pixv.value)) { | ^ params.c:217:21: warning: passing arguments to 'do_color' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | (void) do_color(DEF_PIXEL, &result->pixv.value); | ^ params.c:221:14: warning: passing arguments to 'do_font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | if (!do_font(form, &result->fontv.value)) { | ^ params.c:224:20: warning: passing arguments to 'do_font' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | (void) do_font(DEF_FONT, &result->fontv.value); | ^ params.c:228:15: warning: passing arguments to 'do_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | if (!do_style(form, &result->stylev)) { | ^ params.c:231:21: warning: passing arguments to 'do_style' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | (void) do_style(DEF_STYLE, &result->stylev); | ^ params.c:235:14: warning: passing arguments to 'do_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | if (!do_bool(form, &result->boolv.value)) { | ^ params.c:238:20: warning: passing arguments to 'do_bool' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | (void) do_bool(DEF_BOOL, &result->boolv.value); | ^ params.c:187:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | static params *resolve_entry(name, type, form) | ^ params.c:36:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static params *resolve_entry(); | ^ params.c:255:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | static int do_color(name, color) | ^ params.c:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int do_color(), do_font(), do_style(), do_bool(); | ^ params.c:301:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 301 | if (font_size = index(name_copy, '-')) { | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ params.c:301:19: note: place parentheses around the assignment to silence this warning 301 | if (font_size = index(name_copy, '-')) { | ^ | ( ) params.c:301:19: note: use '==' to turn this assignment into an equality comparison 301 | if (font_size = index(name_copy, '-')) { | ^ | == params.c:316:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 316 | if (*font_info = XLoadQueryFont(param_disp, font_list[i])) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ params.c:316:18: note: place parentheses around the assignment to silence this warning 316 | if (*font_info = XLoadQueryFont(param_disp, font_list[i])) { | ^ | ( ) params.c:316:18: note: use '==' to turn this assignment into an equality comparison 316 | if (*font_info = XLoadQueryFont(param_disp, font_list[i])) { | ^ | == params.c:324:12: warning: cast to smaller integer type 'int' from 'XFontStruct *' [-Wpointer-to-int-cast] 324 | return (int) (*font_info = XLoadQueryFont(param_disp, name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ params.c:283:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | static int do_font(name, font_info) | ^ params.c:15:24: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int do_color(), do_font(), do_style(), do_bool(); | ^ params.c:328:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | static int do_style(list, val) | ^ params.c:15:35: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int do_color(), do_font(), do_style(), do_bool(); | ^ params.c:376:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | static int do_bool(name, val) | ^ params.c:15:47: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int do_color(), do_font(), do_style(), do_bool(); | ^ params.c:406:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | static enum st_retval dump_it(key, value, arg) | ^ params.c:449:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | int stricmp(a, b) | ^ params.c:472:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | static int strihash(string, modulus) | ^ params.c:37:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static int strihash(); | ^ 33 warnings generated. --- dialog.o --- dialog.c:66:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | static xtb_hret df_fun(win, ch, text, val) | ^ dialog.c:131:15: warning: passing arguments to 'do_hardcopy' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | do_hardcopy(real_info->prog, real_info->cookie, | ^ dialog.c:138:12: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | do_error("Bad axis font size\n"); | ^ dialog.c:143:15: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | do_error("Bad title font size\n"); | ^ dialog.c:148:11: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | do_error("Bad maximum dimension\n"); | ^ dialog.c:153:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | do_error("Must specify `To File' or `To Device'\n"); | ^ dialog.c:158:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | do_error("Must specify an output device\n"); | ^ dialog.c:91:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | static xtb_hret ok_fun(win, bval, info) | ^ dialog.c:166:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | static xtb_hret can_fun(win, val, info) | ^ dialog.c:183:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | static xtb_hret docu_fun(win, val, info) | ^ dialog.c:232:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | do_error("Warning: can't read maximum dimension"); | ^ dialog.c:238:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | do_error("Warning: can't read title font size"); | ^ dialog.c:244:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | do_error("Warning: can't read axis font size"); | ^ dialog.c:200:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | static xtb_hret dev_fun(win, old, new, info) | ^ dialog.c:283:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | static xtb_hret fd_fun(win, old, new, info) | ^ dialog.c:336:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | static void make_dialog(win, spawned, prog, cookie, okbtn, frame) | ^ dialog.c:561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | void ho_dialog(parent, prog, cookie) | ^ In file included from dialog.c:13: In file included from ./xgout.h:8: ./xgraph.h:38:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | extern void ho_dialog(); /* Hardcopy dialog */ | ^ dialog.c:631:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | static xtb_hret err_func(win, bval, info) | ^ dialog.c:705:12: warning: call to undeclared function 'get_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 705 | while (get_line(&lineptr, line)) { | ^ dialog.c:659:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | static void make_msg_box(text, title, frame) | ^ dialog.c:34:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 34 | static void make_msg_box(); | ^ dialog.c:792:16: warning: passing arguments to 'del_msg_box' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | del_msg_box(text_frame.win); | ^ dialog.c:747:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | void msg_box(title, text) | ^ dialog.c:795:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | void do_error(err_text) | ^ dialog.c:20:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 20 | void do_error(); | ^ dialog.c:803:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 803 | int get_line(tptr, lptr) | ^ dialog.c:829:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 829 | static void del_msg_box(msg) | ^ dialog.c:35:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 35 | static void del_msg_box(); | ^ 29 warnings generated. --- st.o --- st.c:45:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:88:12: note: conflicting prototype is here 88 | extern int st_numhash | ^ st.c:45:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:91:12: note: conflicting prototype is here 91 | extern int st_ptrhash | ^ st.c:45:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:94:12: note: conflicting prototype is here 94 | extern int st_numcmp | ^ st.c:45:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ ./st.h:97:12: note: conflicting prototype is here 97 | extern int st_ptrcmp | ^ st.c:50:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | ST_TABLE *st_init_table_with_params(compare, hash, size, density, grow_factor, | ^ st.c:64:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:81:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:87:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | ST_TABLE *st_init_table(compare, hash) | ^ st.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | st_free_table(table) | ^ st.c:135:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | int st_lookup(table, key, value) | ^ st.c:144:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 144 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:144:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 144 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:144:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 144 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:144:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 144 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:144:16: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:146:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 146 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:146:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 146 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:146:5: 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] st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:29:43: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | int st_insert(table, key, value) | ^ st.c:187:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 187 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:187:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 187 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:187:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 187 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:187:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 187 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:187:16: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:189:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 189 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:189:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 189 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:189:5: 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] st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:29:43: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:192:2: warning: passing arguments to 'rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | ADD_DIRECT(table,key,value,hash_val,new); | ^ st.c:159:15: note: expanded from macro 'ADD_DIRECT' 159 | (void) rehash(table);\ | ^ st.c:192:2: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 192 | ADD_DIRECT(table,key,value,hash_val,new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:192:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 192 | ADD_DIRECT(table,key,value,hash_val,new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:192:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 192 | ADD_DIRECT(table,key,value,hash_val,new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:192:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 192 | ADD_DIRECT(table,key,value,hash_val,new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:192:2: 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] st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^ st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:192:2: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:172:10: note: expanded from macro 'ADD_DIRECT' 172 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem);\ | ^ st.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void st_add_direct(table, key, value) | ^ st.c:209:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 209 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:209:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 209 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:209:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 209 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:209:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 209 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:209:16: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:210:5: warning: passing arguments to 'rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | ADD_DIRECT(table, key, value, hash_val, new); | ^ st.c:159:15: note: expanded from macro 'ADD_DIRECT' 159 | (void) rehash(table);\ | ^ st.c:210:5: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 210 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:210:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 210 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:210:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 210 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:210:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 210 | ADD_DIRECT(table, key, value, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:210:5: 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] st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^ st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:210:5: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:172:10: note: expanded from macro 'ADD_DIRECT' 172 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem);\ | ^ st.c:213:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | int st_find_or_add(table, key, slot) | ^ st.c:222:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 222 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:222:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 222 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:222:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 222 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:222:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 222 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:222:16: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:224:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 224 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:224:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 224 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:224:5: 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] st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:29:43: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:227:2: warning: passing arguments to 'rehash' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | ADD_DIRECT(table, key, (char *)0, hash_val, new); | ^ st.c:159:15: note: expanded from macro 'ADD_DIRECT' 159 | (void) rehash(table);\ | ^ st.c:227:2: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 227 | ADD_DIRECT(table, key, (char *)0, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:227:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 227 | ADD_DIRECT(table, key, (char *)0, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:227:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 227 | ADD_DIRECT(table, key, (char *)0, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:227:2: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 227 | ADD_DIRECT(table, key, (char *)0, hash_val, new); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:227:2: 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] st.c:160:13: note: expanded from macro 'ADD_DIRECT' 160 | hash_val = do_hash(key,table);\ | ^ st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:227:2: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] st.c:172:10: note: expanded from macro 'ADD_DIRECT' 172 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem);\ | ^ st.c:236:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | int st_find(table, key, slot) | ^ st.c:245:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 245 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:245:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 245 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:245:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 245 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:245:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 245 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:245:16: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:247:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 247 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:247:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 247 | FIND_ENTRY(table, hash_val, key, ptr, last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:247:5: 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] st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:29:43: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:287:17: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 287 | hash_val = do_hash(ptr->key, table); | ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:287:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 287 | hash_val = do_hash(ptr->key, table); | ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:287:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 287 | hash_val = do_hash(ptr->key, table); | ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:287:17: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 287 | hash_val = do_hash(ptr->key, table); | ^~~~~~~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:287:17: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:257:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | static void rehash(table) | ^ st.c:46:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static void rehash(); | ^ st.c:297:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | ST_TABLE *st_copy(old_table) | ^ st.c:306:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:316:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:328:11: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.c:340:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | int st_delete(table, keyp, value) | ^ st.c:349:16: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 349 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:33:36: note: expanded from macro 'do_hash' 33 | ((table->hash == st_ptrhash) ? ST_PTRHASH((key),(table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:349:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 349 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:349:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 349 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:349:16: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 349 | hash_val = do_hash(key, table); | ^~~~~~~~~~~~~~~~~~~ st.c:34:36: note: expanded from macro 'do_hash' 34 | (table->hash == st_numhash) ? ST_NUMHASH((key), (table)->num_bins) :\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:349:16: 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] st.c:35:20: note: expanded from macro 'do_hash' 35 | (*table->hash)((key), (table)->num_bins)) | ^ st.c:351:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 351 | FIND_ENTRY(table, hash_val, key, ptr ,last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:351:5: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 351 | FIND_ENTRY(table, hash_val, key, ptr ,last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ st.c:29:8: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^~~~~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:351:5: 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] st.c:126:12: note: expanded from macro 'FIND_ENTRY' 126 | while (PTR_NOT_EQUAL((table), (ptr), (key))) {\ | ^ st.c:121:33: note: expanded from macro 'PTR_NOT_EQUAL' 121 | (ptr != nil(ST_TABLE_ENTRY) && !EQUAL(table->compare, user_key, (ptr)->key)) | ^ st.c:29:43: note: expanded from macro 'EQUAL' 29 | (ST_NUMCMP((x),(y)) == 0) : ((*func)((x), (y)) == 0)) | ^ st.c:365:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | int st_foreach(table, func, arg) | ^ st.c:377: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] 377 | retval = (*func)(ptr->key, ptr->record, arg); | ^ st.c:390:11: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | errRaise(st_pkg_name, ST_BAD_RET, st_bad_ret); | ^ st.c:398:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | int st_strhash(string, modulus) | ^ st.c:416:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 416 | return ST_NUMHASH(x, size); | ^~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:18: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:416:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 416 | return ST_NUMHASH(x, size); | ^~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:29: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:416:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 416 | return ST_NUMHASH(x, size); | ^~~~~~~~~~~~~~~~~~~ st.c:25:33: note: expanded from macro 'ST_NUMHASH' 25 | #define ST_NUMHASH(x,size) (ABS((int)x)%(size)) | ~~~~^~~~~~~ st.c:23:35: note: expanded from macro 'ABS' 23 | #define ABS(x) ((x) < 0 ? -(x) : (x)) | ^ st.c:412:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | int st_numhash(x, size) | ^ st.c:45:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:423:12: warning: cast to smaller integer type 'unsigned int' from 'char *' [-Wpointer-to-int-cast] 423 | return ST_PTRHASH(x, size); | ^~~~~~~~~~~~~~~~~~~ st.c:26:35: note: expanded from macro 'ST_PTRHASH' 26 | #define ST_PTRHASH(x,size) ((int)((unsigned)(x)>>2)%size) | ^~~~~~~~~~~~~ st.c:419:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | int st_ptrhash(x, size) | ^ st.c:45:19: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:430:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 430 | return ST_NUMCMP(x, y); | ^~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:430:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 430 | return ST_NUMCMP(x, y); | ^~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:426:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | int st_numcmp(x, y) | ^ st.c:45:33: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:437:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 437 | return ST_NUMCMP(x, y); | ^~~~~~~~~~~~~~~ st.c:24:25: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:437:12: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 437 | return ST_NUMCMP(x, y); | ^~~~~~~~~~~~~~~ st.c:24:37: note: expanded from macro 'ST_NUMCMP' 24 | #define ST_NUMCMP(x,y) ((int) (x) - (int) (y)) | ^~~~~~~~~ st.c:433:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | int st_ptrcmp(x, y) | ^ st.c:45:46: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | int st_numhash(), st_ptrhash(), st_numcmp(), st_ptrcmp(); | ^ st.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | st_init_gen(table) | ^ st.c:449:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | errRaise(st_pkg_name, ST_NO_MEM, st_no_mem); | ^ st.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 | st_gen(gen, key_p, value_p) | ^ st.c:469:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | errRaise(st_pkg_name, ST_BAD_GEN, st_bad_gen); | ^ st.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 | st_free_gen(gen) | ^ st.c:500:10: warning: passing arguments to 'errRaise' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | errRaise(st_pkg_name, ST_BAD_GEN, st_bad_gen); | ^ st.c:506:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 506 | static void errRaise(pkg, num, msg) | ^ st.c:47:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static void errRaise(); | ^ 120 warnings generated. --- xtb.o --- xtb.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void xtb_init(disp, scrn, foreground, background, font) | ^ xtb.c:102:55: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 102 | if (!XQueryBestStipple(disp, able, width, height, &w, &h)) { | ^~ /usr/local/include/X11/Xlib.h:2954:37: note: passing argument to parameter here 2954 | unsigned int* /* width_return */, | ^ xtb.c:102:59: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] 102 | if (!XQueryBestStipple(disp, able, width, height, &w, &h)) { | ^~ /usr/local/include/X11/Xlib.h:2956:1: note: passing argument to parameter here 2956 | ); | ^ xtb.c:89:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | static Pixmap make_stipple(disp, able, bits, width, height) | ^ xtb.c:125:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | static Pixmap gray_map(win) | ^ xtb.c:139:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | static GC set_gc(win, fg, bg, font, gray_p) | ^ xtb.c:172:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | void xtb_register(win, func, info) | ^ xtb.c:185:14: warning: call to undeclared function 'XrmUniqueQuark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 185 | h_context = XUniqueContext(); | ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' 359 | #define XUniqueContext() ((XContext) XrmUniqueQuark()) | ^ xtb.c:193:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | xtb_data xtb_lookup(win) | ^ xtb.c:208:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | xtb_hret xtb_dispatch(evt) | ^ xtb.c:223:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | int xtb_unregister(win, info) | ^ xtb.c:259:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | static void bt_draw(win, ri) | ^ xtb.c:290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | static void bt_line(win, ri, pix) | ^ xtb.c:304:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | static xtb_hret bt_h(evt, info) | ^ xtb.c:338:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | void xtb_bt_new(win, text, func, val, frame) | ^ xtb.c:384:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | int xtb_bt_get(win, stuff, na) | ^ xtb.c:401:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | int xtb_bt_set(win, val, stuff, na) | ^ xtb.c:426:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | void xtb_bt_del(win, info) | ^ xtb.c:460:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | static xtb_hret br_h(win, val, info) | ^ xtb.c:495:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | void xtb_br_new(win, cnt, lbls, init, func, val, frame) | ^ xtb.c:550:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | int xtb_br_get(win) | ^ xtb.c:563:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | void xtb_br_del(win) | ^ xtb.c:594:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | static void to_draw(win, ri) | ^ xtb.c:607:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | static xtb_hret to_h(evt, info) | ^ xtb.c:626:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | void xtb_to_new(win, text, ft, frame) | ^ xtb.c:654:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | void xtb_to_del(win) | ^ xtb.c:692:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | static int text_width(font, str, len) | ^ xtb.c:707:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | static void ti_cursor_on(win, ri) | ^ xtb.c:721:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 721 | static void ti_cursor_off(win, ri) | ^ xtb.c:735:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | static void ti_draw(win, ri, c_flag) | ^ xtb.c:755:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | static void ti_line(win, ri, pix) | ^ xtb.c:770:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 770 | focus_evt(evt) | ^ | int xtb.c:775:2: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 775 | printf("NotifyNormal"); | ^ xtb.c:775:2: note: include the header or explicitly provide a declaration for 'printf' xtb.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 | focus_evt(evt) | ^ xtb.c:812:1: warning: non-void function does not return a value [-Wreturn-type] 812 | } | ^ xtb.c:816:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | static xtb_hret ti_h(evt, info) | ^ xtb.c:879:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | void xtb_ti_new(win, text, maxchar, func, val, frame) | ^ xtb.c:931:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | void xtb_ti_get(win, text, val) | ^ xtb.c:948:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | int xtb_ti_set(win, text, val) | ^ xtb.c:977:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | int xtb_ti_ins(win, ch) | ^ xtb.c:1006:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1006 | int xtb_ti_dch(win) | ^ xtb.c:1033:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | void xtb_ti_del(win, info) | ^ xtb.c:1054:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | void xtb_bk_new(win, width, height, frame) | ^ xtb.c:1077:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | void xtb_bk_del(win) | ^ xtb.c:1095:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | xtb_fmt *xtb_w(w) | ^ xtb.c:1185:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | static void xtb_fmt_setpos(def, x, y) | ^ xtb.c:1210:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | static void xtb_fmt_addpos(def, x, y) | ^ xtb.c:1234:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | static void xtb_fmt_hort(nd, defs, widths, heights, just, pad, inter, rw, rh) | ^ xtb.c:1281:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | static void xtb_fmt_vert(nd, defs, widths, heights, just, pad, inter, rw, rh) | ^ xtb.c:1348:52: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1348 | xtb_fmt_hort(def->align.ni, def->align.items, widths, heights, | ^~~~~~ xtb.c:1348:60: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1348 | xtb_fmt_hort(def->align.ni, def->align.items, widths, heights, | ^~~~~~~ xtb.c:1350:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1350 | def->align.interspace, w, h); | ^ xtb.c:1350:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1350 | def->align.interspace, w, h); | ^ xtb.c:1353:52: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1353 | xtb_fmt_vert(def->align.ni, def->align.items, widths, heights, | ^~~~~~ xtb.c:1353:60: warning: passing 'unsigned int[50]' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1353 | xtb_fmt_vert(def->align.ni, def->align.items, widths, heights, | ^~~~~~~ xtb.c:1355:28: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1355 | def->align.interspace, w, h); | ^ xtb.c:1355:31: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] 1355 | def->align.interspace, w, h); | ^ xtb.c:1327:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | static void xtb_fmt_top(def, w, h) | ^ xtb.c:1397:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | xtb_fmt *xtb_fmt_do(def, w, h) | ^ xtb.c:1416:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | void xtb_fmt_free(def) | ^ xtb.c:1432:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | void xtb_mv_frames(nf, frames) | ^ 61 warnings generated. --- xgraph.o --- xgraph.c:277:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 277 | main(argc, argv) | ^ | int xgraph.c:315:5: warning: call to undeclared function 'InitSets'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 315 | InitSets(); | ^ xgraph.c:318:5: warning: call to undeclared function 'ReadDefaults'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | ReadDefaults(); | ^ xgraph.c:321:5: warning: call to undeclared function 'ParseArgs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 321 | ParseArgs(argc, argv, 0); | ^ xgraph.c:336:22: warning: call to undeclared function 'ReadData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 336 | if ((maxitems = ReadData(strm, inFileNames[idx])) < 0) { | ^ xgraph.c:343:18: warning: call to undeclared function 'ReadData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 343 | if ((maxitems = ReadData(stdin, (char *) 0)) < 0) { | ^ xgraph.c:372:13: warning: passing arguments to 'Traverse' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | Traverse(flags); | ^ xgraph.c:391:24: warning: passing arguments to 'NewWindow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | primary = NewWindow(Window_Name, | ^ xgraph.c:405:11: warning: passing arguments to 'init_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | init_X(NULL); | ^ xgraph.c:421:9: warning: passing arguments to 'init_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | init_X(win_info->dev_info.user_state); | ^ xgraph.c:423:3: warning: call to undeclared function 'DrawWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | DrawWindow(win_info); | ^ xgraph.c:432:9: warning: passing arguments to 'init_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | init_X(win_info->dev_info.user_state); | ^ xgraph.c:443:7: warning: call to undeclared function 'DelWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | DelWindow(theEvent.xkey.window, win_info); | ^ xgraph.c:448:7: warning: call to undeclared function 'PrintWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | PrintWindow(theEvent.xany.window, win_info); | ^ xgraph.c:457:21: warning: call to undeclared function 'HandleZoom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 457 | Num_Windows += HandleZoom(Window_Name, | ^ xgraph.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 | main(argc, argv) | ^ xgraph.c:386:28: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 386 | xtb_init(disp, screen, PM_PIXEL("Foreground"), PM_PIXEL("Background"), | ^ ~~~~~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' 100 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgraph.c:393:4: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 393 | PM_DBL("XLowLimit"), PM_DBL("YLowLimit"), | ^ ~~~~~~~~~~~~~~~~~~~ ./params.h:120:18: note: expanded from macro 'PM_DBL' 120 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgraph.c:473:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | static void ReversePix(param_name) | ^ xgraph.c:520:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | static void Traverse(flags) | ^ xgraph.c:210:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | static void Traverse(); | ^ xgraph.c:585:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | do_error("Can't close window while\nhardcopy dialog is posted.\n"); | ^ xgraph.c:588:6: warning: call to undeclared function 'DelWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 588 | DelWindow(the_win, win_info); | ^ xgraph.c:570:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | xtb_hret del_func(win, bval, info) | ^ xgraph.c:611:2: warning: call to undeclared function 'PrintWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 611 | PrintWindow(the_win, win_info); | ^ xgraph.c:595:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | xtb_hret hcpy_func(win, bval, info) | ^ xgraph.c:640:2: warning: call to undeclared function 'msg_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 640 | msg_box("XGraph", msg_buf); | ^ xgraph.c:621:10: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | xtb_hret abt_func(win, bval, info) | ^ xgraph.c:779:7: warning: passing arguments to 'set_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | set_X(new_window, &(new_info->dev_info)); | ^ xgraph.c:810:20: warning: call to undeclared function 'XrmUniqueQuark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 810 | win_context = XUniqueContext(); | ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' 359 | #define XUniqueContext() ((XContext) XrmUniqueQuark()) | ^ xgraph.c:651:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | Window NewWindow(progname, lowX, lowY, upX, upY, asp, primary) | ^ xgraph.c:821:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 821 | DelWindow(win, win_info) | ^ | int xgraph.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xgraph.c:838:1: warning: non-void function does not return a value [-Wreturn-type] 838 | } | ^ xgraph.c:840:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 840 | PrintWindow(win, win_info) | ^ | int xgraph.c:849:14: warning: passing arguments to 'ho_dialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | ho_dialog(win, Prog_Name, (char *) win_info); | ^ xgraph.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | PrintWindow(win, win_info) | ^ xgraph.c:850:1: warning: non-void function does not return a value [-Wreturn-type] 850 | } | ^ xgraph.c:976:9: warning: passing arguments to 'init_X' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 976 | init_X(wi->dev_info.user_state); | ^ xgraph.c:977:3: warning: call to undeclared function 'DrawWindow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 977 | DrawWindow(wi); | ^ xgraph.c:880:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | int HandleZoom(progname, evt, wi, cur) | ^ xgraph.c:908:22: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced] 908 | gcvals.foreground = PM_PIXEL("ZeroColor") ^ PM_PIXEL("Background"); | ^ ~~~~~~~~~~~~~~~~~~~~~~ ./params.h:100:18: note: expanded from macro 'PM_PIXEL' 100 | ((param_temp_ptr = param_get(name, ¶m_temp)) ? \ | ^ xgraph.c:1088:1: warning: non-void function does not return a value [-Wreturn-type] 1088 | } | ^ xgraph.c:1108:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1108 | DEF("Debug", BOOL); | ^~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1108:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1108:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1109:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1109 | DEF("Geometry", STR); | ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1109:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1109:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1110:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1110 | DEF("Background", PIXEL); | ^~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1110:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1110:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1111:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1111 | DEF("BorderSize", INT); | ^~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1111:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1111:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1112:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1112 | DEF("Border", PIXEL); | ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1112:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1112:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1113:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1113 | DEF("GridSize", INT); | ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1113:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1113:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1114:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1114 | DEF("GridStyle", STYLE); | ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1114:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1114:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1115:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1115 | DEF("Foreground", PIXEL); | ^~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1115:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1115:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1116:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1116 | DEF("ZeroColor", PIXEL); | ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1116:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1116:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1117:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1117 | DEF("ZeroStyle", STYLE); | ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1117:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1117:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1118:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1118 | DEF("ZeroWidth", INT); | ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1118:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1118:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1119:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1119 | DEF("LabelFont", FONT); | ^~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1119:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1119:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1120:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1120 | DEF("TitleFont", FONT); | ^~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1120:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1120:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1121:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1121 | DEF("Ticks", BOOL); | ^~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1121:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1121:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1122:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1122 | DEF("Device", STR); | ^~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1122:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1122:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1123:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1123 | DEF("Disposition", STR); | ^~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1123:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1123:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1124:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1124 | DEF("FileOrDev", STR); | ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1124:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1124:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1125:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1125 | DEF("PixelMarkers", BOOL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1125:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1125:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1126:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1126 | DEF("LargePixels", BOOL); | ^~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1126:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1126:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1127:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1127 | DEF("Markers", BOOL); | ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1127:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1127:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1128:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1128 | DEF("StyleMarkers", BOOL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1128:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1128:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1129:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1129 | DEF("BoundBox", BOOL); | ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1129:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1129:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1130:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1130 | DEF("NoLines", BOOL); | ^~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1130:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1130:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1131:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1131 | DEF("LineWidth", INT); | ^~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1131:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1131:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1136:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1136 | DEF(newname, DBL); /* hard_devices[idx].dev_max_dim */ | ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1136:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1136:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1138:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1138 | DEF(newname, STR); /* hard_devices[idx].dev_title_font */ | ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1138:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1138:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1140:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1140 | DEF(newname, DBL); /* hard_devices[idx].dev_title_size */ | ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1140:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1140:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1142:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1142 | DEF(newname, STR); /* hard_devices[idx].dev_axis_font */ | ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1142:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1142:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1144:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1144 | DEF(newname, DBL); /* hard_devices[idx].dev_axis_size */ | ^~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1144:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1144:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1151:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1151 | DEF(newname, STYLE); /* AllAttrs[idx].lineStyleLen */ | ^~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1151:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1151:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1153:2: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1153 | DEF(newname, PIXEL); /* AllAttrs[idx].pixelValue */ | ^~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1153:2: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1153:2: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1156:5: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1156 | DEF("ReverseVideo", BOOL); | ^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1156:5: note: place parentheses around the assignment to silence this warning xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1156:5: note: use '==' to turn this assignment into an equality comparison xgraph.c:1095:13: note: expanded from macro 'DEF' 1095 | if (def_str = XGetDefault(disp, Prog_Name, name)) { \ | ^ xgraph.c:1157:1: warning: non-void function does not return a value [-Wreturn-type] 1157 | } | ^ xgraph.c:1162:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | int argerror(err, val) | ^ xgraph.c:1251:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1251 | if (hi = index(argv[idx+1], ',')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1251:14: note: place parentheses around the assignment to silence this warning 1251 | if (hi = index(argv[idx+1], ',')) { | ^ | ( ) xgraph.c:1251:14: note: use '==' to turn this assignment into an equality comparison 1251 | if (hi = index(argv[idx+1], ',')) { | ^ | == xgraph.c:1272:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1272 | if (hi = index(argv[idx+1], ',')) { | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~ xgraph.c:1272:14: note: place parentheses around the assignment to silence this warning 1272 | if (hi = index(argv[idx+1], ',')) { | ^ | ( ) xgraph.c:1272:14: note: use '==' to turn this assignment into an equality comparison 1272 | if (hi = index(argv[idx+1], ',')) { | ^ | == xgraph.c:1204:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | int ParseArgs(argc, argv, do_it) | ^ xgraph.c:1324:1: warning: non-void function does not return a value [-Wreturn-type] 1324 | } | ^ xgraph.c:1336:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1336 | static int rdSet(fn) | ^ xgraph.c:1364:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1364 | static void rdSetName(name) | ^ xgraph.c:1381:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1381 | static void rdPoint(xval, yval) | ^ xgraph.c:1456:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1456 | static LineType parse_line(line, result) | ^ xgraph.c:1555:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1555 | int ReadData(stream, filename) | ^ xgraph.c:1628:9: warning: call to undeclared function 'TransformCompute'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1628 | if (TransformCompute(win_info)) { | ^ xgraph.c:1631:2: warning: call to undeclared function 'DrawTitle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1631 | DrawTitle(win_info); | ^ xgraph.c:1634:2: warning: call to undeclared function 'DrawLegend'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1634 | DrawLegend(win_info); | ^ xgraph.c:1637:2: warning: call to undeclared function 'DrawGridAndAxis'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1637 | DrawGridAndAxis(win_info); | ^ xgraph.c:1640:2: warning: call to undeclared function 'DrawData'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1640 | DrawData(win_info); | ^ xgraph.c:1617:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | int DrawWindow(win_info) | ^ xgraph.c:1642:1: warning: non-void function does not return a value [-Wreturn-type] 1642 | } | ^ xgraph.c:1647:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1647 | DrawTitle(wi) | ^ | int xgraph.c:1657:25: 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] 1657 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1647 | DrawTitle(wi) | ^ xgraph.c:1661:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1661 | } | ^ xgraph.c:1721:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | do_error(strcpy(err, "Drawing area is too small\n")); | ^ xgraph.c:1666:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | int TransformCompute(wi) | ^ xgraph.c:1813: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] 1813 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1816: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] 1816 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.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 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1829: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] 1829 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1833: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] 1833 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1836: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] 1836 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1845:15: warning: call to undeclared function 'getDigits'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1845 | Ydigits = getDigits(wi->UsrOrgY, wi->UsrOppY, Yincr, expY, logYFlag); | ^ xgraph.c:1847:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1847 | Ystart = initGrid(wi->UsrOrgY, Yincr, logYFlag); | ^ xgraph.c:1854:2: warning: call to undeclared function 'WriteValue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1854 | WriteValue(value, Yindex, expY, logYFlag, Ydigits); | ^ xgraph.c:1856: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] 1856 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1866:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | Xstart = initGrid(wi->UsrOrgX, Xincr, logXFlag); | ^ xgraph.c:1873:2: warning: call to undeclared function 'WriteValue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1873 | WriteValue(value, Xindex, expX, logXFlag, Xdigits); | ^ xgraph.c:1875: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] 1875 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:1885:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1885 | Ystart = initGrid(wi->UsrOrgY, Yincr, logYFlag); | ^ xgraph.c:1900:25: 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] 1900 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.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 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1909:25: 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] 1909 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1913: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] 1913 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1921:22: warning: passing arguments to 'initGrid' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | Xstart = initGrid(wi->UsrOrgX, Xincr, logXFlag); | ^ xgraph.c:1936:25: 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] 1936 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1939: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] 1939 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1945:25: 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] 1945 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1948: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] 1948 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1962: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] 1962 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:1752:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1752 | int DrawGridAndAxis(wi) | ^ xgraph.c:1965:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1965 | } | ^ xgraph.c:2022:20: warning: passing arguments to 'RoundUp' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2022 | gridStep = RoundUp(step); | ^ xgraph.c:1972:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | double initGrid(low, step, logFlag) | ^ xgraph.c:2037:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2037 | double RoundUp(val) | ^ xgraph.c:2087:9: warning: call to undeclared function 'WriteValue'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2087 | WriteValue(str1, start, expv, logFlag, digits); | ^ xgraph.c:2074:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | int getDigits(low, high, step, expv, logFlag) | ^ xgraph.c:2105:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2105 | int WriteValue(str, val, expv, logFlag, digits) | ^ xgraph.c:2148:1: warning: non-void function does not return a value [-Wreturn-type] 2148 | } | ^ xgraph.c:2181:19: warning: passing arguments to 'set_mark_flags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2181 | set_mark_flags(&markFlag, &pixelMarks, &bigPixel, &colorMark); | ^ xgraph.c:2233:27: 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] 2233 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2237:27: 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] 2237 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2243:23: 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] 2243 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2260: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] 2260 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2301:27: 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] 2301 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2305:27: 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] 2305 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2311:23: 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] 2311 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2329: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] 2329 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2338: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] 2338 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2345: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] 2345 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2164:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2164 | int DrawData(wi) | ^ xgraph.c:2354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 2354 | } | ^ xgraph.c:2369:19: warning: passing arguments to 'set_mark_flags' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2369 | set_mark_flags(&markFlag, &pixelMarks, &bigPixel, &colorMark); | ^ xgraph.c:2380:28: 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] 2380 | wi->dev_info.xg_text(wi->dev_info.user_state, | ^ xgraph.c:2398:27: 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] 2398 | wi->dev_info.xg_seg(wi->dev_info.user_state, | ^ xgraph.c:2402:24: 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] 2402 | wi->dev_info.xg_dot(wi->dev_info.user_state, | ^ xgraph.c:2358:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | int DrawLegend(wi) | ^ xgraph.c:2410:1: warning: non-void function does not return a value [-Wreturn-type] 2410 | } | ^ xgraph.c:2414:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2414 | static void set_mark_flags(markFlag, pixelMarks, bigPixel, colorMark) | ^ xgraph.c:209:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 209 | static void set_mark_flags(); | ^ xgraph.c:2478:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2478 | do_error(sprintf(err, "Unable to issue command:\n %s\n", buf)); | ^ xgraph.c:2482:13: warning: passing arguments to 'tildeExpand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2482 | tildeExpand(tilde, file_or_dev); | ^ xgraph.c:2485:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2485 | do_error(sprintf(err, "Unable to open file `%s'\n", tilde)); | ^ xgraph.c:2502: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] 2502 | if ((*init_fun)(out_stream, final_w, final_h, ti_fam, ti_size, | ^ xgraph.c:2506:29: 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] 2506 | thisWin.dev_info.xg_end(thisWin.dev_info.user_state); | ^ xgraph.c:2509:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2509 | do_error(ierr); | ^ xgraph.c:2444:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | void do_hardcopy(prog, info, init_fun, dev_spec, file_or_dev, maxdim, | ^ In file included from xgraph.c:19: In file included from ./xgout.h:8: ./xgraph.h:37:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | extern void do_hardcopy(); /* Carries out hardcopy */ | ^ xgraph.c:2519:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2519 | static char *tildeExpand(out, in) | ^ xgraph.c:207:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | static char *tildeExpand(); | ^ xgraph.c:2565:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2565 | static int XErrHandler(disp_ptr, evt) | ^ xgraph.c:275:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 275 | static int XErrHandler(); /* Handles error messages */ | ^ 165 warnings generated. --- xgraph --- rm -f xgraph cc -o xgraph -L/usr/local/lib xgraph.o xgX.o hard_devices.o dialog.o hpgl.o ps.o idraw.o xtb.o st.o params.o -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xgraph-11.3.2.20000910_6 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xgraph-11.3.2.20000910_6 ===> Generating temporary packing list /usr/bin/install -c -s xgraph /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/bin/xgraph install in . done rm -f /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/man/man1/xgraph.1* /usr/bin/install -c -m 0444 xgraph._man /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/man/man1/xgraph.1 gzip -n /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/man/man1/xgraph.1 install.man in . done install -m 0644 /wrkdirs/usr/ports/math/xgraph/work/xgraph/examples/*.xg /wrkdirs/usr/ports/math/xgraph/work/stage/usr/local/share/examples/xgraph ====> 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-03-12T04:17:56+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e86da76e7545' '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 xgraph-11.3.2.20000910_6 ===> Building xgraph-11.3.2.20000910_6 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xgraph-11.3.2.20000910_6 build of math/xgraph | xgraph-11.3.2.20000910_6 ended at Thu Mar 12 00:18:01 EDT 2026 build time: 00:00:06