=>> Building games/xmille build started at Thu Mar 12 00:23:46 EDT 2026 port directory: /usr/ports/games/xmille package name: xmille-2.0_5 building for: FreeBSD pkg.DaveG.ca 14.4-RELEASE FreeBSD 14.4-RELEASE 1404000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 711 Oct 16 2024 /usr/ports/games/xmille/Makefile Ports top last git commit: 26b198eb3ee3 Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1404000 Job Id: 06 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1404000 UNAME_v=FreeBSD 14.4-RELEASE 1404000 UNAME_r=14.4-RELEASE BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/06/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_14_4_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_14_4_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---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/xmille/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xmille/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xmille/work/.cache HOME=/wrkdirs/usr/ports/games/xmille/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xmille/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xmille/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/xmille/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xmille/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xmille/work/.cache HOME=/wrkdirs/usr/ports/games/xmille/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xmille/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xmille/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 -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=14.4 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xmille" EXAMPLESDIR="share/examples/xmille" DATADIR="share/xmille" WWWDIR="www/xmille" ETCDIR="etc/xmille" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xmille DOCSDIR=/usr/local/share/doc/xmille EXAMPLESDIR=/usr/local/share/examples/xmille WWWDIR=/usr/local/www/xmille ETCDIR=/usr/local/etc/xmille --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 xmille 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 ===> xmille-2.0_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 ===> xmille-2.0_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmille-2.0_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 xmille 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 xmille-2.0_5 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmille 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 xmille-2.0_5 for building => SHA256 Checksum OK for xmille.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmille 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 xmille-2.0_5 for building ===> Extracting for xmille-2.0_5 => SHA256 Checksum OK for xmille.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for xmille-2.0_5 ===> Applying FreeBSD patches for xmille-2.0_5 from /usr/ports/games/xmille/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmille-2.0_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.0_1... [pkg.DaveG.ca] `-- Extracting perl5-5.42.0_1: .......... done [pkg.DaveG.ca] `-- Installing xorg-cf-files-1.0.8_1... [pkg.DaveG.ca] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg.DaveG.ca] Extracting imake-1.0.10_1,1: .......... done ===> xmille-2.0_5 depends on executable: imake - found ===> Returning to build of xmille-2.0_5 ===> xmille-2.0_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 ===> xmille-2.0_5 depends on executable: tradcpp - found ===> Returning to build of xmille-2.0_5 ===> xmille-2.0_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> xmille-2.0_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xmille-2.0_5 ===> xmille-2.0_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 ===> xmille-2.0_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> Returning to build of xmille-2.0_5 ===> xmille-2.0_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. ===> xmille-2.0_5 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xmille-2.0_5 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xmille-2.0_5 mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles making Makefiles in control... mv -f Makefile Makefile.bak In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 making Makefiles in cards... mv -f Makefile Makefile.bak In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:116:13: Warning: value of undefined symbol PatheticCpp is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:109:2: In file included from /usr/local/lib/X11/config/FreeBSD.cf:481:2: /usr/local/lib/X11/config/xorg.cf:874:12: Warning: value of undefined symbol BuildServersOnly is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:382:13: Warning: value of undefined symbol XF86Server is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:3860:18: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4077:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4098:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4120:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4138:13: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 In file included from Imakefile.c:15:2: In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2: /usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0 make includes including in ./control... including in ./cards... make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -- comp.c end.c extern.c init.c mille.c misc.c move.c print.c roll.c save.c types.c varpush.c ui.c drawcard.c animate.c > .depend =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xmille-2.0_5 making all in ./control... rm -f button.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO button.c button.c:58:18: warning: call to undeclared function 'XrmUniqueQuark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 58 | assocContext = XUniqueContext(); | ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' 359 | #define XUniqueContext() ((XContext) XrmUniqueQuark()) | ^ button.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | CcreateButton (text, width, gc, font, backcolor, borderwidth) | ^ button.c:131:22: warning: call to undeclared function 'XrmUniqueQuark'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | perwindowContext = XUniqueContext(); | ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' 359 | #define XUniqueContext() ((XContext) XrmUniqueQuark()) | ^ button.c:138:12: warning: passing arguments to 'buttonOff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | buttonOff (w, b, p); | ^ button.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | CmapButton (parent, x, y, button, notify) | ^ button.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | CunmapButton (w) | ^ | int button.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] button.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | CmanageButton (rep) | ^ | int button.c:171:13: warning: passing arguments to 'buttonOn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | buttonOn (w, b, p); | ^ button.c:173:14: warning: passing arguments to 'buttonOff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | buttonOff (w, b, p); | ^ button.c:176:12: warning: passing arguments to 'buttonOn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | buttonOn (w, b, p); | ^ button.c:181:14: 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] 181 | p->notify (w); | ^ button.c:189:14: warning: passing arguments to 'buttonOff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | buttonOff (w, b, p); | ^ button.c:195:14: warning: passing arguments to 'buttonOff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | buttonOff (w, b, p); | ^ button.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | CmanageButton (rep) | ^ button.c:200:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 200 | } | ^ button.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | CredrawButton (w) | ^ | int button.c:211:12: warning: passing arguments to 'buttonOff' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | buttonOff (w, b, p); | ^ button.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | CredrawButton (w) | ^ button.c:212:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 212 | } | ^ button.c:215:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 214 | static | ~~~~~~ | int 215 | buttonOn (w, b) | ^ button.c:220:13: warning: passing arguments to 'buttonText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | buttonText (w, b, b->gc); | ^ button.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | buttonOn (w, b) | ^ button.c:36:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 36 | static int buttonOn(); | ^ button.c:221:1: warning: non-void function does not return a value [-Wreturn-type] 221 | } | ^ button.c:224:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | static | ~~~~~~ | int 224 | buttonOff (w, b) | ^ button.c:230:13: warning: passing arguments to 'buttonText' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | buttonText (w, b, b->gc); | ^ button.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | buttonOff (w, b) | ^ button.c:37:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 37 | static int buttonOff(); | ^ button.c:231:1: warning: non-void function does not return a value [-Wreturn-type] 231 | } | ^ button.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 233 | static | ~~~~~~ | int 234 | buttonText (w, b, gc) | ^ button.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] button.c:38:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 38 | static int buttonText(); | ^ button.c:240:1: warning: non-void function does not return a value [-Wreturn-type] 240 | } | ^ 34 warnings generated. rm -f scrollbar.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO scrollbar.c rm -f init.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO init.c init.c:22:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | co_init () | ^ | int init.c:56:10: warning: call to undeclared function 'CcreateButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | co_OK = CcreateButton ("OK", 75, co_fore_gc, co_font, co_back, 1); | ^ 2 warnings generated. rm -f affirm.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO affirm.c affirm.c:53:3: warning: call to undeclared function 'co_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | co_init(); | ^ affirm.c:70:7: warning: call to undeclared function 'CmapButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | ok = CmapButton (affirm, OK_X, OK_Y, co_OK, co_OKstate); | ^ affirm.c:72:2: warning: call to undeclared function 'bindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | bindEvent (affirm, ExposureMask, co_affirmEvent); | ^ affirm.c:81:3: warning: call to undeclared function 'dispatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | dispatch (); | ^ affirm.c:84:2: warning: call to undeclared function 'unbindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | unbindEvent (affirm, ExposureMask); | ^ affirm.c:90:2: warning: call to undeclared function 'CunmapButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 90 | CunmapButton (cancel); | ^ affirm.c:42:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | co_affirm(title, parent) | ^ affirm.c:97:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 97 | } | ^ affirm.c:99:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 99 | co_affirmEvent (rep) | ^ | int affirm.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] affirm.c:106:1: warning: non-void function does not return a value [-Wreturn-type] 106 | } | ^ affirm.c:108:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | co_OKstate (n) | ^ 109 | { affirm.c:108:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 108 | co_OKstate (n) | ^ | int affirm.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] affirm.c:111:1: warning: non-void function does not return a value [-Wreturn-type] 111 | } | ^ affirm.c:113:17: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | co_CANCELstate (n) | ^ 114 | { affirm.c:113:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 113 | co_CANCELstate (n) | ^ | int affirm.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] affirm.c:116:1: warning: non-void function does not return a value [-Wreturn-type] 116 | } | ^ affirm.c:119:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 118 | static | ~~~~~~ | int 119 | redisplayLabel () | ^ affirm.c:124:1: warning: non-void function does not return a value [-Wreturn-type] 124 | } | ^ 21 warnings generated. rm -f dispatch.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO dispatch.c dispatch.c:64:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 64 | bindEvent (window, eventMask, func) | ^ | int dispatch.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dispatch.c:83:1: warning: non-void function does not return a value [-Wreturn-type] 83 | } | ^ dispatch.c:85:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 85 | unbindEvent (window, eventMask) | ^ | int dispatch.c:109:5: warning: call to undeclared function 'freeGroup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 109 | freeGroup (g); | ^ dispatch.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | unbindEvent (window, eventMask) | ^ dispatch.c:114:1: warning: non-void function does not return a value [-Wreturn-type] 114 | } | ^ dispatch.c:116:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 116 | sendEvent (rep) | ^ | int dispatch.c:125:9: 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] 125 | g->f (rep); | ^ dispatch.c:126:4: warning: non-void function 'sendEvent' should return a value [-Wreturn-mismatch] 126 | return; | ^ dispatch.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | sendEvent (rep) | ^ dispatch.c:129:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 129 | } | ^ dispatch.c:131:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 131 | dispatch () | ^ | int dispatch.c:136:13: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XAnyEvent *' [-Wincompatible-pointer-types] 136 | sendEvent (&event); | ^~~~~~ dispatch.c:137:1: warning: non-void function does not return a value [-Wreturn-type] 137 | } | ^ dispatch.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | freeGroup (g) | ^ | int dispatch.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] dispatch.c:149:1: warning: non-void function does not return a value [-Wreturn-type] 149 | } | ^ 18 warnings generated. rm -f prompted.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO prompted.c prompted.c:66:3: warning: call to undeclared function 'co_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | co_init(); | ^ prompted.c:84:7: warning: call to undeclared function 'CmapButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | ok = CmapButton (prompted, OK_X, OK_Y, co_OK, co_OKstate); | ^ prompted.c:88:2: warning: call to undeclared function 'bindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | bindEvent (prompted, ExposureMask, co_promptedEvent); | ^ prompted.c:101:3: warning: call to undeclared function 'dispatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | dispatch (); | ^ prompted.c:104:2: warning: call to undeclared function 'unbindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | unbindEvent (prompted, ExposureMask); | ^ prompted.c:110:2: warning: call to undeclared function 'CunmapButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 110 | CunmapButton (ok); | ^ prompted.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | co_prompted(title, parent) | ^ prompted.c:118:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 117 | static | ~~~~~~ | int 118 | co_promptedEvent (rep) | ^ prompted.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prompted.c:42:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 42 | static int co_promptedEvent(); | ^ prompted.c:125:1: warning: non-void function does not return a value [-Wreturn-type] 125 | } | ^ prompted.c:128:13: warning: parameter 'n' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 128 | co_OKstate (n) | ^ 129 | { prompted.c:128:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | static | ~~~~~~ | int 128 | co_OKstate (n) | ^ prompted.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prompted.c:43:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 43 | static int co_OKstate(); | ^ prompted.c:131:1: warning: non-void function does not return a value [-Wreturn-type] 131 | } | ^ prompted.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 133 | static | ~~~~~~ | int 134 | redisplayLabel () | ^ prompted.c:138:1: warning: non-void function does not return a value [-Wreturn-type] 138 | } | ^ prompted.c:141:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 140 | static | ~~~~~~ | int 141 | textbox_event (rep) | ^ prompted.c:153:11: warning: call to undeclared function 'XLookupString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 153 | count = XLookupString (rep, pbuf, 20, 0, 0); | ^ prompted.c:156:16: warning: passing arguments to 'handle_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | handle_char (*pbuf++); | ^ prompted.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | textbox_event (rep) | ^ prompted.c:45:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 45 | static int textbox_event(); | ^ prompted.c:160:1: warning: non-void function does not return a value [-Wreturn-type] 160 | } | ^ prompted.c:163:14: warning: parameter 'c' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 163 | handle_char (c) | ^ 164 | { prompted.c:163:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | static | ~~~~~~ | int 163 | handle_char (c) | ^ prompted.c:176:29: warning: passing arguments to 'compute_width' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | draw_char (compute_width (returnbuffer), c, 0); | ^ prompted.c:176:14: warning: passing arguments to 'draw_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | draw_char (compute_width (returnbuffer), c, 0); | ^ prompted.c:181:15: warning: passing arguments to 'draw_string' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | draw_string (returnbuffer, 0); | ^ prompted.c:187:28: warning: passing arguments to 'compute_width' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | draw_char (compute_width (returnbuffer), c, 1); | ^ prompted.c:187:13: warning: passing arguments to 'draw_char' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | draw_char (compute_width (returnbuffer), c, 1); | ^ prompted.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | handle_char (c) | ^ prompted.c:46:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 46 | static int handle_char(); | ^ prompted.c:192:1: warning: non-void function does not return a value [-Wreturn-type] 192 | } | ^ prompted.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 194 | static | ~~~~~~ | int 195 | compute_width (string) | ^ prompted.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prompted.c:47:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 47 | static int compute_width(); | ^ prompted.c:202:21: warning: parameter 'on' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | draw_char (pos, ch, on) | ^ 203 | { prompted.c:202:17: warning: parameter 'ch' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | draw_char (pos, ch, on) | ^ 203 | { prompted.c:202:12: warning: parameter 'pos' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 202 | draw_char (pos, ch, on) | ^ 203 | { prompted.c:202:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | static | ~~~~~~ | int 202 | draw_char (pos, ch, on) | ^ prompted.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prompted.c:48:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 48 | static int draw_char(); | ^ prompted.c:209:1: warning: non-void function does not return a value [-Wreturn-type] 209 | } | ^ prompted.c:212:22: warning: parameter 'on' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | draw_string (string, on) | ^ 213 | char *string; 214 | { prompted.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 211 | static | ~~~~~~ | int 212 | draw_string (string, on) | ^ prompted.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] prompted.c:49:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 49 | static int draw_string(); | ^ prompted.c:219:1: warning: non-void function does not return a value [-Wreturn-type] 219 | } | ^ prompted.c:222:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 221 | static | ~~~~~~ | int 222 | redisplayText () | ^ prompted.c:225:1: warning: non-void function does not return a value [-Wreturn-type] 225 | } | ^ 51 warnings generated. rm -f libcontrol.a ar cq libcontrol.a button.o scrollbar.o init.o affirm.o dispatch.o prompted.o ranlib libcontrol.a making all in ./cards... rm -f accident.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO accident.c rm -f repairs.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO repairs.c rm -f ace.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO ace.c rm -f flat.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO flat.c rm -f spare.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO spare.c rm -f puncture.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO puncture.c rm -f out.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO out.c rm -f gas.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO gas.c rm -f extra.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO extra.c rm -f stop.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO stop.c rm -f go.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO go.c rm -f speed.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO speed.c rm -f end.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO end.c rm -f right.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO right.c rm -f 25.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 25.c rm -f 50.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 50.c rm -f 75.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 75.c rm -f 100.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 100.c rm -f 200.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO 200.c rm -f deck.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO deck.c rm -f blank.o cc -c -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO blank.c rm -f libcardlib.a ar cq libcardlib.a accident.o repairs.o ace.o flat.o spare.o puncture.o out.o gas.o extra.o stop.o go.o speed.o end.o right.o 25.o 50.o 75.o 100.o 200.o deck.o blank.o ranlib libcardlib.a cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c comp.c -o comp.o comp.c:9:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 9 | calcmove() { | ^ | int comp.c:21:2: warning: call to undeclared function 'Message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | Message (""); | ^ comp.c:35:20: warning: call to undeclared function 'canplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | if (playit[i] = canplay(pp, op, card)) | ^ comp.c:35:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 35 | if (playit[i] = canplay(pp, op, card)) | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ comp.c:35:18: note: place parentheses around the assignment to silence this warning 35 | if (playit[i] = canplay(pp, op, card)) | ^ | ( ) comp.c:35:18: note: use '==' to turn this assignment into an equality comparison 35 | if (playit[i] = canplay(pp, op, card)) | ^ | == comp.c:62:5: warning: non-void function 'calcmove' should return a value [-Wreturn-mismatch] 62 | return; | ^ comp.c:72:3: warning: non-void function 'calcmove' should return a value [-Wreturn-mismatch] 72 | return; | ^ comp.c:77:15: warning: call to undeclared function 'check_ext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | foundend = !check_ext(TRUE); | ^ comp.c:80:8: warning: call to undeclared function 'onecard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | if (onecard(op) || (foundend && cango && !canstop)) { | ^ comp.c:86:5: warning: non-void function 'calcmove' should return a value [-Wreturn-mismatch] 86 | return; | ^ comp.c:93:31: warning: call to undeclared function 'roll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | card = (Topcard - Deck) - roll(1, 10); | ^ comp.c:105:22: warning: call to undeclared function 'isrepair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | if (!pp->can_go && !isrepair(pp->battle)) | ^ comp.c:187:12: warning: call to undeclared function 'safety'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | safe = safety(card) - S_CONV; | ^ comp.c:243:41: warning: call to undeclared function 'onecard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | if (!pp->mileage || foundend || onecard(op)) | ^ comp.c:261:41: warning: call to undeclared function 'onecard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | if (!pp->mileage || foundend || onecard(op)) | ^ comp.c:295:4: warning: call to undeclared function 'debug'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 295 | debug(i, "%3d %-14s",*value,C_name[pp->hand[i]]); | ^ comp.c:301:3: warning: call to undeclared function 'ComputerStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | ComputerStatus ("PLAY"); | ^ comp.c:303:4: warning: call to undeclared function 'getmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | getmove(); | ^ comp.c:310:3: warning: call to undeclared function 'ComputerStatus'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 310 | ComputerStatus ("DISCARD"); | ^ comp.c:312:4: warning: call to undeclared function 'getmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 312 | getmove(); | ^ comp.c:318:2: warning: call to undeclared function 'ComputerCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 318 | ComputerCard (pp->hand[Card_no]); | ^ comp.c:319:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 319 | } | ^ comp.c:321:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 321 | onecard(pp) | ^ | int comp.c:329:22: warning: call to undeclared function 'isrepair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 329 | if (pp->can_go || ((isrepair(bat) || bat == C_STOP | ^ comp.c:331:17: warning: call to undeclared function 'safety'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | || Numseen[safety(bat)] != 0) | ^ comp.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | onecard(pp) | ^ comp.c:352:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 352 | canplay(pp, op, card) | ^ | int comp.c:372:32: warning: call to undeclared function 'safety'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 372 | if (op->can_go && op->safety[safety(card) - S_CONV] != S_PLAYED) | ^ comp.c:386:11: warning: call to undeclared function 'isrepair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 386 | && (isrepair(pp->battle) || pp->battle == C_STOP)) | ^ comp.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | canplay(pp, op, card) | ^ 29 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c end.c -o end.o end.c:11:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 11 | finalscore(pp) | ^ | int end.c:18:3: warning: call to undeclared function 'InScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | InScore (tot, num, " 0 "); | ^ end.c:21:3: warning: call to undeclared function 'InScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | InScore (4, num, " 400 "); | ^ end.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | finalscore(pp) | ^ end.c:42:1: warning: non-void function does not return a value [-Wreturn-type] 42 | } | ^ 5 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c extern.c -o extern.o cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c init.c -o init.o init.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | init() { | ^ | int init.c:27:5: warning: call to undeclared function 'account'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 27 | account(card = *Topcard); | ^ init.c:45:3: warning: call to undeclared function 'sort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | sort(Player[PLAYER].hand); | ^ init.c:49:1: warning: non-void function does not return a value [-Wreturn-type] 49 | } | ^ init.c:51:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 51 | shuffle() { | ^ | int init.c:57:7: warning: call to undeclared function 'roll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | r = roll(1, DECK_SZ) - 1; | ^ init.c:60:4: warning: call to undeclared function 'die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | die(); | ^ init.c:67:1: warning: non-void function does not return a value [-Wreturn-type] 67 | } | ^ 8 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c mille.c -o mille.o mille.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | main(ac, av) | ^ | int mille.c:25:6: warning: call to undeclared library function 'strcmp' with type 'int (const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | if (strcmp(av[0], "a.out") == 0) { | ^ mille.c:25:6: note: include the header or explicitly provide a declaration for 'strcmp' mille.c:43:3: warning: call to undeclared function 'rest_f'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | rest_f(av[1]); | ^ mille.c:57:8: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 57 | srand(getpid()); | ^ mille.c:63:2: warning: call to undeclared function 'init_ui'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | init_ui(); | ^ mille.c:79:5: warning: call to undeclared function 'shuffle'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | shuffle(); | ^ mille.c:80:5: warning: call to undeclared function 'init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | init(); | ^ mille.c:84:4: warning: call to undeclared function 'newboard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | newboard(); | ^ mille.c:88:5: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 88 | Error (Initstr); | ^ mille.c:91:4: warning: call to undeclared function 'prboard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | prboard(); | ^ mille.c:97:5: warning: call to undeclared function 'domove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | domove(); | ^ mille.c:103:6: warning: call to undeclared function 'newscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | newscore(); | ^ mille.c:114:4: warning: call to undeclared function 'check_more'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | check_more(); | ^ mille.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | main(ac, av) | ^ mille.c:130:6: warning: call to undeclared function 'getyn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 130 | if (getyn("Really? ")) | ^ mille.c:131:3: warning: call to undeclared function 'die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 131 | die(); | ^ mille.c:138:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 138 | die() { | ^ | int mille.c:143:2: warning: call to undeclared function 'finish_ui'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 143 | finish_ui (); | ^ 18 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c misc.c -o misc.o misc.c:14:12: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | error(str, arg) | ^ 15 | char *str; 16 | { misc.c:14:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | error(str, arg) | ^ | int misc.c:17:2: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 17 | Error (str, arg); | ^ misc.c:18:2: warning: call to undeclared function 'Beep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 18 | Beep (); | ^ misc.c:19:2: warning: call to undeclared function 'update_ui'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 19 | update_ui (); | ^ misc.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | error(str, arg) | ^ misc.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | check_ext(forcomp) | ^ | int misc.c:29:8: warning: call to undeclared function 'getyn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 29 | if (getyn("Extension? ")) { | ^ misc.c:53:28: warning: call to undeclared function 'onecard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | if (op->mileage == 0 || onecard(op) | ^ misc.c:23:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | check_ext(forcomp) | ^ misc.c:78:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | check_more() { | ^ | int misc.c:80:2: warning: call to undeclared function 'FlushInput'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | FlushInput (); | ^ misc.c:84:7: warning: call to undeclared function 'getyn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if (getyn("Another game? ")) | ^ misc.c:85:4: warning: non-void function 'check_more' should return a value [-Wreturn-mismatch] 85 | return; | ^ misc.c:99:4: warning: non-void function 'check_more' should return a value [-Wreturn-mismatch] 99 | return; | ^ misc.c:101:8: warning: call to undeclared function 'save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | if (!save()) | ^ misc.c:102:4: warning: non-void function 'check_more' should return a value [-Wreturn-mismatch] 102 | return; | ^ misc.c:103:2: warning: call to undeclared function 'die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | die(); | ^ misc.c:104:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 104 | } | ^ 19 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c move.c -o move.o move.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | domove() | ^ | int move.c:34:3: warning: call to undeclared function 'getmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 34 | getmove(); | ^ move.c:36:3: warning: call to undeclared function 'calcmove'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 36 | calcmove(); | ^ move.c:46:7: warning: call to undeclared function 'haspicked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | if (haspicked(pp)) { | ^ move.c:51:6: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 51 | error("no card there"); | ^ move.c:56:5: warning: call to undeclared function 'animate_move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 56 | animate_move (Play, ANIMATE_HAND, Card_no, | ^ move.c:61:6: warning: call to undeclared function 'account'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | account(Discard); | ^ move.c:65:4: warning: call to undeclared function 'error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 65 | error("must pick first"); | ^ move.c:71:17: warning: passing arguments to 'playcard' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | foo = playcard(pp); | ^ move.c:91:4: warning: call to undeclared function 'animate_move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | animate_move (Play, ANIMATE_DECK, pp->hand[0], ANIMATE_HAND, 0); | ^ move.c:101:5: warning: call to undeclared function 'account'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | account(*Topcard); | ^ move.c:126:3: warning: call to undeclared function 'sort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 126 | sort(pp->hand); | ^ move.c:139:3: warning: call to undeclared function 'check_go'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 139 | check_go(); | ^ move.c:142:1: warning: non-void function does not return a value [-Wreturn-type] 142 | } | ^ move.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | check_go() { | ^ | int move.c:158:26: warning: call to undeclared function 'canplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | if (issafety(card) || canplay(pp, op, card)) { | ^ move.c:164:5: warning: non-void function 'check_go' should return a value [-Wreturn-mismatch] 164 | return; | ^ move.c:172:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 172 | } | ^ move.c:186:8: warning: call to undeclared function 'haspicked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | if (!haspicked(pp)) | ^ move.c:212:3: warning: call to undeclared function 'animate_move'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 212 | animate_move (Play, ANIMATE_HAND, Card_no, ANIMATE_MILES, card); | ^ move.c:219:4: warning: call to undeclared function 'check_ext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 219 | check_ext(FALSE); | ^ move.c:235:11: warning: call to undeclared function 'isrepair'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | && !isrepair(pp->battle)) | ^ move.c:259:23: warning: call to undeclared function 'safety'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | else if (pp->safety[safety(card) - S_CONV] == S_PLAYED) | ^ move.c:337:3: warning: call to undeclared function 'account'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 337 | account(card); | ^ move.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | playcard(pp) | ^ move.c:18: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] 18 | char *playcard (), | ^ move.c:362:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 362 | haspicked(pp) | ^ | int move.c:362:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] move.c:381:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 381 | account(card) | ^ | int move.c:387:3: warning: non-void function 'account' should return a value [-Wreturn-mismatch] 387 | return; | ^ move.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | account(card) | ^ move.c:404:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 404 | } | ^ move.c:406:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 406 | sort(hand) | ^ | int move.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] move.c:421:1: warning: non-void function does not return a value [-Wreturn-type] 421 | } | ^ 35 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c print.c -o print.o cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c roll.c -o roll.o roll.c:34:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 34 | roll(ndie, nsides) | ^ | int roll.c:43:15: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | tot += (r = rand()) * (num_sides / 017777777777) + 1; | ^ roll.c:34:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 34 | roll(ndie, nsides) | ^ 3 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c save.c -o save.o save.c:19: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 previous declaration [-Wdeprecated-non-prototype] 19 | char *ctime(); | ^ /usr/include/time.h:121:7: note: conflicting prototype is here 121 | char *ctime(const time_t *); | ^ save.c:30:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 30 | save() { | ^ | int save.c:40:18: warning: call to undeclared function 'getyn'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | if (Fromfile && getyn("Same file? ")) | ^ save.c:55:14: warning: call to undeclared function 'creat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | if ((outf = creat(buf, 0644)) < 0) { | ^ save.c:60:2: warning: call to undeclared function 'Error'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 60 | Error (buf); | ^ save.c:66:2: warning: call to undeclared function 'varpush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 66 | varpush(outf, write); | ^ save.c:67:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 67 | close(outf); | ^ save.c:76:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 76 | rest_f(file) | ^ | int save.c:84:13: warning: call to undeclared function 'open'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | if ((inf = open(file, 0)) < 0) { | ^ save.c:92:2: warning: call to undeclared function 'varpush'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 92 | varpush(inf, read); | ^ save.c:93:2: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | close(inf); | ^ save.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | rest_f(file) | ^ 12 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c types.c -o types.o types.c:7:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 7 | isrepair(card) | ^ | int types.c:7:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] types.c:13:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | safety(card) | ^ | int types.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] types.c:37:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 37 | } | ^ 5 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c varpush.c -o varpush.o varpush.c:22:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 22 | varpush(file, func) | ^ | int varpush.c:28:9: 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] 28 | (*func)(file, &Debug, sizeof Debug); | ^ varpush.c:29:9: 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] 29 | (*func)(file, &Finished, sizeof Finished); | ^ varpush.c:30:9: 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] 30 | (*func)(file, &Order, sizeof Order); | ^ varpush.c:31:9: 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] 31 | (*func)(file, &End, sizeof End); | ^ varpush.c:32:9: 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] 32 | (*func)(file, &On_exit, sizeof On_exit); | ^ varpush.c:33:9: 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] 33 | (*func)(file, &Handstart, sizeof Handstart); | ^ varpush.c:34:9: 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] 34 | (*func)(file, &Numgos, sizeof Numgos); | ^ varpush.c:35:9: 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] 35 | (*func)(file, Numseen, sizeof Numseen); | ^ varpush.c:36:9: 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] 36 | (*func)(file, &Play, sizeof Play); | ^ varpush.c:37:9: 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] 37 | (*func)(file, &WIndow, sizeof WIndow); | ^ varpush.c:38:9: 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] 38 | (*func)(file, Deck, sizeof Deck); | ^ varpush.c:39:9: 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] 39 | (*func)(file, &Discard, sizeof Discard); | ^ varpush.c:40:9: 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] 40 | (*func)(file, Player, sizeof Player); | ^ varpush.c:42:7: warning: passing arguments to 'read' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | read(file, &temp, sizeof temp); | ^ varpush.c:60:8: warning: passing arguments to 'write' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | write(file, &temp, sizeof temp); | ^ varpush.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | varpush(file, func) | ^ varpush.c:62:1: warning: non-void function does not return a value [-Wreturn-type] 62 | } | ^ 18 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c ui.c -o ui.o ui.c:78:14: warning: parameter 'max' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 78 | prune (orig, max) | ^ 79 | char *orig; 80 | { ui.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | prune (orig, max) | ^ ui.c:98:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 98 | Message (string) | ^ | int ui.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:105:1: warning: non-void function does not return a value [-Wreturn-type] 105 | } | ^ ui.c:107:16: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | Error (string, arg) | ^ 108 | char *string; 109 | { ui.c:107:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 107 | Error (string, arg) | ^ | int ui.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:118:1: warning: non-void function does not return a value [-Wreturn-type] 118 | } | ^ ui.c:120:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 120 | Prompt (string) | ^ | int ui.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:128:1: warning: non-void function does not return a value [-Wreturn-type] 128 | } | ^ ui.c:130:29: warning: parameter 'a2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | debug (pos, string, a0, a1, a2) | ^ 131 | { ui.c:130:25: warning: parameter 'a1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | debug (pos, string, a0, a1, a2) | ^ 131 | { ui.c:130:21: warning: parameter 'a0' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | debug (pos, string, a0, a1, a2) | ^ 131 | { ui.c:130:13: warning: parameter 'string' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | debug (pos, string, a0, a1, a2) | ^ 131 | { ui.c:130:8: warning: parameter 'pos' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | debug (pos, string, a0, a1, a2) | ^ 131 | { ui.c:130:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 130 | debug (pos, string, a0, a1, a2) | ^ | int ui.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:132:1: warning: non-void function does not return a value [-Wreturn-type] 132 | } | ^ ui.c:134:17: warning: parameter 'string' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | ComputerStatus (string) | ^ 135 | { ui.c:134:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 134 | ComputerStatus (string) | ^ | int ui.c:139:14: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 139 | if (strlen (string) == 0) | ^~~~~~ /usr/include/string.h:100:28: note: passing argument to parameter here 100 | size_t strlen(const char *) __pure; | ^ ui.c:142:34: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 142 | sprintf (buffer, "I %-10.10s", string); | ~~~~~~~~ ^~~~~~ | %-10.10d ui.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | ComputerStatus (string) | ^ ui.c:146:1: warning: non-void function does not return a value [-Wreturn-type] 146 | } | ^ ui.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | ComputerCard (type) | ^ | int ui.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:152:1: warning: non-void function does not return a value [-Wreturn-type] 152 | } | ^ ui.c:156:19: warning: parameter 'distance' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | ComputerDistance (distance) | ^ 157 | { ui.c:156:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 156 | ComputerDistance (distance) | ^ | int ui.c:158:2: warning: call to undeclared function 'displayDistance'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 158 | displayDistance (COMP_DIST_X, COMP_DIST_Y, distance, DIST_WIDTH, DIST_HEIGHT); | ^ ui.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | ComputerDistance (distance) | ^ ui.c:160:1: warning: non-void function does not return a value [-Wreturn-type] 160 | } | ^ ui.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | EraseComputerDistance () | ^ | int ui.c:165:1: warning: non-void function does not return a value [-Wreturn-type] 165 | } | ^ ui.c:167:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 167 | RedisplayComputerDistance () | ^ | int ui.c:169:2: warning: call to undeclared function 'displayDistance'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 169 | displayDistance (COMP_DIST_X, COMP_DIST_Y, computer_distance, DIST_WIDTH, DIST_HEIGHT); | ^ ui.c:170:1: warning: non-void function does not return a value [-Wreturn-type] 170 | } | ^ ui.c:172:16: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | ComputerSpeed (type) | ^ 173 | { ui.c:172:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 172 | ComputerSpeed (type) | ^ | int ui.c:174:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 174 | displayCard (type, COMP_PLAY_X, COMP_PLAY_Y); | ^ ui.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | ComputerSpeed (type) | ^ ui.c:175:1: warning: non-void function does not return a value [-Wreturn-type] 175 | } | ^ ui.c:177:17: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | ComputerBattle (type) | ^ 178 | { ui.c:177:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 177 | ComputerBattle (type) | ^ | int ui.c:179:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 179 | displayCard (type, COMP_PLAY_X + WIDTH + PAD_CARD, COMP_PLAY_Y); | ^ ui.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | ComputerBattle (type) | ^ ui.c:180:1: warning: non-void function does not return a value [-Wreturn-type] 180 | } | ^ ui.c:184:29: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | ComputerMiles (type, index, count) | ^ 185 | { ui.c:184:22: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | ComputerMiles (type, index, count) | ^ 185 | { ui.c:184:16: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | ComputerMiles (type, index, count) | ^ 185 | { ui.c:184:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 184 | ComputerMiles (type, index, count) | ^ | int ui.c:187:3: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 187 | displayCard (type, COMP_PLAY_X + (WIDTH + PAD_CARD) * (index + 2), | ^ ui.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | ComputerMiles (type, index, count) | ^ ui.c:191:1: warning: non-void function does not return a value [-Wreturn-type] 191 | } | ^ ui.c:193:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 193 | EraseComputerMiles () | ^ | int ui.c:199:1: warning: non-void function does not return a value [-Wreturn-type] 199 | } | ^ ui.c:201:23: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | ComputerSafety (type, index) | ^ 202 | { ui.c:201:17: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | ComputerSafety (type, index) | ^ 202 | { ui.c:201:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 201 | ComputerSafety (type, index) | ^ | int ui.c:203:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | displayCard (type, COMP_SAFE_X + safety_offsets[index].x, | ^ ui.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | ComputerSafety (type, index) | ^ ui.c:205:1: warning: non-void function does not return a value [-Wreturn-type] 205 | } | ^ ui.c:207:17: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 207 | DisplayDiscard (type) | ^ 208 | { ui.c:207:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 207 | DisplayDiscard (type) | ^ | int ui.c:209:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | displayCard (type, DISCARD_X, DISCARD_Y); | ^ ui.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | DisplayDiscard (type) | ^ ui.c:210:1: warning: non-void function does not return a value [-Wreturn-type] 210 | } | ^ ui.c:212:14: warning: parameter 'numberLeft' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | DisplayDeck (numberLeft) | ^ 213 | { ui.c:212:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 212 | DisplayDeck (numberLeft) | ^ | int ui.c:212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:219:1: warning: non-void function does not return a value [-Wreturn-type] 219 | } | ^ ui.c:223:16: warning: parameter 'distance' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | HumanDistance (distance) | ^ 224 | { ui.c:223:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 223 | HumanDistance (distance) | ^ | int ui.c:225:2: warning: call to undeclared function 'displayDistance'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | displayDistance (HUM_DIST_X, HUM_DIST_Y, distance, DIST_WIDTH, DIST_HEIGHT); | ^ ui.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | HumanDistance (distance) | ^ ui.c:227:1: warning: non-void function does not return a value [-Wreturn-type] 227 | } | ^ ui.c:229:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 229 | EraseHumanDistance () | ^ | int ui.c:232:1: warning: non-void function does not return a value [-Wreturn-type] 232 | } | ^ ui.c:234:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 234 | RedisplayHumanDistance () | ^ | int ui.c:236:2: warning: call to undeclared function 'displayDistance'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | displayDistance (HUM_DIST_X, HUM_DIST_Y, human_distance, DIST_WIDTH, DIST_HEIGHT); | ^ ui.c:237:1: warning: non-void function does not return a value [-Wreturn-type] 237 | } | ^ ui.c:239:13: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 239 | HumanSpeed (type) | ^ 240 | { ui.c:239:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 239 | HumanSpeed (type) | ^ | int ui.c:241:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 241 | displayCard (type, HUM_PLAY_X, HUM_PLAY_Y); | ^ ui.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | HumanSpeed (type) | ^ ui.c:242:1: warning: non-void function does not return a value [-Wreturn-type] 242 | } | ^ ui.c:244:14: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 244 | HumanBattle (type) | ^ 245 | { ui.c:244:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 244 | HumanBattle (type) | ^ | int ui.c:246:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | displayCard (type, HUM_PLAY_X + WIDTH + PAD_CARD, HUM_PLAY_Y); | ^ ui.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | HumanBattle (type) | ^ ui.c:247:1: warning: non-void function does not return a value [-Wreturn-type] 247 | } | ^ ui.c:251:26: warning: parameter 'count' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 251 | HumanMiles (type, index, count) | ^ 252 | { ui.c:251:19: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 251 | HumanMiles (type, index, count) | ^ 252 | { ui.c:251:13: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 251 | HumanMiles (type, index, count) | ^ 252 | { ui.c:251:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 251 | HumanMiles (type, index, count) | ^ | int ui.c:254:3: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | displayCard (type, HUM_PLAY_X + (WIDTH + PAD_CARD) * (index + 2), | ^ ui.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 | HumanMiles (type, index, count) | ^ ui.c:258:1: warning: non-void function does not return a value [-Wreturn-type] 258 | } | ^ ui.c:260:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 260 | EraseHumanMiles () | ^ | int ui.c:266:1: warning: non-void function does not return a value [-Wreturn-type] 266 | } | ^ ui.c:268:20: warning: parameter 'index' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | HumanSafety (type, index) | ^ 269 | { ui.c:268:14: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | HumanSafety (type, index) | ^ 269 | { ui.c:268:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | HumanSafety (type, index) | ^ | int ui.c:270:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | displayCard (type, HUM_SAFE_X + safety_offsets[index].x, | ^ ui.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | HumanSafety (type, index) | ^ ui.c:272:1: warning: non-void function does not return a value [-Wreturn-type] 272 | } | ^ ui.c:274:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 274 | HumanHand (type, index) | ^ | int ui.c:277:2: warning: call to undeclared function 'displayCard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 277 | displayCard (type, HUM_HAND_X + (WIDTH + PAD_CARD) * index, HUM_HAND_Y); | ^ ui.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 | HumanHand (type, index) | ^ ui.c:278:1: warning: non-void function does not return a value [-Wreturn-type] 278 | } | ^ ui.c:280:38: warning: parameter 'height' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | displayDistance (x, y, value, width, height) | ^ 281 | { ui.c:280:31: warning: parameter 'width' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | displayDistance (x, y, value, width, height) | ^ 281 | { ui.c:280:24: warning: parameter 'value' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | displayDistance (x, y, value, width, height) | ^ 281 | { ui.c:280:21: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | displayDistance (x, y, value, width, height) | ^ 281 | { ui.c:280:18: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | displayDistance (x, y, value, width, height) | ^ 281 | { ui.c:280:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 280 | displayDistance (x, y, value, width, height) | ^ | int ui.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:284:1: warning: non-void function does not return a value [-Wreturn-type] 284 | } | ^ ui.c:286:36: warning: parameter 'height' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | eraseDistance (x, y, value, width, height) | ^ 287 | { ui.c:286:29: warning: parameter 'width' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | eraseDistance (x, y, value, width, height) | ^ 287 | { ui.c:286:22: warning: parameter 'value' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | eraseDistance (x, y, value, width, height) | ^ 287 | { ui.c:286:19: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | eraseDistance (x, y, value, width, height) | ^ 287 | { ui.c:286:16: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | eraseDistance (x, y, value, width, height) | ^ 287 | { ui.c:286:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 286 | eraseDistance (x, y, value, width, height) | ^ | int ui.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:289:1: warning: non-void function does not return a value [-Wreturn-type] 289 | } | ^ ui.c:297:21: warning: passing arguments to 'co_prompted' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | return co_prompted (string, xwindow); | ^ ui.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | GetpromptedInput (string) | ^ ui.c:300:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 300 | newboard() | ^ | int ui.c:303:2: warning: call to undeclared function 'cardEraseAll'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | cardEraseAll (); | ^ ui.c:308:2: warning: call to undeclared function 'cardDisplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | cardDisplay (&backside, DECK_X, DECK_Y); | ^ ui.c:309:2: warning: call to undeclared function 'redraw_board'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | redraw_board (); | ^ ui.c:310:1: warning: non-void function does not return a value [-Wreturn-type] 310 | } | ^ ui.c:312:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 312 | newscore() | ^ | int ui.c:314:2: warning: call to undeclared function 'InScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | InScore (-1, 0, "You"); | ^ ui.c:328:1: warning: non-void function does not return a value [-Wreturn-type] 328 | } | ^ ui.c:330:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 330 | redraw_board () | ^ | int ui.c:332:2: warning: call to undeclared function 'redraw_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 332 | redraw_region (0, 0, WINDOW_WIDTH, WINDOW_HEIGHT); | ^ ui.c:333:1: warning: non-void function does not return a value [-Wreturn-type] 333 | } | ^ ui.c:335:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 335 | exposeBoard (rep) | ^ | int ui.c:350:3: warning: call to undeclared function 'redraw_region'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 350 | redraw_region (rect.x, rect.y, rect.width, rect.height); | ^ ui.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | exposeBoard (rep) | ^ ui.c:353:1: warning: non-void function does not return a value [-Wreturn-type] 353 | } | ^ ui.c:355:31: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | redraw_region (xpos, ypos, w, h) | ^ 356 | { ui.c:355:28: warning: parameter 'w' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | redraw_region (xpos, ypos, w, h) | ^ 356 | { ui.c:355:22: warning: parameter 'ypos' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | redraw_region (xpos, ypos, w, h) | ^ 356 | { ui.c:355:16: warning: parameter 'xpos' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | redraw_region (xpos, ypos, w, h) | ^ 356 | { ui.c:355:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 355 | redraw_region (xpos, ypos, w, h) | ^ | int ui.c:398:2: warning: call to undeclared function 'cardRedisplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 398 | cardRedisplay (xpos, ypos, w, h); | ^ ui.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | redraw_region (xpos, ypos, w, h) | ^ ui.c:399:1: warning: non-void function does not return a value [-Wreturn-type] 399 | } | ^ ui.c:401:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 401 | init_ui () | ^ | int ui.c:502:3: warning: call to undeclared function 'init_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 502 | init_cards (); | ^ ui.c:505:3: warning: call to undeclared function 'bw_init_cards'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 505 | bw_init_cards(); | ^ ui.c:507:2: warning: call to undeclared function 'co_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | co_init (); | ^ ui.c:509:10: warning: call to undeclared function 'CcreateButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 509 | QUIT = CcreateButton ("Quit", 50, black_gc, font, | ^ ui.c:515:10: warning: call to undeclared function 'CcreateButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 515 | QUIT = CcreateButton ("Quit", 50, black_gc, font, | ^ ui.c:520:12: warning: call to undeclared function 'CmapButton'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | qwindow = CmapButton (xwindow, QUIT_X, QUIT_Y, QUIT, do_quit); | ^ ui.c:522:2: warning: call to undeclared function 'bindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 522 | bindEvent (qwindow, ExposureMask|ButtonPressMask|LeaveWindowMask|ButtonReleaseMask, | ^ ui.c:531:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 531 | } | ^ ui.c:534:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 534 | finish_ui () | ^ | int ui.c:536:1: warning: non-void function does not return a value [-Wreturn-type] 536 | } | ^ ui.c:538:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 538 | update_ui () | ^ | int ui.c:541:1: warning: non-void function does not return a value [-Wreturn-type] 541 | } | ^ ui.c:543:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 543 | Beep () | ^ | int ui.c:546:1: warning: non-void function does not return a value [-Wreturn-type] 546 | } | ^ ui.c:553:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 553 | getyn(prompt) | ^ | int ui.c:556:9: warning: call to undeclared function 'co_affirm'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 556 | return co_affirm (prompt, xwindow); | ^ ui.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | getyn(prompt) | ^ ui.c:563:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 563 | mouse_event (rep) | ^ | int ui.c:585:3: warning: non-void function 'mouse_event' should return a value [-Wreturn-mismatch] 585 | return; | ^ ui.c:590:19: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] 590 | ComputerStatus (""); | ^~ ui.c:592:3: warning: non-void function 'mouse_event' should return a value [-Wreturn-mismatch] 592 | return; | ^ ui.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | mouse_event (rep) | ^ ui.c:595:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 595 | } | ^ ui.c:597:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 597 | key_event (rep) | ^ | int ui.c:608:54: warning: non-void function 'key_event' should return a value [-Wreturn-mismatch] 608 | if (! (isalnum (buffer[0]) || isspace (buffer[0]))) return; | ^ ui.c:617:4: warning: call to undeclared function 'do_save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 617 | do_save (); getmove_done = 0; | ^ ui.c:624:4: warning: call to undeclared function 'die'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 624 | die (); | ^ ui.c:647:21: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] 647 | ComputerStatus (""); | ^~ ui.c:687:2: warning: non-void function 'key_event' should return a value [-Wreturn-mismatch] 687 | return; | ^ ui.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | key_event (rep) | ^ ui.c:690:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 690 | getmove() | ^ | int ui.c:694:2: warning: call to undeclared function 'bindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | bindEvent (xwindow, ButtonPressMask, mouse_event); | ^ ui.c:697:3: warning: call to undeclared function 'dispatch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 697 | dispatch (); | ^ ui.c:699:2: warning: call to undeclared function 'unbindEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 699 | unbindEvent (xwindow, ButtonPressMask|KeyReleaseMask); | ^ ui.c:700:1: warning: non-void function does not return a value [-Wreturn-type] 700 | } | ^ ui.c:703:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 703 | do_save () | ^ | int ui.c:705:2: warning: call to undeclared function 'save'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 705 | save (); | ^ ui.c:706:1: warning: non-void function does not return a value [-Wreturn-type] 706 | } | ^ ui.c:708:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 708 | do_quit () | ^ | int ui.c:710:2: warning: call to undeclared function 'rub'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 710 | rub(); | ^ ui.c:711:1: warning: non-void function does not return a value [-Wreturn-type] 711 | } | ^ ui.c:716:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 716 | prboard() { | ^ | int ui.c:748:2: warning: call to undeclared function 'prscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 748 | prscore(TRUE); | ^ ui.c:755:1: warning: non-void function does not return a value [-Wreturn-type] 755 | } | ^ ui.c:757:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 757 | InScore (line, player, text) | ^ | int ui.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ui.c:767:1: warning: non-void function does not return a value [-Wreturn-type] 767 | } | ^ ui.c:769:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 769 | prscore(for_real) | ^ | int ui.c:797:3: warning: call to undeclared function 'finalscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 797 | finalscore(pp); | ^ ui.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | prscore(for_real) | ^ ui.c:806:1: warning: non-void function does not return a value [-Wreturn-type] 806 | } | ^ ui.c:808:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 808 | FlushInput () | ^ | int ui.c:810:1: warning: non-void function does not return a value [-Wreturn-type] 810 | } | ^ 207 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c drawcard.c -o drawcard.o drawcard.c:69:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 69 | static drawIm(); | ~~~~~~ ^ | int drawcard.c:70:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 70 | static redisplaybelow(); | ~~~~~~ ^ | int drawcard.c:73:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 73 | bw_init_cards() | ^ | int drawcard.c:144:1: warning: non-void function does not return a value [-Wreturn-type] 144 | } | ^ drawcard.c:145:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 145 | init_cards () | ^ | int drawcard.c:244:1: warning: non-void function does not return a value [-Wreturn-type] 244 | } | ^ drawcard.c:246:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 246 | displayCard (card, x, y) | ^ | int drawcard.c:251:3: warning: call to undeclared function 'cardDisplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | cardDisplay (&eraseCard, x, y); | ^ drawcard.c:253:3: warning: call to undeclared function 'cardDisplay'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 253 | cardDisplay (&cards[card], x, y); | ^ drawcard.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | displayCard (card, x, y) | ^ drawcard.c:255:1: warning: non-void function does not return a value [-Wreturn-type] 255 | } | ^ drawcard.c:266:20: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | cardDisplay (c, x, y) | ^ 267 | struct card *c; 268 | { drawcard.c:266:17: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | cardDisplay (c, x, y) | ^ 267 | struct card *c; 268 | { drawcard.c:266:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 266 | cardDisplay (c, x, y) | ^ | int drawcard.c:275:5: warning: non-void function 'cardDisplay' should return a value [-Wreturn-mismatch] 275 | return; | ^ drawcard.c:295:9: warning: passing arguments to 'drawIm' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | drawIm (c, x, y); | ^ drawcard.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | cardDisplay (c, x, y) | ^ drawcard.c:296:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 296 | } | ^ drawcard.c:299:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 298 | static | ~~~~~~ | int 299 | drawIm (c, x, y) | ^ drawcard.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] drawcard.c:69:8: 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] 69 | static drawIm(); | ^ drawcard.c:306:1: warning: non-void function does not return a value [-Wreturn-type] 306 | } | ^ drawcard.c:308:25: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | cardRedisplay (x, y, w, h) | ^ 309 | { drawcard.c:308:22: warning: parameter 'w' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | cardRedisplay (x, y, w, h) | ^ 309 | { drawcard.c:308:19: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | cardRedisplay (x, y, w, h) | ^ 309 | { drawcard.c:308:16: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | cardRedisplay (x, y, w, h) | ^ 309 | { drawcard.c:308:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 308 | cardRedisplay (x, y, w, h) | ^ | int drawcard.c:314:17: warning: passing arguments to 'redisplaybelow' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | redisplaybelow (onscreen, x, y, w, h); | ^ drawcard.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | cardRedisplay (x, y, w, h) | ^ drawcard.c:315:1: warning: non-void function does not return a value [-Wreturn-type] 315 | } | ^ drawcard.c:318:29: warning: parameter 'h' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 318 | redisplaybelow (d, x, y, w, h) | ^ 319 | struct displayed *d; 320 | { drawcard.c:318:26: warning: parameter 'w' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 318 | redisplaybelow (d, x, y, w, h) | ^ 319 | struct displayed *d; 320 | { drawcard.c:318:23: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 318 | redisplaybelow (d, x, y, w, h) | ^ 319 | struct displayed *d; 320 | { drawcard.c:318:20: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 318 | redisplaybelow (d, x, y, w, h) | ^ 319 | struct displayed *d; 320 | { drawcard.c:318:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 317 | static | ~~~~~~ | int 318 | redisplaybelow (d, x, y, w, h) | ^ drawcard.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] drawcard.c:70:8: 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] 70 | static redisplaybelow(); | ^ drawcard.c:337:1: warning: non-void function does not return a value [-Wreturn-type] 337 | } | ^ drawcard.c:339:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 339 | cardEraseAll () | ^ | int drawcard.c:348:1: warning: non-void function does not return a value [-Wreturn-type] 348 | } | ^ 40 warnings generated. cc -O2 -pipe -Wno-error=return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DDEFAULT_FONT=\"fixed\" -DDEFAULT_FONTB=\"fixed\" -c animate.c -o animate.o animate.c:12:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 12 | static do_animate(); | ~~~~~~ ^ | int animate.c:13:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 13 | static draw_square(); | ~~~~~~ ^ | int animate.c:14:8: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 14 | static compute_position(); | ~~~~~~ ^ | int animate.c:16:55: warning: parameter 'dest_arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ 17 | { animate.c:16:44: warning: parameter 'dest_type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ 17 | { animate.c:16:34: warning: parameter 'orig_arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ 17 | { animate.c:16:23: warning: parameter 'orig_type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ 17 | { animate.c:16:15: warning: parameter 'player' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ 17 | { animate.c:16:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ | int animate.c:21:19: warning: passing arguments to 'compute_position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | compute_position (player, orig_type, orig_arg, &ox, &oy); | ^ animate.c:22:19: warning: passing arguments to 'compute_position' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | compute_position (player, dest_type, dest_arg, &dx, &dy); | ^ animate.c:23:13: warning: passing arguments to 'do_animate' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 23 | do_animate (ox, oy, dx, dy); | ^ animate.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | animate_move (player, orig_type, orig_arg, dest_type, dest_arg) | ^ animate.c:25:1: warning: non-void function does not return a value [-Wreturn-type] 25 | } | ^ animate.c:33:25: warning: parameter 'dy' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | do_animate (ox, oy, dx, dy) | ^ 34 | { animate.c:33:21: warning: parameter 'dx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | do_animate (ox, oy, dx, dy) | ^ 34 | { animate.c:33:17: warning: parameter 'oy' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | do_animate (ox, oy, dx, dy) | ^ 34 | { animate.c:33:13: warning: parameter 'ox' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 33 | do_animate (ox, oy, dx, dy) | ^ 34 | { animate.c:33:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 32 | static | ~~~~~~ | int 33 | do_animate (ox, oy, dx, dy) | ^ animate.c:59:16: warning: passing arguments to 'draw_square' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | draw_square (ix, iy, ix + WIDTH, iy + HEIGHT); | ^ animate.c:94:17: warning: passing arguments to 'draw_square' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | draw_square (x1, y1, x2, y2); | ^ animate.c:96:17: warning: passing arguments to 'draw_square' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | draw_square (x3, y3, x4, y4); | ^ animate.c:130:17: warning: passing arguments to 'draw_square' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | draw_square (x1, y1, x2, y2); | ^ animate.c:132:17: warning: passing arguments to 'draw_square' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | draw_square (x3, y3, x4, y4); | ^ animate.c:143:14: warning: passing arguments to 'draw_square' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | draw_square (xp, yp, xp+WIDTH, yp+HEIGHT); | ^ animate.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | do_animate (ox, oy, dx, dy) | ^ animate.c:12:8: 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] 12 | static do_animate(); | ^ animate.c:145:1: warning: non-void function does not return a value [-Wreturn-type] 145 | } | ^ animate.c:148:26: warning: parameter 'y2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | draw_square (x1, y1, x2, y2) | ^ 149 | { animate.c:148:22: warning: parameter 'x2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | draw_square (x1, y1, x2, y2) | ^ 149 | { animate.c:148:18: warning: parameter 'y1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | draw_square (x1, y1, x2, y2) | ^ 149 | { animate.c:148:14: warning: parameter 'x1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | draw_square (x1, y1, x2, y2) | ^ 149 | { animate.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 147 | static | ~~~~~~ | int 148 | draw_square (x1, y1, x2, y2) | ^ animate.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] animate.c:13:8: 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] 13 | static draw_square(); | ^ animate.c:159:1: warning: non-void function does not return a value [-Wreturn-type] 159 | } | ^ animate.c:162:33: warning: parameter 'arg' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | compute_position (player, type, arg, xp, yp) | ^ 163 | int *xp, *yp; 164 | { animate.c:162:27: warning: parameter 'type' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | compute_position (player, type, arg, xp, yp) | ^ 163 | int *xp, *yp; 164 | { animate.c:162:19: warning: parameter 'player' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 162 | compute_position (player, type, arg, xp, yp) | ^ 163 | int *xp, *yp; 164 | { animate.c:162:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 161 | static | ~~~~~~ | int 162 | compute_position (player, type, arg, xp, yp) | ^ animate.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] animate.c:14:8: 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] 14 | static compute_position(); | ^ animate.c:259:1: warning: non-void function does not return a value [-Wreturn-type] 259 | } | ^ 43 warnings generated. rm -f xmille cc -o xmille -L/usr/local/lib comp.o end.o extern.o init.o mille.o misc.o move.o print.o roll.o save.o types.o varpush.o ui.o drawcard.o animate.o control/libcontrol.a cards/libcardlib.a -lXext -lX11 -lm -Wl,-rpath,/usr/local/lib rm -f xmille._man if test -z "" ; then cd `dirname xmille` && ln -s `basename xmille.man` `basename xmille._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" < xmille.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/\@\@$/\\/' >xmille._man; fi =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmille-2.0_5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xmille-2.0_5 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xmille-2.0_5 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/xmille/work/Mille/xmille /wrkdirs/usr/ports/games/xmille/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/games/xmille/work/Mille/xmille.man /wrkdirs/usr/ports/games/xmille/work/stage/usr/local/share/man/man1/xmille.1 ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-03-12T04:23:46+0000' 'PKG_NOTE_ports_top_git_hash=26b198eb3ee3' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for xmille-2.0_5 ===> Building xmille-2.0_5 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xmille-2.0_5 build of games/xmille | xmille-2.0_5 ended at Thu Mar 12 00:24:12 EDT 2026 build time: 00:00:28