=>> Building games/xblackjack build started at Thu Mar 19 07:12:27 EDT 2026 port directory: /usr/ports/games/xblackjack package name: xblackjack-2.2_5 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 317 Aug 27 2024 /usr/ports/games/xblackjack/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: e427ab10bfca Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 16 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 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_15_0_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_15_0_x64-HEAD-ALL/16/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@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/games/xblackjack/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xblackjack/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xblackjack/work/.cache HOME=/wrkdirs/usr/ports/games/xblackjack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xblackjack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xblackjack/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/games/xblackjack/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xblackjack/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xblackjack/work/.cache HOME=/wrkdirs/usr/ports/games/xblackjack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xblackjack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xblackjack/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=return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -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-- OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xblackjack" EXAMPLESDIR="share/examples/xblackjack" DATADIR="share/xblackjack" WWWDIR="www/xblackjack" ETCDIR="etc/xblackjack" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xblackjack DOCSDIR=/usr/local/share/doc/xblackjack EXAMPLESDIR=/usr/local/share/examples/xblackjack WWWDIR=/usr/local/www/xblackjack ETCDIR=/usr/local/etc/xblackjack --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: The xblackjack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xblackjack-2.2_5 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 ===> xblackjack-2.2_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xblackjack-2.2_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xblackjack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xblackjack-2.2_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xblackjack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xblackjack-2.2_5 for building => SHA256 Checksum OK for xblackjack-2.2.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: The xblackjack port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by xblackjack-2.2_5 for building ===> Extracting for xblackjack-2.2_5 => SHA256 Checksum OK for xblackjack-2.2.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 xblackjack-2.2_5 ===> Applying FreeBSD patches for xblackjack-2.2_5 from /usr/ports/games/xblackjack/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xblackjack-2.2_5 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.1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.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 ===> xblackjack-2.2_5 depends on executable: imake - found ===> Returning to build of xblackjack-2.2_5 ===> xblackjack-2.2_5 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 ===> xblackjack-2.2_5 depends on executable: tradcpp - found ===> Returning to build of xblackjack-2.2_5 ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.13,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.13,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.13,1: .......... done ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xblackjack-2.2_5 ===> xblackjack-2.2_5 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 ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xblackjack-2.2_5 ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.3.0,1.pkg [pkg.DaveG.ca] Installing libXt-1.3.0,1... [pkg.DaveG.ca] `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] Extracting libXt-1.3.0,1: .......... done ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xblackjack-2.2_5 ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - not found ===> Installing existing package /packages/All/libXmu-1.1.4,1.pkg [pkg.DaveG.ca] Installing libXmu-1.1.4,1... [pkg.DaveG.ca] Extracting libXmu-1.1.4,1: .......... done ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> Returning to build of xblackjack-2.2_5 ===> xblackjack-2.2_5 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. ===> xblackjack-2.2_5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xblackjack-2.2_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xblackjack-2.2_5 depends on shared library: libXm.so - not found ===> Installing existing package /packages/All/lesstif-0.95.2_8,2.pkg [pkg.DaveG.ca] Installing lesstif-0.95.2_8,2... [pkg.DaveG.ca] `-- Installing fontconfig-2.17.1,1... [pkg.DaveG.ca] | `-- Installing expat-2.7.4... [pkg.DaveG.ca] | `-- Extracting expat-2.7.4: .......... done [pkg.DaveG.ca] | `-- Installing freetype2-2.14.1... [pkg.DaveG.ca] | | `-- Installing brotli-1.2.0,1... [pkg.DaveG.ca] | | `-- Extracting brotli-1.2.0,1: .......... done [pkg.DaveG.ca] | | `-- Installing png-1.6.55... [pkg.DaveG.ca] | | `-- Extracting png-1.6.55: .......... done [pkg.DaveG.ca] | `-- Extracting freetype2-2.14.1: .......... done [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Extracting fontconfig-2.17.1,1: .......... done [pkg.DaveG.ca] `-- Installing libXft-2.3.8... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXft-2.3.8: .......... done [pkg.DaveG.ca] Extracting lesstif-0.95.2_8,2: .......... done ==> Running trigger: fontconfig.ucl Running fc-cache to build fontconfig cache... ===== Message from freetype2-2.14.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed). ===== Message from lesstif-0.95.2_8,2: -- Make sure to set HAVE_MOTIF=yes in /etc/make.conf ===> xblackjack-2.2_5 depends on shared library: libXm.so - found (/usr/local/lib/libXm.so) ===> Returning to build of xblackjack-2.2_5 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xblackjack-2.2_5 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 -DVERSION="\"2.2\"" -- Card.c Draw.c Main.c Strategy.c Table.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xblackjack-2.2_5 --- all --- --- Card.o --- --- Draw.o --- --- Main.o --- --- Strategy.o --- --- Table.o --- --- xblackjack._man --- --- all --- rm -f XBlackjack.ad --- Card.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DVERSION="\"2.2\"" -c Card.c -o Card.o --- Draw.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DVERSION="\"2.2\"" -c Draw.c -o Draw.o --- Main.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DVERSION="\"2.2\"" -c Main.c -o Main.o --- Strategy.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DVERSION="\"2.2\"" -c Strategy.c -o Strategy.o --- Table.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DVERSION="\"2.2\"" -c Table.c -o Table.o --- xblackjack._man --- rm -f xblackjack._man --- all --- ln -s XBlackjack.MOTIF XBlackjack.ad --- xblackjack._man --- if test -z "" ; then cd `dirname xblackjack` && ln -s `basename xblackjack.man` `basename xblackjack._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" < xblackjack.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/\@\@$/\\/' >xblackjack._man; fi --- Card.o --- Card.c:71:14: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 71 | extern char *malloc(); | ^ Card.c:71:14: note: 'malloc' is a builtin with type 'void *(unsigned long)' Card.c:100:2: warning: call to undeclared function 'srand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | srand(time(NULL)); /* for shuffling */ | ^ Card.c:100:8: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | srand(time(NULL)); /* for shuffling */ | ^ Card.c:104:37: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | first_card = (struct card *) malloc(total_bytes); | ^ Card.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | init_cards(total_decks, total_cards, total_fives, total_tens, total_others) | ^ In file included from Card.c:68: ./Card.h:76: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] 76 | extern void init_cards(); | ^ Card.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | icmp(l, r) | ^ Card.c:203:14: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | c->index = rand(); | ^ Card.c:208:2: warning: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 208 | qsort(first_card, i, sizeof(struct card), icmp); | ^ Card.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | shuffle(first_in_play) | ^ In file included from Card.c:68: ./Card.h:79: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] 79 | extern void shuffle(); | ^ 11 warnings generated. --- Strategy.o --- Strategy.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | should_split(name, up, index) | ^ Strategy.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | should_double(min, max, up, index) | ^ Strategy.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | should_stand(min, max, up, index) | ^ Strategy.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | should_bet(bankroll, index) | ^ Strategy.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | Set_Bet_Unit(bankroll) | ^ Strategy.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | should_insure(index) | ^ Strategy.c:294:41: warning: parameter 'fg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 294 | CreateLabel(table, c, r, cs, rs, label, fg, bg, sensitive) | ^ 295 | Widget table; 296 | Position c, r; 297 | Dimension cs, rs; 298 | String label; 299 | Pixel bg; 300 | Boolean sensitive; 301 | { Strategy.c:294:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 294 | CreateLabel(table, c, r, cs, rs, label, fg, bg, sensitive) | ^ | int Strategy.c:352:14: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | XtTblConfig(w, c, r, cs, rs, TBL_DEF_OPT); | ^ Strategy.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | CreateLabel(table, c, r, cs, rs, label, fg, bg, sensitive) | ^ Strategy.c:369:1: warning: non-void function does not return a value [-Wreturn-type] 369 | } | ^ Strategy.c:375:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 375 | legend(w, up, str1, str2) | ^ | int Strategy.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Strategy.c:395:1: warning: non-void function does not return a value [-Wreturn-type] 395 | } | ^ Strategy.c:473:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 473 | sprintf(str, "Split, since %d is less than 24"); | ~^ Strategy.c:476:40: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 476 | sprintf(str, "Don't split, since %d is not less than 24"); | ~^ Strategy.c:478:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 478 | Msg(str); | ^ Strategy.c:483:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 483 | sprintf(str, "Split, since %d is greater than 6"); | ~^ Strategy.c:486:34: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 486 | sprintf(str, "Split, since %d is less than -2"); | ~^ Strategy.c:489:40: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 489 | sprintf(str, "Don't split, since %d is between -2 and 6"); | ~^ Strategy.c:494:13: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | rank_name(name), rank_name(up)); | ^ Strategy.c:494:30: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | rank_name(name), rank_name(up)); | ^ Strategy.c:498:13: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | rank_name(name), rank_name(up)); | ^ Strategy.c:498:30: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | rank_name(name), rank_name(up)); | ^ Strategy.c:508:2: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 508 | Msg(str); | ^ Strategy.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | ManageSplitDialog(name, up, index) | ^ Strategy.c:473:6: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 31 [-Wformat-overflow] 473 | sprintf(str, "Split, since %d is less than 24"); | ^ Strategy.c:476:6: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 41 [-Wformat-overflow] 476 | sprintf(str, "Don't split, since %d is not less than 24"); | ^ Strategy.c:483:6: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 33 [-Wformat-overflow] 483 | sprintf(str, "Split, since %d is greater than 6"); | ^ Strategy.c:486:6: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 31 [-Wformat-overflow] 486 | sprintf(str, "Split, since %d is less than -2"); | ^ Strategy.c:489:6: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 41 [-Wformat-overflow] 489 | sprintf(str, "Don't split, since %d is between -2 and 6"); | ^ Strategy.c:493:3: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 19 [-Wformat-overflow] 493 | sprintf(str, "Always split %ss on %s", | ^ Strategy.c:497:3: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 18 [-Wformat-overflow] 497 | sprintf(str, "Never split %ss on %s", | ^ Strategy.c:501:3: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 33 [-Wformat-overflow] 501 | sprintf(str, "Split, since %d is greater than %d", | ^ Strategy.c:505:3: warning: 'sprintf' will always overflow; destination buffer has size 7, but format string expands to at least 43 [-Wformat-overflow] 505 | sprintf(str, "Don't split, since %d is not greater than %d", | ^ Strategy.c:564:4: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 564 | Msg("Never double down with BLACKJACK."); | ^ Strategy.c:580:20: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | nstr, rank_name(up)); | ^ Strategy.c:584:20: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | nstr, rank_name(up)); | ^ Strategy.c:595:2: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 595 | Msg(str); | ^ Strategy.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | ManageDoubleDialog(min, max, up, index) | ^ Strategy.c:645:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 645 | Msg(str); | ^ Strategy.c:651:14: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | rank_name(up)); | ^ Strategy.c:655:15: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | rank_name(up)); | ^ Strategy.c:665:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | Msg(str); | ^ Strategy.c:668:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | Msg("Always stand at soft 19 or more."); | ^ Strategy.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | ManageSoftDialog(total, up, index) | ^ Strategy.c:724:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 724 | Msg("Always stand with hard 18 or more."); | ^ Strategy.c:727:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 727 | Msg("Always hit 11 or less."); | ^ Strategy.c:731:14: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 731 | rank_name(up)); | ^ Strategy.c:732:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 732 | Msg(str); | ^ Strategy.c:736:14: warning: passing arguments to 'rank_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | rank_name(up)); | ^ Strategy.c:737:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 737 | Msg(str); | ^ Strategy.c:742:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | Msg(str); | ^ Strategy.c:747:3: warning: call to undeclared function 'Msg'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 747 | Msg(str); | ^ Strategy.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | ManageHardDialog(total, up, index) | ^ Strategy.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | strategy_init(dpy, st, sd, dt, dd, ft, fd, ht, hd, bu) | ^ 56 warnings generated. --- Draw.o --- Draw.c:176:14: warning: incompatible redeclaration of library function 'calloc' [-Wincompatible-library-redeclaration] 176 | extern char *calloc(); | ^ Draw.c:176:14: note: 'calloc' is a builtin with type 'void *(unsigned long, unsigned long)' Draw.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | rnk_name(rank) | ^ Draw.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | rank_name(rank) | ^ Draw.c:170:7: 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] 170 | char *rank_name(); | ^ Draw.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | suit_name(suit) | ^ Draw.c:172:7: 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] 172 | char *suit_name(); | ^ Draw.c:391:2: warning: call to undeclared function 'make_card_maps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 391 | make_card_maps(); | ^ Draw.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | draw_init(d, scr, dw, hw, pw) | ^ In file included from Draw.c:91: ./Draw.h:45: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] 45 | extern void draw_init(); | ^ Draw.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | make_red_map(bits, width, height) | ^ Draw.c:437:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 437 | make_card_maps() | ^ | int Draw.c:448:31: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | new_bits = (BIT_TYPE) calloc(sizeof(rank_bits[(int)r]), | ^ Draw.c:450:3: warning: call to undeclared function 'rot_180'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 450 | rot_180((BIT_TYPE)rank_bits[(int)r], new_bits, | ^ Draw.c:454:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 454 | new_bits, rank_width, rank_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:455:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 455 | free((char *)new_bits); | ^ Draw.c:455:3: note: include the header or explicitly provide a declaration for 'free' Draw.c:459:31: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | new_bits = (BIT_TYPE) calloc(sizeof(rank_bits[(int)r]), | ^ Draw.c:461:3: warning: call to undeclared function 'rot_180'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | rot_180((BIT_TYPE)rank_bits[(int)r], new_bits, | ^ Draw.c:470:5: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 470 | new_bits, rank_width, rank_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:487:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | new_bits = (BIT_TYPE) calloc(sizeof(spade_bits), 1); | ^ Draw.c:488:2: warning: call to undeclared function 'flip_bits'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 488 | flip_bits((BIT_TYPE)spade_bits, new_bits, spade_width, | ^ Draw.c:491:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 491 | new_bits, spade_width, spade_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:497:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | new_bits = (BIT_TYPE) calloc(sizeof(spade_sm_bits), 1); | ^ Draw.c:501:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 501 | new_bits, spade_sm_width, spade_sm_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:518:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | new_bits = (BIT_TYPE) calloc(sizeof(heart_bits), 1); | ^ Draw.c:528:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 528 | new_bits, heart_width, heart_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:538:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | new_bits = (BIT_TYPE) calloc(sizeof(heart_sm_bits), 1); | ^ Draw.c:542:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 542 | new_bits, heart_sm_width, heart_sm_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:550:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 550 | new_bits, heart_sm_width, heart_sm_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:587:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 587 | new_bits = (BIT_TYPE) calloc(sizeof(diamond_bits), 1); | ^ Draw.c:597:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 597 | new_bits, diamond_width, diamond_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:607:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | new_bits = (BIT_TYPE) calloc(sizeof(diamond_sm_bits), 1); | ^ Draw.c:611:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 611 | new_bits, diamond_sm_width, diamond_sm_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:619:4: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 619 | new_bits, diamond_sm_width, diamond_sm_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:659:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | new_bits = (BIT_TYPE) calloc(sizeof(club_bits), 1); | ^ Draw.c:663:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 663 | new_bits, club_width, club_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:669:30: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | new_bits = (BIT_TYPE) calloc(sizeof(club_sm_bits), 1); | ^ Draw.c:673:3: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 673 | new_bits, club_sm_width, club_sm_height); | ^~~~~~~~ /usr/local/include/X11/Xlib.h:1603:29: note: passing argument to parameter here 1603 | _Xconst char* /* data */, | ^ Draw.c:687:1: warning: non-void function does not return a value [-Wreturn-type] 687 | } | ^ Draw.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | draw_cardback(win, x, y) | ^ In file included from Draw.c:91: ./Draw.h: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 | extern void draw_cardback(); | ^ Draw.c:715:11: warning: parameter 'win' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 715 | draw_card(win, x, y, rank, suit) | ^ 716 | int x,y; 717 | Rank rank; 718 | Suit suit; 719 | { Draw.c:739:3: warning: call to undeclared function 'draw_king'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 739 | draw_king(win, suit, x, y); | ^ Draw.c:742:3: warning: call to undeclared function 'draw_queen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 742 | draw_queen(win, suit, x, y); | ^ Draw.c:745:3: warning: call to undeclared function 'draw_jack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 745 | draw_jack(win, suit, x, y); | ^ Draw.c:749:3: warning: call to undeclared function 'draw_pip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 749 | draw_pip(win, suit, MID_CARD_X + x, CARD_TEN_Y1 + y); | ^ Draw.c:750:3: warning: call to undeclared function 'draw_did'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 750 | draw_did(win, suit, MID_CARD_X + x, CARD_TEN_Y2 + y); | ^ Draw.c:751:3: warning: call to undeclared function 'draw_eight_pips'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 751 | draw_eight_pips(win, suit, x, y); | ^ Draw.c:766:3: warning: call to undeclared function 'draw_six_pips'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 766 | draw_six_pips(win, suit, x, y); | ^ Draw.c:773:3: warning: call to undeclared function 'draw_four_pips'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 773 | draw_four_pips(win, suit, x, y); | ^ Draw.c:780:3: warning: call to undeclared function 'draw_two_pips'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 780 | draw_two_pips(win, suit, x, y); | ^ Draw.c:783:3: warning: call to undeclared function 'draw_center_pip'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 783 | draw_center_pip(win, suit, x + MID_CARD_X, y + MID_CARD_Y); | ^ Draw.c:789:2: warning: call to undeclared function 'draw_rank'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 789 | draw_rank(win, x, y, rank, suit); | ^ Draw.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | draw_card(win, x, y, rank, suit) | ^ In file included from Draw.c:91: ./Draw.h: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 | extern void draw_card(); | ^ Draw.c:810:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 810 | draw_pip(win, suit, x, y) | ^ | int Draw.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:843:1: warning: non-void function does not return a value [-Wreturn-type] 843 | } | ^ Draw.c:850:10: warning: parameter 'win' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 850 | draw_did(win, suit, x, y) | ^ 851 | Suit suit; 852 | int x,y; 853 | { Draw.c:850:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 850 | draw_did(win, suit, x, y) | ^ | int Draw.c:857:3: warning: non-void function 'draw_did' should return a value [-Wreturn-mismatch] 857 | return; | ^ Draw.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | draw_did(win, suit, x, y) | ^ Draw.c:885:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 885 | } | ^ Draw.c:890:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 890 | draw_center_pip(win, suit, x, y) | ^ | int Draw.c:898:3: warning: non-void function 'draw_center_pip' should return a value [-Wreturn-mismatch] 898 | return; | ^ Draw.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | draw_center_pip(win, suit, x, y) | ^ Draw.c:923:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 923 | } | ^ Draw.c:928:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 928 | draw_two_pips(win, suit, x, y) | ^ | int Draw.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:935:1: warning: non-void function does not return a value [-Wreturn-type] 935 | } | ^ Draw.c:940:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 940 | draw_four_pips(win, suit, x, y) | ^ | int Draw.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:950:1: warning: non-void function does not return a value [-Wreturn-type] 950 | } | ^ Draw.c:952:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 952 | draw_six_pips(win, suit, x, y) | ^ | int Draw.c:962:3: warning: non-void function 'draw_six_pips' should return a value [-Wreturn-mismatch] 962 | return; | ^ Draw.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | draw_six_pips(win, suit, x, y) | ^ Draw.c:971:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 971 | } | ^ Draw.c:973:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 973 | draw_eight_pips(win, suit, x, y) | ^ | int Draw.c:983:3: warning: non-void function 'draw_eight_pips' should return a value [-Wreturn-mismatch] 983 | return; | ^ Draw.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | draw_eight_pips(win, suit, x, y) | ^ Draw.c:993:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 993 | } | ^ Draw.c:995:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 995 | draw_jack(win, suit, x, y) | ^ | int Draw.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:1009:1: warning: non-void function does not return a value [-Wreturn-type] 1009 | } | ^ Draw.c:1011:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1011 | draw_queen(win, suit, x, y) | ^ | int Draw.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:1025:1: warning: non-void function does not return a value [-Wreturn-type] 1025 | } | ^ Draw.c:1027:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1027 | draw_king(win, suit, x, y) | ^ | int Draw.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:1041:1: warning: non-void function does not return a value [-Wreturn-type] 1041 | } | ^ Draw.c:1043:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1043 | draw_rank(win, x, y, rank, suit) | ^ | int Draw.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:1103:1: warning: non-void function does not return a value [-Wreturn-type] 1103 | } | ^ Draw.c:1144:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1144 | flip_bits(src, dst, W, H) | ^ | int Draw.c:1144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Draw.c:1156:1: warning: non-void function does not return a value [-Wreturn-type] 1156 | } | ^ Draw.c:1158:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1158 | rot_180(src, dst, W, H) | ^ | int Draw.c:1176:24: warning: passing arguments to 'calloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | new = (BIT_TYPE)calloc((unsigned)W*H, (unsigned)1); | ^ Draw.c:1158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1158 | rot_180(src, dst, W, H) | ^ Draw.c:1187:1: warning: non-void function does not return a value [-Wreturn-type] 1187 | } | ^ Draw.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | card_x(n) | ^ Draw.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | card_y(hand) | ^ Draw.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | display_card(hand, n, suit, name) | ^ Draw.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | face_down(hand, n) | ^ 103 warnings generated. --- Strategy.o --- --- Draw.o --- --- Table.o --- Table.c:269:27: warning: passing arguments to 'XtTblParseLayout' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | ptr = XtTblParseLayout(layout_spec); | ^ Table.c:248:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | static void cvtStrToDefLoc(args, num_args, from, to) | ^ Table.c:295:21: warning: passing arguments to 'ParseOpts' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | mask = ParseOpts(opt_spec); | ^ Table.c:274:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | static void cvtStrToOpts(args, num_args, from, to) | ^ Table.c:321:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | static Cardinal LenDefLoc(ptr) | ^ Table.c:335:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | static TableDefLocPtr CopyDefLoc(ptr) | ^ Table.c:357:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | static TableDefLocPtr FindDefLoc(tbl, name) | ^ Table.c:400:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 400 | if (update = FindDefLoc(result, dest[j].w_name)) { | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Table.c:400:13: note: place parentheses around the assignment to silence this warning 400 | if (update = FindDefLoc(result, dest[j].w_name)) { | ^ | ( ) Table.c:400:13: note: use '==' to turn this assignment into an equality comparison 400 | if (update = FindDefLoc(result, dest[j].w_name)) { | ^ | == Table.c:375:23: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | static TableDefLocPtr MergeDefLoc(source, dest) | ^ Table.c:455:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 455 | XtRealloc((unsigned char *)tbl->locs, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Intrinsic.h:1863:22: note: passing argument to parameter here 1863 | char* /* ptr */, | ^ Table.c:432:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | static void TblInsertLoc(tbl, w, locp) | ^ Table.c:467:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | static TableLocPtr TblLocLookup(tbl, w) | ^ Table.c:485:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | static void TblFreeLocTbl(tbl) | ^ Table.c:497:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | static void TblInitialize(request, new) | ^ Table.c:82: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] 82 | static void TblInitialize(); | ^ Table.c:539:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 539 | XtRealloc((unsigned char *)result->locs, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Intrinsic.h:1863:22: note: passing argument to parameter here 1863 | char* /* ptr */, | ^ Table.c:543:23: warning: passing arguments to 'TblFindChild' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | if (!TblFindChild(wl[i], | ^ Table.c:520:23: 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 TableLocTblPtr GetManaged(nw, wl) | ^ Table.c:576:13: 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] 576 | (*val_func)(&(mw->locs[i]), &loc, &span, &small_flag); | ^ Table.c:563:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | static Cardinal VecSize(mw, val_func) | ^ Table.c:601:13: 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] 601 | (*val_func)(&(mw->locs[i]), &loc, &span, &small_flag); | ^ Table.c:586:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | static void SetVecOptions(mw, val_func, vec) | ^ Table.c:624: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] 624 | (*span_cmp_val_func)((TableLocEntryPtr) a, &loc_a, &span_a, &small_flag); | ^ Table.c:625: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] 625 | (*span_cmp_val_func)((TableLocEntryPtr) b, &loc_b, &span_b, &small_flag); | ^ Table.c:614:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 614 | static int span_cmp(a, b) | ^ Table.c:630:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | static Cardinal FindDistrib(loc, span, vec, result) | ^ Table.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 DoDistrib(n_dist, distrib, loc, span, vec, size, inter) | ^ Table.c:730:2: warning: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 730 | qsort((char *) mw->locs, (int) mw->n_layout, | ^ Table.c:735: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] 735 | (*val_func)(&(mw->locs[i]), &loc, &span, &small_flag); | ^ Table.c:738: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] 738 | (*size_func)(mw->locs[i].w), inter); | ^ Table.c:697:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | static Cardinal CompVector(mw, val_func, size_func, inter, result) | ^ Table.c:749:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | static void ColValues(oneloc, loc, span, small_flag) | ^ Table.c:764:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | static void RowValues(oneloc, loc, span, small_flag) | ^ Table.c:779:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | static Dimension ColSize(w) | ^ Table.c:797:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 797 | static Dimension RowSize(w) | ^ Table.c:818:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | static void TblRecompVectors(tw) | ^ Table.c:876:13: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 876 | switch (rtn) { | ^~~ Table.c:859:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | static void TblRequestResize(tw) | ^ Table.c:893:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | static void ExtraSpace(num, vec, size) | ^ Table.c:924:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | static Dimension SumVec(loc, span, vec, start, inter, end) | ^ Table.c:942:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 942 | static void PlaceWidget(w, x, y, width, height, rw, rh, opt) | ^ Table.c:977:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | static void DoPlace(managed, cvec, rvec, vp, hp, rs, cs) | ^ Table.c:1040:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | static void TblPlacement(tw) | ^ Table.c:1150:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1150 | static void TblResize(w) | ^ Table.c:83: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] 83 | static void TblResize(); | ^ Table.c:1173:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | static XtGeometryResult ExamineRequest(request) | ^ Table.c:1271:25: warning: passing arguments to 'TblFindChild' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | if (!TblFindChild(w, &x, &y, &h, &v, &options)) return XtGeometryNo; | ^ Table.c:1222:10: warning: enumeration value 'XtGeometryDone' not handled in switch [-Wswitch] 1222 | switch (result) { | ^~~~~~ Table.c:1196:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | static XtGeometryResult TblGeometryManager(w, request, reply) | ^ Table.c:87:25: 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] 87 | static XtGeometryResult TblGeometryManager(); | ^ Table.c:1408:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1408 | } | ^ Table.c:1413:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | static Boolean TblSetValues(current, request, new) | ^ Table.c:86: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] 86 | static Boolean TblSetValues(); | ^ Table.c:1446:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | static void TblChangeManaged(w) | ^ Table.c:88: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] 88 | static void TblChangeManaged(); | ^ Table.c:1470:25: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1470 | static XtGeometryResult TblQueryGeometry(w, request, geo_return) | ^ Table.c:84:25: 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] 84 | static XtGeometryResult TblQueryGeometry(); | ^ Table.c:1511:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | static void TblPositionChild(w, c, r, hspan, vspan, options) | ^ Table.c:85: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] 85 | static void TblPositionChild(); | ^ Table.c:1599:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1599 | if (locp = TblLocLookup(tw->table.real_layout, w)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Table.c:1599:11: note: place parentheses around the assignment to silence this warning 1599 | if (locp = TblLocLookup(tw->table.real_layout, w)) { | ^ | ( ) Table.c:1599:11: note: use '==' to turn this assignment into an equality comparison 1599 | if (locp = TblLocLookup(tw->table.real_layout, w)) { | ^ | == Table.c:1617:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1617 | if (temp = FindDefLoc(tw->table.layout_db, name)) { | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Table.c:1617:15: note: place parentheses around the assignment to silence this warning 1617 | if (temp = FindDefLoc(tw->table.layout_db, name)) { | ^ | ( ) Table.c:1617:15: note: use '==' to turn this assignment into an equality comparison 1617 | if (temp = FindDefLoc(tw->table.layout_db, name)) { | ^ | == Table.c:1572:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | static Boolean TblFindChild(w, c_r, r_r, hspan_r, vspan_r, opt_r) | ^ Table.c:89: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] 89 | static Boolean TblFindChild(); | ^ Table.c:1638:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1638 | static void TblDestroy(w) | ^ Table.c:90: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] 90 | static void TblDestroy(); | ^ Table.c:1654:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | static Cardinal DefSpecLen(layout) | ^ Table.c:1678:18: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | static XtTblMask ParseOpts(spec) | ^ Table.c:91:18: 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] 91 | static XtTblMask ParseOpts(); | ^ Table.c:1709:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1709 | static void DefParse(spec, loc_spec) | ^ Table.c:1787:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | static String GetSpec(spec_ptr) | ^ Table.c:1862:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1862 | while (spec = GetSpec(&layout)) { | ~~~~~^~~~~~~~~~~~~~~~~~ Table.c:1862:14: note: place parentheses around the assignment to silence this warning 1862 | while (spec = GetSpec(&layout)) { | ^ | ( ) Table.c:1862:14: note: use '==' to turn this assignment into an equality comparison 1862 | while (spec = GetSpec(&layout)) { | ^ | == Table.c:1824:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1824 | caddr_t XtTblParseLayout(layout) | ^ In file included from Table.c:50: In file included from ./TableP.h:16: ./Table.h:79: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] 79 | extern caddr_t XtTblParseLayout(); | ^ Table.c:1876:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | void XtTblPosition(w, col, row) | ^ In file included from Table.c:50: In file included from ./TableP.h:16: ./Table.h:82: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] 82 | extern void XtTblPosition(); | ^ Table.c:1899:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | void XtTblResize(w, h_span, v_span) | ^ In file included from Table.c:50: In file included from ./TableP.h:16: ./Table.h:88: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] 88 | extern void XtTblResize(); | ^ Table.c:1920:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | void XtTblOptions(w, opt) | ^ In file included from Table.c:50: In file included from ./TableP.h:16: ./Table.h:94: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] 94 | extern void XtTblOptions(); | ^ Table.c:1942:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1942 | void XtTblConfig(w, col, row, h_span, v_span, opt) | ^ In file included from Table.c:50: In file included from ./TableP.h:16: ./Table.h:100: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] 100 | extern void XtTblConfig(); | ^ Table.c:1958:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1958 | Widget XtCreateTable(parent, name, arglist, argcount) | ^ In file included from Table.c:50: In file included from ./TableP.h:16: ./Table.h:108:15: 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] 108 | extern Widget XtCreateTable(); | ^ 83 warnings generated. --- Main.o --- Main.c:476:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 476 | void SetLabel(w, label) | ^ Main.c:518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 518 | Msg(str) | ^ Main.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | MsgCB(w, client_data, call_data) | ^ Main.c:537:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 537 | StopAutoplay() | ^ | int Main.c:543:1: warning: non-void function does not return a value [-Wreturn-type] 543 | } | ^ Main.c:545:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 545 | ShowHintMsg() | ^ | int Main.c:553:1: warning: non-void function does not return a value [-Wreturn-type] 553 | } | ^ Main.c:555:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 555 | ClearHintMsg() | ^ | int Main.c:558:1: warning: non-void function does not return a value [-Wreturn-type] 558 | } | ^ Main.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | PopupCB(w, PopupIsUp, call_data) | ^ Main.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | PopdownCB(w, PopupIsUp, call_data) | ^ Main.c:619:5: warning: data argument not used by format string [-Wformat-extra-args] 618 | sprintf(str, "Only bet 1 when the index is less than 4", | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 619 | simple_count, unseen_cards, highlow_index); | ^ Main.c:628:9: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 628 | min = min_total(current_hand); | ^ Main.c:629:9: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 629 | max = max_total(current_hand); | ^ Main.c:669:4: warning: call to undeclared function 'UnmanageStrategyDialogs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 669 | UnmanageStrategyDialogs(); | ^ Main.c:670:21: warning: passing arguments to 'ManageSplitDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | ManageSplitDialog((min/2)-1, up, highlow_index); | ^ Main.c:673:4: warning: call to undeclared function 'UnmanageStrategyDialogs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 673 | UnmanageStrategyDialogs(); | ^ Main.c:674:22: warning: passing arguments to 'ManageDoubleDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | ManageDoubleDialog(min, max, up, highlow_index); | ^ Main.c:677:4: warning: call to undeclared function 'UnmanageStrategyDialogs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | UnmanageStrategyDialogs(); | ^ Main.c:678:20: warning: passing arguments to 'ManageSoftDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | ManageSoftDialog(max, up, highlow_index); | ^ Main.c:681:4: warning: call to undeclared function 'UnmanageStrategyDialogs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 681 | UnmanageStrategyDialogs(); | ^ Main.c:682:20: warning: passing arguments to 'ManageHardDialog' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | ManageHardDialog(max, up, highlow_index); | ^ Main.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | ManageHintDialogCB(w, client_data, call_data) | ^ Main.c:698:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 698 | UnmanageStrategyDialogs() | ^ | int Main.c:711:1: warning: non-void function does not return a value [-Wreturn-type] 711 | } | ^ Main.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | IsMapped(w) | ^ Main.c:729:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 729 | AdjustBankroll(delta) | ^ | int Main.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Main.c:740:1: warning: non-void function does not return a value [-Wreturn-type] 740 | } | ^ Main.c:753:6: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 753 | if (BLACKJACK(DEALER) || BLACKJACK(current_hand)) { | ^ Main.c:249:27: note: expanded from macro 'BLACKJACK' 249 | && (cards[h] == 2) && (max_total(h) == 21)) | ^ Main.c:754:3: warning: call to undeclared function 'finish_hand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 754 | finish_hand(); | ^ Main.c:760:3: warning: call to undeclared function 'MakeChoice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 760 | MakeChoice(); | ^ Main.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | NoInsuranceCB(w, client_data, call_data) | ^ Main.c:775:6: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 775 | if (BLACKJACK(DEALER)) { | ^ Main.c:249:27: note: expanded from macro 'BLACKJACK' 249 | && (cards[h] == 2) && (max_total(h) == 21)) | ^ Main.c:781:3: warning: call to undeclared function 'finish_hand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 781 | finish_hand(); | ^ Main.c:791:4: warning: call to undeclared function 'finish_hand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 791 | finish_hand(); | ^ Main.c:794:4: warning: call to undeclared function 'MakeChoice'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 794 | MakeChoice(); | ^ Main.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | YesInsuranceCB(w, client_data, call_data) | ^ Main.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | Action(action, w) | ^ Main.c:851:20: warning: passing arguments to 'should_insure' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | if (should_insure(highlow_index)) { | ^ Main.c:870:32: warning: passing arguments to 'should_bet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | scale_data.value = should_bet(bankroll, highlow_index); | ^ Main.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | VersionCB(w, client_data, call_data) | ^ Main.c:951:3: warning: call to undeclared function 'DoShuffleDialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 951 | DoShuffleDialog(first_in_play->index-1); | ^ Main.c:955:3: warning: call to undeclared function 'DoShuffleDialog'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 955 | DoShuffleDialog(total_cards); | ^ Main.c:959:9: warning: passing arguments to 'shuffle' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | shuffle(first_in_play); /* first_in_play and on excluded */ | ^ Main.c:982:6: warning: call to undeclared function 'face_up'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 982 | face_up(h, i, False); | ^ Main.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | shuffle_up(first_in_play, doDialog) | ^ Main.c:1012:3: warning: call to undeclared function 'display_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1012 | display_cards(DEALER); /* force hole card under */ | ^ Main.c:1015:3: warning: call to undeclared function 'face_up'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1015 | face_up(hand, cards[hand], True); | ^ Main.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 996 | deal_card(hand) | ^ Main.c:1021:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1021 | TurnOffSashTraversal(pane) | ^ | int Main.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Main.c:1040:1: warning: non-void function does not return a value [-Wreturn-type] 1040 | } | ^ Main.c:1043:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1043 | MakeChoice() | ^ | int Main.c:1060:7: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1060 | if (min_total(current_hand) == 10 | ^ Main.c:1062:7: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1062 | || max_total(current_hand) == 10) { | ^ Main.c:1076:19: warning: passing arguments to 'should_split' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | if (should_split(c[current_hand][0]->name, | ^ Main.c:1082:21: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1082 | if (should_double(min_total(current_hand), | ^ Main.c:1083:4: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1083 | max_total(current_hand), c[DEALER][0]->name, | ^ Main.c:1082:20: warning: passing arguments to 'should_double' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | if (should_double(min_total(current_hand), | ^ Main.c:1089:20: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1089 | if (should_stand(min_total(current_hand), | ^ Main.c:1090:4: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1090 | max_total(current_hand), c[DEALER][0]->name, | ^ Main.c:1089:19: warning: passing arguments to 'should_stand' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1089 | if (should_stand(min_total(current_hand), | ^ Main.c:1147:1: warning: non-void function does not return a value [-Wreturn-type] 1147 | } | ^ Main.c:1149:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1149 | UpdateWonLabelValue() | ^ | int Main.c:1153:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1153 | sprintf(str, "%d", hands_won); | ~~ ^~~~~~~~~ | %lu Main.c:1155:1: warning: non-void function does not return a value [-Wreturn-type] 1155 | } | ^ Main.c:1157:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1157 | UpdateWonLabelPercent() | ^ | int Main.c:1163:1: warning: non-void function does not return a value [-Wreturn-type] 1163 | } | ^ Main.c:1165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1165 | UpdateLostLabelValue() | ^ | int Main.c:1169:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1169 | sprintf(str, "%d", hands_lost); | ~~ ^~~~~~~~~~ | %lu Main.c:1171:1: warning: non-void function does not return a value [-Wreturn-type] 1171 | } | ^ Main.c:1173:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1173 | UpdateLostLabelPercent() | ^ | int Main.c:1179:1: warning: non-void function does not return a value [-Wreturn-type] 1179 | } | ^ Main.c:1181:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1181 | UpdatePushedLabelValue() | ^ | int Main.c:1185:21: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] 1185 | sprintf(str, "%d", hands_pushed); | ~~ ^~~~~~~~~~~~ | %lu Main.c:1187:1: warning: non-void function does not return a value [-Wreturn-type] 1187 | } | ^ Main.c:1189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1189 | UpdatePushedLabelPercent() | ^ | int Main.c:1195:1: warning: non-void function does not return a value [-Wreturn-type] 1195 | } | ^ Main.c:1197:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1197 | UpdateWonLostAndPushed() | ^ | int Main.c:1205:1: warning: non-void function does not return a value [-Wreturn-type] 1205 | } | ^ Main.c:1217:6: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1217 | if (BLACKJACK(DEALER)) { | ^ Main.c:249:27: note: expanded from macro 'BLACKJACK' 249 | && (cards[h] == 2) && (max_total(h) == 21)) | ^ Main.c:1231:11: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1231 | else if (min_total(hand) > 21) { | ^ Main.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | pay_off(hand) | ^ Main.c:1318:1: warning: non-void function does not return a value [-Wreturn-type] 1318 | } | ^ Main.c:1326:12: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1326 | int min = min_total(DEALER); | ^ Main.c:1327:12: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1327 | int max = max_total(DEALER); | ^ Main.c:1329:2: warning: call to undeclared function 'face_up'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1329 | face_up(DEALER, 2, True); | ^ Main.c:1351:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1351 | RedrawDealerCards() | ^ | int Main.c:1359:2: warning: call to undeclared function 'display_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1359 | display_cards(DEALER); | ^ Main.c:1360:1: warning: non-void function does not return a value [-Wreturn-type] 1360 | } | ^ Main.c:1362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1362 | RedrawPlayerCards() | ^ | int Main.c:1370:2: warning: call to undeclared function 'display_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1370 | display_cards(current_hand); | ^ Main.c:1371:1: warning: non-void function does not return a value [-Wreturn-type] 1371 | } | ^ Main.c:1373:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1373 | RedrawCards() | ^ | int Main.c:1377:1: warning: non-void function does not return a value [-Wreturn-type] 1377 | } | ^ Main.c:1379:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1379 | DoPayoffSplitDialog() | ^ | int Main.c:1390:3: warning: non-void function 'DoPayoffSplitDialog' should return a value [-Wreturn-mismatch] 1390 | return; | ^ Main.c:1411:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1411 | } | ^ Main.c:1413:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1413 | DesensitizeChoiceButtons() | ^ | int Main.c:1419:1: warning: non-void function does not return a value [-Wreturn-type] 1419 | } | ^ Main.c:1446:32: warning: passing arguments to 'Set_Bet_Unit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1446 | rv.bet_unit = Set_Bet_Unit(bankroll); | ^ Main.c:1460:14: warning: passing arguments to 'should_bet' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | should_bet(bankroll, highlow_index)); i++; | ^ Main.c:1486:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1486 | OkPayoffDialogCB(w, client_data, call_data) | ^ Main.c:1501:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1501 | finish_hand() | ^ | int Main.c:1520:1: warning: non-void function does not return a value [-Wreturn-type] 1520 | } | ^ Main.c:1643:21: warning: passing arguments to 'should_insure' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | if (should_insure(highlow_index)) { | ^ Main.c:1653:21: warning: passing arguments to 'should_insure' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | if (should_insure(highlow_index)) { | ^ Main.c:1693:7: warning: call to undeclared function 'max_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1693 | if (BLACKJACK(current_hand) || BLACKJACK(DEALER)) { | ^ Main.c:249:27: note: expanded from macro 'BLACKJACK' 249 | && (cards[h] == 2) && (max_total(h) == 21)) | ^ Main.c:1566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1566 | YourBetScaleCB(w, client_data, call_data) | ^ Main.c:1703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1703 | AutoplayScaleCB(w, client_data, call_data) | ^ Main.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | SplitCB(w, client_data, call_data) | ^ Main.c:1770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1770 | DoubleCB(w, client_data, call_data) | ^ Main.c:1796:6: warning: call to undeclared function 'min_total'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1796 | if (min_total(current_hand) >= 21) { | ^ Main.c:1787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1787 | HitCB(w, client_data, call_data) | ^ Main.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | StandCB(w, client_data, call_data) | ^ Main.c:1818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1818 | DealerDrawingAreaCB(w, client_data, call_data) | ^ Main.c:1838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1838 | PlayerDrawingAreaCB(w, client_data, call_data) | ^ Main.c:1858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1858 | ShuffleDialogCB(w, client_data, call_data) | ^ Main.c:1871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1871 | done(status) | ^ Main.c:1877:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1877 | initialize() | ^ | int Main.c:1880:19: warning: passing arguments to 'init_cards' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1880 | init_cards(rv.decks, &total_cards, &total_fives, &total_tens, | ^ Main.c:1893:1: warning: non-void function does not return a value [-Wreturn-type] 1893 | } | ^ Main.c:1896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1896 | min_total(hand) | ^ Main.c:1911:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1911 | max_total(hand) | ^ Main.c:1934:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1934 | DoShuffleDialog(total) | ^ | int Main.c:1942:3: warning: non-void function 'DoShuffleDialog' should return a value [-Wreturn-mismatch] 1942 | return; | ^ Main.c:1934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | DoShuffleDialog(total) | ^ Main.c:1963:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 1963 | } | ^ Main.c:1968:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1968 | face_up(hand, n, display) | ^ | int Main.c:1979:3: warning: call to undeclared function 'display_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1979 | display_card(hand, n, suit, name); | ^ Main.c:1968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1968 | face_up(hand, n, display) | ^ Main.c:1992:1: warning: non-void function does not return a value [-Wreturn-type] 1992 | } | ^ Main.c:1994:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 1994 | display_cards(hand) | ^ | int Main.c:2001:3: warning: call to undeclared function 'face_down'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2001 | face_down(hand, 2); | ^ Main.c:2002:3: warning: call to undeclared function 'display_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2002 | display_card(hand, 1, c[hand][0]->suit, c[hand][0]->name); | ^ Main.c:2005:3: warning: call to undeclared function 'display_card'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 2005 | display_card(hand, i+1, c[hand][i]->suit, c[hand][i]->name); | ^ Main.c:1994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1994 | display_cards(hand) | ^ Main.c:2007:1: warning: non-void function does not return a value [-Wreturn-type] 2007 | } | ^ Main.c:2010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | ManageHelpGeneralDialogCB(w, client_data, call_data) | ^ Main.c:2023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2023 | UnmanageHelpGeneralDialogCB(w, client_data, call_data) | ^ Main.c:2036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2036 | ManageHelpRulesDialogCB(w, client_data, call_data) | ^ Main.c:2049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2049 | UnmanageHelpRulesDialogCB(w, client_data, call_data) | ^ Main.c:2062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2062 | ManageHelpBasicStrategyDialogCB(w, client_data, call_data) | ^ Main.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | UnmanageHelpBasicStrategyDialogCB(w, client_data, call_data) | ^ Main.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | ManageHelpCountingDialogCB(w, client_data, call_data) | ^ Main.c:2101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | UnmanageHelpCountingDialogCB(w, client_data, call_data) | ^ Main.c:2114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2114 | ManageHelpBestStrategyDialogCB(w, client_data, call_data) | ^ Main.c:2127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2127 | UnmanageHelpBestStrategyDialogCB(w, client_data, call_data) | ^ Main.c:2140:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2140 | InsuranceQuestionPopdown(w, client_data, call_data) | ^ Main.c:2152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2152 | ManageInsuranceHelpDialogCB(w, client_data, call_data) | ^ Main.c:2166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2166 | UnmanageInsuranceHelpDialogCB(w, client_data, call_data) | ^ Main.c:2776:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 2776 | CreateMotifWidgets() | ^ | int Main.c:2826:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2826 | XtTblConfig(ControlTable, 0, 0, 2, 3, TBL_SM_WIDTH); | ^ Main.c:2827:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2827 | XtTblConfig(DealerDrawingArea, 2, 0, 1, 1, TBL_DEF_OPT); | ^ Main.c:2828:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2828 | XtTblConfig(HintMsgLabel, 2, 1, 1, 1, TBL_SM_HEIGHT); | ^ Main.c:2829:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2829 | XtTblConfig(PlayerDrawingArea, 2, 2, 1, 1, TBL_DEF_OPT); | ^ Main.c:2830:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2830 | XtTblConfig(AutoplayScale, 3, 0, 1, 3, TBL_SM_WIDTH); | ^ Main.c:2898:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2898 | XtTblConfig(HelpGeneralDismissPushButton, 0, 1, 1, 1, | ^ Main.c:2900:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2900 | XtTblConfig(XtParent(HelpGeneralScrolledText), 0, 0, 1, 1, | ^ Main.c:2928:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2928 | XtTblConfig(HelpRulesDismissPushButton, 0, 1, 1, 1, | ^ Main.c:2930:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2930 | XtTblConfig(XtParent(HelpRulesScrolledText), 0, 0, 1, 1, | ^ Main.c:2961:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2961 | XtTblConfig(HelpBasicStrategyDismissPushButton, 0, 1, 1, 1, | ^ Main.c:2963:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2963 | XtTblConfig(XtParent(HelpBasicStrategyScrolledText), 0, 0, 1, 1, | ^ Main.c:2991:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2991 | XtTblConfig(HelpCountingDismissPushButton, 0, 1, 1, 1, | ^ Main.c:2993:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2993 | XtTblConfig(XtParent(HelpCountingScrolledText), 0, 0, 1, 1, | ^ Main.c:3024:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3024 | XtTblConfig(HelpBestStrategyDismissPushButton, 0, 1, 1, 1, | ^ Main.c:3026:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3026 | XtTblConfig(XtParent(HelpBestStrategyScrolledText), 0, 0, 1, 1, | ^ Main.c:3116:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3116 | XtTblConfig(WonLabel, 0, 1, 1, 1, | ^ Main.c:3118:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3118 | XtTblConfig(WonLabelValue, 1, 1, 1, 1, | ^ Main.c:3120:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3120 | XtTblConfig(WonLabelPercent, 2, 1, 1, 1, | ^ Main.c:3123:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3123 | XtTblConfig(LostLabel, 0, 2, 1, 1, | ^ Main.c:3125:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3125 | XtTblConfig(LostLabelValue, 1, 2, 1, 1, | ^ Main.c:3127:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3127 | XtTblConfig(LostLabelPercent, 2, 2, 1, 1, | ^ Main.c:3130:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3130 | XtTblConfig(PushedLabel, 0, 3, 1, 1, | ^ Main.c:3132:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3132 | XtTblConfig(PushedLabelValue, 1, 3, 1, 1, | ^ Main.c:3134:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3134 | XtTblConfig(PushedLabelPercent, 2, 3, 1, 1, | ^ Main.c:3137:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3137 | XtTblConfig(SplitPushButton, 0, 5, 3, 1, | ^ Main.c:3139:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3139 | XtTblConfig(DoublePushButton, 0, 6, 3, 1, | ^ Main.c:3141:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3141 | XtTblConfig(HitPushButton, 0, 7, 3, 1, | ^ Main.c:3143:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3143 | XtTblConfig(StandPushButton, 0, 8, 3, 1, | ^ Main.c:3146:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3146 | XtTblConfig(YourBetScale, 0, 10, 3, 1, | ^ Main.c:3148:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3148 | XtTblConfig(YouHaveLabel, 0, 11, 1, 1, | ^ Main.c:3150:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3150 | XtTblConfig(YouHaveLabelValue, 1, 11, 2, 1, | ^ Main.c:3152:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3152 | XtTblConfig(PlaceHolderLabel, 1, 14, 3, 1, | ^ Main.c:3181:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3181 | XtTblConfig(InsuranceHelpDismissPushButton, 0, 1, 1, 1, | ^ Main.c:3183:13: warning: passing arguments to 'XtTblConfig' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3183 | XtTblConfig(XtParent(InsuranceHelpScrolledText), 0, 0, 1, 1, | ^ Main.c:3217:1: warning: non-void function does not return a value [-Wreturn-type] 3217 | } | ^ Main.c:3221:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3221 | SetIcon(dpy) | ^ | int Main.c:3221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] Main.c:3235:1: warning: non-void function does not return a value [-Wreturn-type] 3235 | } | ^ Main.c:3237:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 3237 | main (argc, argv) | ^ | int Main.c:3285:2: warning: call to undeclared function 'draw_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 3285 | draw_init(dpy, scr, DealerDrawingArea, HintMsgLabel, | ^ Main.c:3288:15: warning: passing arguments to 'strategy_init' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3288 | strategy_init(dpy, SplitStrategyTable, SplitStrategyDialog, | ^ Main.c:3237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3237 | main (argc, argv) | ^ 195 warnings generated. --- xblackjack --- rm -f xblackjack cc -o xblackjack -L/usr/local/lib Card.o Draw.o Main.o Strategy.o Table.o -lXm -lXt -lXmu -lXext -lX11 -Wl,-rpath,/usr/local/lib =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xblackjack-2.2_5 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xblackjack-2.2_5 ===> Generating temporary packing list /usr/bin/install -c -s xblackjack /wrkdirs/usr/ports/games/xblackjack/work/stage/usr/local/bin/xblackjack /usr/bin/install -c -m 0444 XBlackjack.ad /wrkdirs/usr/ports/games/xblackjack/work/stage/usr/local/lib/X11/app-defaults/XBlackjack install in . done rm -f /wrkdirs/usr/ports/games/xblackjack/work/stage/usr/local/share/man/man1/xblackjack.1* /usr/bin/install -c -m 0444 xblackjack._man /wrkdirs/usr/ports/games/xblackjack/work/stage/usr/local/share/man/man1/xblackjack.1 gzip -n /wrkdirs/usr/ports/games/xblackjack/work/stage/usr/local/share/man/man1/xblackjack.1 install.man in . done ====> 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-19T11:12:27+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=e427ab10bfca' '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 xblackjack-2.2_5 ===> Building xblackjack-2.2_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xblackjack-2.2_5 build of games/xblackjack | xblackjack-2.2_5 ended at Thu Mar 19 07:12:33 EDT 2026 build time: 00:00:07