=>> Building games/xmille build started at Mon Apr 1 08:31:11 BST 2024 port directory: /usr/ports/games/xmille package name: xmille-2.0_5 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 798 Jan 11 20:37 /usr/ports/games/xmille/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: a36cd930e2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 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.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 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=/ccache/libexec/ccache:/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 CCACHE_DIR="/root/.ccache" --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=/ccache/libexec/ccache:/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 -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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=13.2 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--- 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 #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> 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-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... 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-builder.dan.net.uk] Installing imake-1.0.10_1,1... [pkg-builder.dan.net.uk] `-- Installing gccmakedep-1.0.4... [pkg-builder.dan.net.uk] `-- Extracting gccmakedep-1.0.4: .. done [pkg-builder.dan.net.uk] `-- Installing makedepend-1.0.9,1... [pkg-builder.dan.net.uk] `-- Extracting makedepend-1.0.9,1: .. done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing xorg-cf-files-1.0.8_1... [pkg-builder.dan.net.uk] `-- Extracting xorg-cf-files-1.0.8_1: .......... done [pkg-builder.dan.net.uk] 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-builder.dan.net.uk] Installing tradcpp-0.5.3... [pkg-builder.dan.net.uk] 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.7_1,1.pkg [pkg-builder.dan.net.uk] Installing libX11-1.8.7_1,1... [pkg-builder.dan.net.uk] `-- Installing libxcb-1.16.1... [pkg-builder.dan.net.uk] | `-- Installing libXau-1.0.9_1... [pkg-builder.dan.net.uk] | `-- Extracting libXau-1.0.9_1: .......... done [pkg-builder.dan.net.uk] | `-- Installing libXdmcp-1.1.5... [pkg-builder.dan.net.uk] | | `-- Installing xorgproto-2023.2... [pkg-builder.dan.net.uk] | | `-- Extracting xorgproto-2023.2: .......... done [pkg-builder.dan.net.uk] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg-builder.dan.net.uk] `-- Extracting libxcb-1.16.1: .......... done [pkg-builder.dan.net.uk] Extracting libX11-1.8.7_1,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-builder.dan.net.uk] Installing libXext-1.3.6,1... [pkg-builder.dan.net.uk] 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 =========================================================================== =================================================== ===== 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 -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: implicit declaration of function 'XrmUniqueQuark' is invalid in C99 [-Wimplicit-function-declaration] assocContext = XUniqueContext(); ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ button.c:131:22: warning: implicit declaration of function 'XrmUniqueQuark' is invalid in C99 [-Wimplicit-function-declaration] perwindowContext = XUniqueContext(); ^ /usr/local/include/X11/Xutil.h:359:44: note: expanded from macro 'XUniqueContext' #define XUniqueContext() ((XContext) XrmUniqueQuark()) ^ button.c:142:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CunmapButton (w) ^ button.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CmanageButton (rep) ^ button.c:200:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ button.c:202:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] CredrawButton (w) ^ button.c:212:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ button.c:215:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] buttonOn (w, b) ^ button.c:221:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:224:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] buttonOff (w, b) ^ button.c:231:1: warning: non-void function does not return a value [-Wreturn-type] } ^ button.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] buttonText (w, b, gc) ^ button.c:240:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 13 warnings generated. rm -f scrollbar.o cc -c -O2 -pipe -Wno-error=return-type -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 -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' [-Wimplicit-int] co_init () ^ init.c:56:10: warning: implicit declaration of function 'CcreateButton' is invalid in C99 [-Wimplicit-function-declaration] 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 -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: implicit declaration of function 'co_init' is invalid in C99 [-Wimplicit-function-declaration] co_init(); ^ affirm.c:70:7: warning: implicit declaration of function 'CmapButton' is invalid in C99 [-Wimplicit-function-declaration] ok = CmapButton (affirm, OK_X, OK_Y, co_OK, co_OKstate); ^ affirm.c:72:2: warning: implicit declaration of function 'bindEvent' is invalid in C99 [-Wimplicit-function-declaration] bindEvent (affirm, ExposureMask, co_affirmEvent); ^ affirm.c:81:3: warning: implicit declaration of function 'dispatch' is invalid in C99 [-Wimplicit-function-declaration] dispatch (); ^ affirm.c:84:2: warning: implicit declaration of function 'unbindEvent' is invalid in C99 [-Wimplicit-function-declaration] unbindEvent (affirm, ExposureMask); ^ affirm.c:90:2: warning: implicit declaration of function 'CunmapButton' is invalid in C99 [-Wimplicit-function-declaration] CunmapButton (cancel); ^ affirm.c:97:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ affirm.c:99:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] co_affirmEvent (rep) ^ affirm.c:106:1: warning: non-void function does not return a value [-Wreturn-type] } ^ affirm.c:108:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] co_OKstate (n) ^ affirm.c:111:1: warning: non-void function does not return a value [-Wreturn-type] } ^ affirm.c:113:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] co_CANCELstate (n) ^ affirm.c:116:1: warning: non-void function does not return a value [-Wreturn-type] } ^ affirm.c:119:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redisplayLabel () ^ affirm.c:124:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 15 warnings generated. rm -f dispatch.o cc -c -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] bindEvent (window, eventMask, func) ^ dispatch.c:83:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dispatch.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] unbindEvent (window, eventMask) ^ dispatch.c:109:5: warning: implicit declaration of function 'freeGroup' is invalid in C99 [-Wimplicit-function-declaration] freeGroup (g); ^ dispatch.c:114:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dispatch.c:116:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sendEvent (rep) ^ dispatch.c:126:4: warning: non-void function 'sendEvent' should return a value [-Wreturn-type] return; ^ dispatch.c:129:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ dispatch.c:131:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dispatch () ^ dispatch.c:136:13: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XAnyEvent *' [-Wincompatible-pointer-types] sendEvent (&event); ^~~~~~ dispatch.c:137:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dispatch.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] freeGroup (g) ^ dispatch.c:149:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 13 warnings generated. rm -f prompted.o cc -c -O2 -pipe -Wno-error=return-type -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: implicit declaration of function 'co_init' is invalid in C99 [-Wimplicit-function-declaration] co_init(); ^ prompted.c:84:7: warning: implicit declaration of function 'CmapButton' is invalid in C99 [-Wimplicit-function-declaration] ok = CmapButton (prompted, OK_X, OK_Y, co_OK, co_OKstate); ^ prompted.c:88:2: warning: implicit declaration of function 'bindEvent' is invalid in C99 [-Wimplicit-function-declaration] bindEvent (prompted, ExposureMask, co_promptedEvent); ^ prompted.c:101:3: warning: implicit declaration of function 'dispatch' is invalid in C99 [-Wimplicit-function-declaration] dispatch (); ^ prompted.c:104:2: warning: implicit declaration of function 'unbindEvent' is invalid in C99 [-Wimplicit-function-declaration] unbindEvent (prompted, ExposureMask); ^ prompted.c:110:2: warning: implicit declaration of function 'CunmapButton' is invalid in C99 [-Wimplicit-function-declaration] CunmapButton (ok); ^ prompted.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] co_promptedEvent (rep) ^ prompted.c:125:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] co_OKstate (n) ^ prompted.c:131:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redisplayLabel () ^ prompted.c:138:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:141:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] textbox_event (rep) ^ prompted.c:153:11: warning: implicit declaration of function 'XLookupString' is invalid in C99 [-Wimplicit-function-declaration] count = XLookupString (rep, pbuf, 20, 0, 0); ^ prompted.c:160:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:163:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] handle_char (c) ^ prompted.c:192:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] compute_width (string) ^ prompted.c:202:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_char (pos, ch, on) ^ prompted.c:209:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:212:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_string (string, on) ^ prompted.c:219:1: warning: non-void function does not return a value [-Wreturn-type] } ^ prompted.c:222:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redisplayText () ^ prompted.c:225:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 24 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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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 -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' [-Wimplicit-int] calcmove() { ^ comp.c:21:2: warning: implicit declaration of function 'Message' is invalid in C99 [-Wimplicit-function-declaration] Message (""); ^ comp.c:35:20: warning: implicit declaration of function 'canplay' is invalid in C99 [-Wimplicit-function-declaration] if (playit[i] = canplay(pp, op, card)) ^ comp.c:35:18: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (playit[i] = canplay(pp, op, card)) ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ comp.c:35:18: note: place parentheses around the assignment to silence this warning if (playit[i] = canplay(pp, op, card)) ^ ( ) comp.c:35:18: note: use '==' to turn this assignment into an equality comparison if (playit[i] = canplay(pp, op, card)) ^ == comp.c:62:5: warning: non-void function 'calcmove' should return a value [-Wreturn-type] return; ^ comp.c:72:3: warning: non-void function 'calcmove' should return a value [-Wreturn-type] return; ^ comp.c:77:15: warning: implicit declaration of function 'check_ext' is invalid in C99 [-Wimplicit-function-declaration] foundend = !check_ext(TRUE); ^ comp.c:80:8: warning: implicit declaration of function 'onecard' is invalid in C99 [-Wimplicit-function-declaration] if (onecard(op) || (foundend && cango && !canstop)) { ^ comp.c:86:5: warning: non-void function 'calcmove' should return a value [-Wreturn-type] return; ^ comp.c:93:31: warning: implicit declaration of function 'roll' is invalid in C99 [-Wimplicit-function-declaration] card = (Topcard - Deck) - roll(1, 10); ^ comp.c:105:22: warning: implicit declaration of function 'isrepair' is invalid in C99 [-Wimplicit-function-declaration] if (!pp->can_go && !isrepair(pp->battle)) ^ comp.c:187:12: warning: implicit declaration of function 'safety' is invalid in C99 [-Wimplicit-function-declaration] safe = safety(card) - S_CONV; ^ comp.c:243:41: warning: implicit declaration of function 'onecard' is invalid in C99 [-Wimplicit-function-declaration] if (!pp->mileage || foundend || onecard(op)) ^ comp.c:261:41: warning: implicit declaration of function 'onecard' is invalid in C99 [-Wimplicit-function-declaration] if (!pp->mileage || foundend || onecard(op)) ^ comp.c:295:4: warning: implicit declaration of function 'debug' is invalid in C99 [-Wimplicit-function-declaration] debug(i, "%3d %-14s",*value,C_name[pp->hand[i]]); ^ comp.c:301:3: warning: implicit declaration of function 'ComputerStatus' is invalid in C99 [-Wimplicit-function-declaration] ComputerStatus ("PLAY"); ^ comp.c:303:4: warning: implicit declaration of function 'getmove' is invalid in C99 [-Wimplicit-function-declaration] getmove(); ^ comp.c:310:3: warning: implicit declaration of function 'ComputerStatus' is invalid in C99 [-Wimplicit-function-declaration] ComputerStatus ("DISCARD"); ^ comp.c:312:4: warning: implicit declaration of function 'getmove' is invalid in C99 [-Wimplicit-function-declaration] getmove(); ^ comp.c:318:2: warning: implicit declaration of function 'ComputerCard' is invalid in C99 [-Wimplicit-function-declaration] ComputerCard (pp->hand[Card_no]); ^ comp.c:319:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ comp.c:321:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] onecard(pp) ^ comp.c:329:22: warning: implicit declaration of function 'isrepair' is invalid in C99 [-Wimplicit-function-declaration] if (pp->can_go || ((isrepair(bat) || bat == C_STOP ^ comp.c:331:17: warning: implicit declaration of function 'safety' is invalid in C99 [-Wimplicit-function-declaration] || Numseen[safety(bat)] != 0) ^ comp.c:352:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] canplay(pp, op, card) ^ comp.c:372:32: warning: implicit declaration of function 'safety' is invalid in C99 [-Wimplicit-function-declaration] if (op->can_go && op->safety[safety(card) - S_CONV] != S_PLAYED) ^ comp.c:386:11: warning: implicit declaration of function 'isrepair' is invalid in C99 [-Wimplicit-function-declaration] && (isrepair(pp->battle) || pp->battle == C_STOP)) ^ 27 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] finalscore(pp) ^ end.c:18:3: warning: implicit declaration of function 'InScore' is invalid in C99 [-Wimplicit-function-declaration] InScore (tot, num, " 0 "); ^ end.c:21:3: warning: implicit declaration of function 'InScore' is invalid in C99 [-Wimplicit-function-declaration] InScore (4, num, " 400 "); ^ end.c:42:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 4 warnings generated. cc -O2 -pipe -Wno-error=return-type -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 -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' [-Wimplicit-int] init() { ^ init.c:27:5: warning: implicit declaration of function 'account' is invalid in C99 [-Wimplicit-function-declaration] account(card = *Topcard); ^ init.c:45:3: warning: implicit declaration of function 'sort' is invalid in C99 [-Wimplicit-function-declaration] sort(Player[PLAYER].hand); ^ init.c:49:1: warning: non-void function does not return a value [-Wreturn-type] } ^ init.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] shuffle() { ^ init.c:57:7: warning: implicit declaration of function 'roll' is invalid in C99 [-Wimplicit-function-declaration] r = roll(1, DECK_SZ) - 1; ^ init.c:60:4: warning: implicit declaration of function 'die' is invalid in C99 [-Wimplicit-function-declaration] die(); ^ init.c:67:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 8 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] main(ac, av) ^ mille.c:25:6: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] 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: implicit declaration of function 'rest_f' is invalid in C99 [-Wimplicit-function-declaration] rest_f(av[1]); ^ mille.c:57:8: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] srand(getpid()); ^ mille.c:63:2: warning: implicit declaration of function 'init_ui' is invalid in C99 [-Wimplicit-function-declaration] init_ui(); ^ mille.c:79:5: warning: implicit declaration of function 'shuffle' is invalid in C99 [-Wimplicit-function-declaration] shuffle(); ^ mille.c:80:5: warning: implicit declaration of function 'init' is invalid in C99 [-Wimplicit-function-declaration] init(); ^ mille.c:84:4: warning: implicit declaration of function 'newboard' is invalid in C99 [-Wimplicit-function-declaration] newboard(); ^ mille.c:88:5: warning: implicit declaration of function 'Error' is invalid in C99 [-Wimplicit-function-declaration] Error (Initstr); ^ mille.c:91:4: warning: implicit declaration of function 'prboard' is invalid in C99 [-Wimplicit-function-declaration] prboard(); ^ mille.c:97:5: warning: implicit declaration of function 'domove' is invalid in C99 [-Wimplicit-function-declaration] domove(); ^ mille.c:103:6: warning: implicit declaration of function 'newscore' is invalid in C99 [-Wimplicit-function-declaration] newscore(); ^ mille.c:114:4: warning: implicit declaration of function 'check_more' is invalid in C99 [-Wimplicit-function-declaration] check_more(); ^ mille.c:130:6: warning: implicit declaration of function 'getyn' is invalid in C99 [-Wimplicit-function-declaration] if (getyn("Really? ")) ^ mille.c:131:3: warning: implicit declaration of function 'die' is invalid in C99 [-Wimplicit-function-declaration] die(); ^ mille.c:138:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] die() { ^ mille.c:143:2: warning: implicit declaration of function 'finish_ui' is invalid in C99 [-Wimplicit-function-declaration] finish_ui (); ^ 17 warnings generated. cc -O2 -pipe -Wno-error=return-type -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:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] error(str, arg) ^ misc.c:17:2: warning: implicit declaration of function 'Error' is invalid in C99 [-Wimplicit-function-declaration] Error (str, arg); ^ misc.c:18:2: warning: implicit declaration of function 'Beep' is invalid in C99 [-Wimplicit-function-declaration] Beep (); ^ misc.c:19:2: warning: implicit declaration of function 'update_ui' is invalid in C99 [-Wimplicit-function-declaration] update_ui (); ^ misc.c:23:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] check_ext(forcomp) ^ misc.c:29:8: warning: implicit declaration of function 'getyn' is invalid in C99 [-Wimplicit-function-declaration] if (getyn("Extension? ")) { ^ misc.c:53:28: warning: implicit declaration of function 'onecard' is invalid in C99 [-Wimplicit-function-declaration] if (op->mileage == 0 || onecard(op) ^ misc.c:78:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] check_more() { ^ misc.c:80:2: warning: implicit declaration of function 'FlushInput' is invalid in C99 [-Wimplicit-function-declaration] FlushInput (); ^ misc.c:84:7: warning: implicit declaration of function 'getyn' is invalid in C99 [-Wimplicit-function-declaration] if (getyn("Another game? ")) ^ misc.c:85:4: warning: non-void function 'check_more' should return a value [-Wreturn-type] return; ^ misc.c:99:4: warning: non-void function 'check_more' should return a value [-Wreturn-type] return; ^ misc.c:101:8: warning: implicit declaration of function 'save' is invalid in C99 [-Wimplicit-function-declaration] if (!save()) ^ misc.c:102:4: warning: non-void function 'check_more' should return a value [-Wreturn-type] return; ^ misc.c:103:2: warning: implicit declaration of function 'die' is invalid in C99 [-Wimplicit-function-declaration] die(); ^ misc.c:104:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 16 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] domove() ^ move.c:34:3: warning: implicit declaration of function 'getmove' is invalid in C99 [-Wimplicit-function-declaration] getmove(); ^ move.c:36:3: warning: implicit declaration of function 'calcmove' is invalid in C99 [-Wimplicit-function-declaration] calcmove(); ^ move.c:46:7: warning: implicit declaration of function 'haspicked' is invalid in C99 [-Wimplicit-function-declaration] if (haspicked(pp)) { ^ move.c:51:6: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error("no card there"); ^ move.c:56:5: warning: implicit declaration of function 'animate_move' is invalid in C99 [-Wimplicit-function-declaration] animate_move (Play, ANIMATE_HAND, Card_no, ^ move.c:61:6: warning: implicit declaration of function 'account' is invalid in C99 [-Wimplicit-function-declaration] account(Discard); ^ move.c:65:4: warning: implicit declaration of function 'error' is invalid in C99 [-Wimplicit-function-declaration] error("must pick first"); ^ move.c:91:4: warning: implicit declaration of function 'animate_move' is invalid in C99 [-Wimplicit-function-declaration] animate_move (Play, ANIMATE_DECK, pp->hand[0], ANIMATE_HAND, 0); ^ move.c:101:5: warning: implicit declaration of function 'account' is invalid in C99 [-Wimplicit-function-declaration] account(*Topcard); ^ move.c:126:3: warning: implicit declaration of function 'sort' is invalid in C99 [-Wimplicit-function-declaration] sort(pp->hand); ^ move.c:139:3: warning: implicit declaration of function 'check_go' is invalid in C99 [-Wimplicit-function-declaration] check_go(); ^ move.c:142:1: warning: non-void function does not return a value [-Wreturn-type] } ^ move.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] check_go() { ^ move.c:158:26: warning: implicit declaration of function 'canplay' is invalid in C99 [-Wimplicit-function-declaration] if (issafety(card) || canplay(pp, op, card)) { ^ move.c:164:5: warning: non-void function 'check_go' should return a value [-Wreturn-type] return; ^ move.c:172:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ move.c:186:8: warning: implicit declaration of function 'haspicked' is invalid in C99 [-Wimplicit-function-declaration] if (!haspicked(pp)) ^ move.c:212:3: warning: implicit declaration of function 'animate_move' is invalid in C99 [-Wimplicit-function-declaration] animate_move (Play, ANIMATE_HAND, Card_no, ANIMATE_MILES, card); ^ move.c:219:4: warning: implicit declaration of function 'check_ext' is invalid in C99 [-Wimplicit-function-declaration] check_ext(FALSE); ^ move.c:235:11: warning: implicit declaration of function 'isrepair' is invalid in C99 [-Wimplicit-function-declaration] && !isrepair(pp->battle)) ^ move.c:259:23: warning: implicit declaration of function 'safety' is invalid in C99 [-Wimplicit-function-declaration] else if (pp->safety[safety(card) - S_CONV] == S_PLAYED) ^ move.c:337:3: warning: implicit declaration of function 'account' is invalid in C99 [-Wimplicit-function-declaration] account(card); ^ move.c:362:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] haspicked(pp) ^ move.c:381:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] account(card) ^ move.c:387:3: warning: non-void function 'account' should return a value [-Wreturn-type] return; ^ move.c:404:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ move.c:406:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sort(hand) ^ move.c:421:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 29 warnings generated. cc -O2 -pipe -Wno-error=return-type -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 -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' [-Wimplicit-int] roll(ndie, nsides) ^ roll.c:43:15: warning: implicit declaration of function 'rand' is invalid in C99 [-Wimplicit-function-declaration] tot += (r = rand()) * (num_sides / 017777777777) + 1; ^ 2 warnings generated. cc -O2 -pipe -Wno-error=return-type -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:30:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] save() { ^ save.c:40:18: warning: implicit declaration of function 'getyn' is invalid in C99 [-Wimplicit-function-declaration] if (Fromfile && getyn("Same file? ")) ^ save.c:55:14: warning: implicit declaration of function 'creat' is invalid in C99 [-Wimplicit-function-declaration] if ((outf = creat(buf, 0644)) < 0) { ^ save.c:60:2: warning: implicit declaration of function 'Error' is invalid in C99 [-Wimplicit-function-declaration] Error (buf); ^ save.c:66:2: warning: implicit declaration of function 'varpush' is invalid in C99 [-Wimplicit-function-declaration] varpush(outf, write); ^ save.c:67:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(outf); ^ save.c:76:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rest_f(file) ^ save.c:84:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] if ((inf = open(file, 0)) < 0) { ^ save.c:92:2: warning: implicit declaration of function 'varpush' is invalid in C99 [-Wimplicit-function-declaration] varpush(inf, read); ^ save.c:93:2: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] close(inf); ^ 10 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] isrepair(card) ^ types.c:13:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] safety(card) ^ types.c:37:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ 3 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] varpush(file, func) ^ varpush.c:62:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. cc -O2 -pipe -Wno-error=return-type -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:98:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Message (string) ^ ui.c:105:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:107:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Error (string, arg) ^ ui.c:118:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:120:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Prompt (string) ^ ui.c:128:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:130:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] debug (pos, string, a0, a1, a2) ^ ui.c:132:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:134:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerStatus (string) ^ ui.c:139:14: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] if (strlen (string) == 0) ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ ui.c:142:34: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] sprintf (buffer, "I %-10.10s", string); ~~~~~~~~ ^~~~~~ %-10.10d ui.c:146:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerCard (type) ^ ui.c:152:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:156:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerDistance (distance) ^ ui.c:158:2: warning: implicit declaration of function 'displayDistance' is invalid in C99 [-Wimplicit-function-declaration] displayDistance (COMP_DIST_X, COMP_DIST_Y, distance, DIST_WIDTH, DIST_HEIGHT); ^ ui.c:160:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] EraseComputerDistance () ^ ui.c:165:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:167:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RedisplayComputerDistance () ^ ui.c:169:2: warning: implicit declaration of function 'displayDistance' is invalid in C99 [-Wimplicit-function-declaration] 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] } ^ ui.c:172:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerSpeed (type) ^ ui.c:174:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, COMP_PLAY_X, COMP_PLAY_Y); ^ ui.c:175:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:177:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerBattle (type) ^ ui.c:179:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, COMP_PLAY_X + WIDTH + PAD_CARD, COMP_PLAY_Y); ^ ui.c:180:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:184:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerMiles (type, index, count) ^ ui.c:187:3: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, COMP_PLAY_X + (WIDTH + PAD_CARD) * (index + 2), ^ ui.c:191:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:193:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] EraseComputerMiles () ^ ui.c:199:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:201:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ComputerSafety (type, index) ^ ui.c:203:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, COMP_SAFE_X + safety_offsets[index].x, ^ ui.c:205:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:207:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DisplayDiscard (type) ^ ui.c:209:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, DISCARD_X, DISCARD_Y); ^ ui.c:210:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:212:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] DisplayDeck (numberLeft) ^ ui.c:219:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:223:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] HumanDistance (distance) ^ ui.c:225:2: warning: implicit declaration of function 'displayDistance' is invalid in C99 [-Wimplicit-function-declaration] displayDistance (HUM_DIST_X, HUM_DIST_Y, distance, DIST_WIDTH, DIST_HEIGHT); ^ ui.c:227:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:229:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] EraseHumanDistance () ^ ui.c:232:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:234:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] RedisplayHumanDistance () ^ ui.c:236:2: warning: implicit declaration of function 'displayDistance' is invalid in C99 [-Wimplicit-function-declaration] 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] } ^ ui.c:239:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] HumanSpeed (type) ^ ui.c:241:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, HUM_PLAY_X, HUM_PLAY_Y); ^ ui.c:242:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:244:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] HumanBattle (type) ^ ui.c:246:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, HUM_PLAY_X + WIDTH + PAD_CARD, HUM_PLAY_Y); ^ ui.c:247:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:251:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] HumanMiles (type, index, count) ^ ui.c:254:3: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, HUM_PLAY_X + (WIDTH + PAD_CARD) * (index + 2), ^ ui.c:258:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:260:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] EraseHumanMiles () ^ ui.c:266:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:268:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] HumanSafety (type, index) ^ ui.c:270:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, HUM_SAFE_X + safety_offsets[index].x, ^ ui.c:272:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:274:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] HumanHand (type, index) ^ ui.c:277:2: warning: implicit declaration of function 'displayCard' is invalid in C99 [-Wimplicit-function-declaration] displayCard (type, HUM_HAND_X + (WIDTH + PAD_CARD) * index, HUM_HAND_Y); ^ ui.c:278:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] displayDistance (x, y, value, width, height) ^ ui.c:284:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:286:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eraseDistance (x, y, value, width, height) ^ ui.c:289:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:300:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] newboard() ^ ui.c:303:2: warning: implicit declaration of function 'cardEraseAll' is invalid in C99 [-Wimplicit-function-declaration] cardEraseAll (); ^ ui.c:308:2: warning: implicit declaration of function 'cardDisplay' is invalid in C99 [-Wimplicit-function-declaration] cardDisplay (&backside, DECK_X, DECK_Y); ^ ui.c:309:2: warning: implicit declaration of function 'redraw_board' is invalid in C99 [-Wimplicit-function-declaration] redraw_board (); ^ ui.c:310:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:312:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] newscore() ^ ui.c:314:2: warning: implicit declaration of function 'InScore' is invalid in C99 [-Wimplicit-function-declaration] InScore (-1, 0, "You"); ^ ui.c:328:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:330:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_board () ^ ui.c:332:2: warning: implicit declaration of function 'redraw_region' is invalid in C99 [-Wimplicit-function-declaration] redraw_region (0, 0, WINDOW_WIDTH, WINDOW_HEIGHT); ^ ui.c:333:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:335:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] exposeBoard (rep) ^ ui.c:350:3: warning: implicit declaration of function 'redraw_region' is invalid in C99 [-Wimplicit-function-declaration] redraw_region (rect.x, rect.y, rect.width, rect.height); ^ ui.c:353:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:355:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redraw_region (xpos, ypos, w, h) ^ ui.c:398:2: warning: implicit declaration of function 'cardRedisplay' is invalid in C99 [-Wimplicit-function-declaration] cardRedisplay (xpos, ypos, w, h); ^ ui.c:399:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:401:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_ui () ^ ui.c:502:3: warning: implicit declaration of function 'init_cards' is invalid in C99 [-Wimplicit-function-declaration] init_cards (); ^ ui.c:505:3: warning: implicit declaration of function 'bw_init_cards' is invalid in C99 [-Wimplicit-function-declaration] bw_init_cards(); ^ ui.c:507:2: warning: implicit declaration of function 'co_init' is invalid in C99 [-Wimplicit-function-declaration] co_init (); ^ ui.c:509:10: warning: implicit declaration of function 'CcreateButton' is invalid in C99 [-Wimplicit-function-declaration] QUIT = CcreateButton ("Quit", 50, black_gc, font, ^ ui.c:515:10: warning: implicit declaration of function 'CcreateButton' is invalid in C99 [-Wimplicit-function-declaration] QUIT = CcreateButton ("Quit", 50, black_gc, font, ^ ui.c:520:12: warning: implicit declaration of function 'CmapButton' is invalid in C99 [-Wimplicit-function-declaration] qwindow = CmapButton (xwindow, QUIT_X, QUIT_Y, QUIT, do_quit); ^ ui.c:522:2: warning: implicit declaration of function 'bindEvent' is invalid in C99 [-Wimplicit-function-declaration] 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] } ^ ui.c:534:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] finish_ui () ^ ui.c:536:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] update_ui () ^ ui.c:541:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:543:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Beep () ^ ui.c:546:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:553:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getyn(prompt) ^ ui.c:556:9: warning: implicit declaration of function 'co_affirm' is invalid in C99 [-Wimplicit-function-declaration] return co_affirm (prompt, xwindow); ^ ui.c:563:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mouse_event (rep) ^ ui.c:585:3: warning: non-void function 'mouse_event' should return a value [-Wreturn-type] return; ^ ui.c:590:19: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] ComputerStatus (""); ^~ ui.c:592:3: warning: non-void function 'mouse_event' should return a value [-Wreturn-type] return; ^ ui.c:595:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ ui.c:597:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] key_event (rep) ^ ui.c:608:54: warning: non-void function 'key_event' should return a value [-Wreturn-type] if (! (isalnum (buffer[0]) || isspace (buffer[0]))) return; ^ ui.c:617:4: warning: implicit declaration of function 'do_save' is invalid in C99 [-Wimplicit-function-declaration] do_save (); getmove_done = 0; ^ ui.c:624:4: warning: implicit declaration of function 'die' is invalid in C99 [-Wimplicit-function-declaration] die (); ^ ui.c:647:21: warning: incompatible pointer to integer conversion passing 'char[1]' to parameter of type 'int' [-Wint-conversion] ComputerStatus (""); ^~ ui.c:687:2: warning: non-void function 'key_event' should return a value [-Wreturn-type] return; ^ ui.c:690:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getmove() ^ ui.c:694:2: warning: implicit declaration of function 'bindEvent' is invalid in C99 [-Wimplicit-function-declaration] bindEvent (xwindow, ButtonPressMask, mouse_event); ^ ui.c:697:3: warning: implicit declaration of function 'dispatch' is invalid in C99 [-Wimplicit-function-declaration] dispatch (); ^ ui.c:699:2: warning: implicit declaration of function 'unbindEvent' is invalid in C99 [-Wimplicit-function-declaration] unbindEvent (xwindow, ButtonPressMask|KeyReleaseMask); ^ ui.c:700:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:703:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_save () ^ ui.c:705:2: warning: implicit declaration of function 'save' is invalid in C99 [-Wimplicit-function-declaration] save (); ^ ui.c:706:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:708:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_quit () ^ ui.c:710:2: warning: implicit declaration of function 'rub' is invalid in C99 [-Wimplicit-function-declaration] rub(); ^ ui.c:711:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:716:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prboard() { ^ ui.c:748:2: warning: implicit declaration of function 'prscore' is invalid in C99 [-Wimplicit-function-declaration] prscore(TRUE); ^ ui.c:755:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:757:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] InScore (line, player, text) ^ ui.c:767:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:769:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prscore(for_real) ^ ui.c:797:3: warning: implicit declaration of function 'finalscore' is invalid in C99 [-Wimplicit-function-declaration] finalscore(pp); ^ ui.c:806:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ui.c:808:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] FlushInput () ^ ui.c:810:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 136 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] static drawIm(); ~~~~~~ ^ drawcard.c:70:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static redisplaybelow(); ~~~~~~ ^ drawcard.c:73:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] bw_init_cards() ^ drawcard.c:144:1: warning: non-void function does not return a value [-Wreturn-type] } ^ drawcard.c:145:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_cards () ^ drawcard.c:244:1: warning: non-void function does not return a value [-Wreturn-type] } ^ drawcard.c:246:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] displayCard (card, x, y) ^ drawcard.c:251:3: warning: implicit declaration of function 'cardDisplay' is invalid in C99 [-Wimplicit-function-declaration] cardDisplay (&eraseCard, x, y); ^ drawcard.c:253:3: warning: implicit declaration of function 'cardDisplay' is invalid in C99 [-Wimplicit-function-declaration] cardDisplay (&cards[card], x, y); ^ drawcard.c:255:1: warning: non-void function does not return a value [-Wreturn-type] } ^ drawcard.c:266:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cardDisplay (c, x, y) ^ drawcard.c:275:5: warning: non-void function 'cardDisplay' should return a value [-Wreturn-type] return; ^ drawcard.c:296:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ drawcard.c:299:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] drawIm (c, x, y) ^ drawcard.c:306:1: warning: non-void function does not return a value [-Wreturn-type] } ^ drawcard.c:308:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cardRedisplay (x, y, w, h) ^ drawcard.c:315:1: warning: non-void function does not return a value [-Wreturn-type] } ^ drawcard.c:318:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] redisplaybelow (d, x, y, w, h) ^ drawcard.c:337:1: warning: non-void function does not return a value [-Wreturn-type] } ^ drawcard.c:339:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cardEraseAll () ^ drawcard.c:348:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 21 warnings generated. cc -O2 -pipe -Wno-error=return-type -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' [-Wimplicit-int] static do_animate(); ~~~~~~ ^ animate.c:13:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static draw_square(); ~~~~~~ ^ animate.c:14:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static compute_position(); ~~~~~~ ^ animate.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] 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] } ^ animate.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] do_animate (ox, oy, dx, dy) ^ animate.c:145:1: warning: non-void function does not return a value [-Wreturn-type] } ^ animate.c:148:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] draw_square (x1, y1, x2, y2) ^ animate.c:159:1: warning: non-void function does not return a value [-Wreturn-type] } ^ animate.c:162:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] compute_position (player, type, arg, xp, yp) ^ animate.c:259:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 11 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=2024-04-01T07:31:11+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=a36cd930e2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' 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 Mon Apr 1 08:31:23 BST 2024 build time: 00:00:13