=>> Building games/xmines build started at Tue Mar 17 21:02:58 EDT 2026 port directory: /usr/ports/games/xmines package name: xmines-1.0_3 building for: FreeBSD pkg.DaveG.ca 15.0-RELEASE-p3 FreeBSD 15.0-RELEASE-p3 1500068 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 438 Aug 27 2024 /usr/ports/games/xmines/Makefile Ports top last git commit: 8c988f802ea2 Ports top unclean checkout: no Port dir last git commit: d56127bdfc7d Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1500068 Job Id: 11 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500068 UNAME_v=FreeBSD 15.0-RELEASE-p3 1500068 UNAME_r=15.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/11/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_0_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_0_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for xmines-1.0_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xmines/work/.cache HOME=/wrkdirs/usr/ports/games/xmines/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xmines/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xmines/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-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/xmines/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/xmines/work/.cache HOME=/wrkdirs/usr/ports/games/xmines/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/xmines/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/xmines/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xmines" EXAMPLESDIR="share/examples/xmines" DATADIR="share/xmines" WWWDIR="www/xmines" ETCDIR="etc/xmines" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xmines DOCSDIR=/usr/local/share/doc/xmines EXAMPLESDIR=/usr/local/share/examples/xmines WWWDIR=/usr/local/www/xmines ETCDIR=/usr/local/etc/xmines --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 xmines 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 ===> xmines-1.0_3 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 ===> xmines-1.0_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmines-1.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmines 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 xmines-1.0_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The xmines 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 xmines-1.0_3 for building => SHA256 Checksum OK for xmines.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 xmines 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 xmines-1.0_3 for building ===> Extracting for xmines-1.0_3 => SHA256 Checksum OK for xmines.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 xmines-1.0_3 ===> Applying FreeBSD patches for xmines-1.0_3 from /usr/ports/games/xmines/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.13,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.13,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.13,1: .......... done ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xmines-1.0_3 ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.3.0,1.pkg [pkg.DaveG.ca] Installing libXt-1.3.0,1... [pkg.DaveG.ca] `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] Extracting libXt-1.3.0,1: .......... done ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xmines-1.0_3 ===> xmines-1.0_3 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. ===> xmines-1.0_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of xmines-1.0_3 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for xmines-1.0_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for xmines-1.0_3 --- xmines.o --- --- X11.o --- --- score.o --- --- xmines.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c xmines.c --- X11.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c X11.c --- score.o --- cc -O2 -pipe -Wno-error=return-type -fstack-protector-strong -fno-strict-aliasing -DSCOREfILE=\"/var/games/scores\" -I /usr/local/include -c score.c score.c:23:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 23 | openScores() | ^ | int score.c:29:1: warning: non-void function does not return a value [-Wreturn-type] 29 | } | ^ score.c:31:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 31 | readScores() | ^ | int score.c:35:28: warning: non-void function 'readScores' should return a value [-Wreturn-mismatch] 35 | if (scoreFile == NULL) return; | ^ score.c:42:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 42 | } | ^ score.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | printScores() | ^ | int score.c:52:1: warning: non-void function does not return a value [-Wreturn-type] 52 | } | ^ score.c:54:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 54 | writeScores() | ^ | int score.c:58:28: warning: non-void function 'writeScores' should return a value [-Wreturn-mismatch] 58 | if (scoreFile == NULL) return; | ^ score.c:64:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 64 | } | ^ score.c:66:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 66 | newScore(score) | ^ | int score.c:79:22: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 79 | name = getpwuid (getuid ()) -> pw_name; | ^ score.c:81:6: warning: call to undeclared library function 'strncmp' with type 'int (const char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 81 | if (strncmp (scores[i].name, name, NAMEsIZE) == 0) { | ^ score.c:81:6: note: include the header or explicitly provide a declaration for 'strncmp' score.c:95:6: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 95 | strncpy (scores[i].name, scores[i - 1].name, NAMEsIZE - 1); | ^ score.c:95:6: note: include the header or explicitly provide a declaration for 'strncpy' score.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | newScore(score) | ^ score.c:104:1: warning: non-void function does not return a value [-Wreturn-type] 104 | } | ^ score.c:106:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 106 | print_scores() | ^ | int score.c:114:9: warning: call to undeclared function 'WriteScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 114 | WriteScore(i,s); | ^ score.c:116:1: warning: non-void function does not return a value [-Wreturn-type] 116 | } | ^ 19 warnings generated. --- X11.o --- X11.c:95:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 95 | paws() | ^ | int X11.c:100:17: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | start_time += (time(0) - pause_start); | ^ X11.c:103:16: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | pause_start = time(0); | ^ X11.c:106:5: warning: call to undeclared function 'draw_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 106 | draw_screen(); | ^ X11.c:107:1: warning: non-void function does not return a value [-Wreturn-type] 107 | } | ^ X11.c:109:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 109 | quit() | ^ | int X11.c:111:5: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | exit(1); | ^ X11.c:111:5: note: include the header or explicitly provide a declaration for 'exit' X11.c:125:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 125 | parseOptions(argc,argv) | ^ | int X11.c:145:9: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 145 | strncpy(DisplayName,value.addr,(int) value.size); | ^ X11.c:145:9: note: include the header or explicitly provide a declaration for 'strncpy' X11.c:148:18: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | sptr = getenv("HOME"); | ^ X11.c:150:5: warning: call to undeclared library function 'strncat' with type 'char *(char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); | ^ X11.c:150:5: note: include the header or explicitly provide a declaration for 'strncat' X11.c:150:55: warning: call to undeclared library function 'strlen' with type 'unsigned long (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 150 | strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); | ^ X11.c:150:55: note: include the header or explicitly provide a declaration for 'strlen' X11.c:150:36: warning: the value of the size argument in 'strncat' is too large, might lead to a buffer overflow [-Wstrncat-size] 150 | strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ X11.c:150:36: note: change the argument to be the free space in the destination buffer minus the terminating null byte 150 | strncat(filename,"/.Xdefaults",sizeof(filename) - strlen(filename)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | sizeof(filename) - strlen(filename) - 1 X11.c:161:18: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 161 | volume = atoi(buffer); | ^ X11.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | parseOptions(argc,argv) | ^ X11.c:181:1: warning: non-void function does not return a value [-Wreturn-type] 181 | } | ^ X11.c:190:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 190 | XStuff(argc,argv) | ^ | int X11.c:212:18: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | bg = getcolor("gray",background); | ^ X11.c:247:5: warning: call to undeclared function 'CreatePixmaps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 247 | CreatePixmaps(); | ^ X11.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | XStuff(argc,argv) | ^ X11.c:257:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] 257 | } | ^ X11.c:259:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 259 | CreatePixmaps() | ^ | int X11.c:267:29: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | patbg = getcolor("gray",background); | ^ X11.c:281:29: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | patfg = getcolor(colorname[i],foreground); | ^ X11.c:289:25: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | patbg = getcolor("gray",background); | ^ X11.c:296:45: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | XSetForeground(display, gc, getcolor("red",foreground)); | ^ X11.c:300:25: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | patbg = getcolor("red",foreground); | ^ X11.c:301:25: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | patfg = getcolor("black",background); | ^ X11.c:313:49: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | XSetForeground(display, gc, getcolor("gray",foreground)); | ^ X11.c:319:9: warning: call to undeclared function 'CreateMarked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 319 | CreateMarked(); | ^ X11.c:334:1: warning: non-void function does not return a value [-Wreturn-type] 334 | } | ^ X11.c:346:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 346 | CreateMarked() | ^ | int X11.c:360:45: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | XSetForeground(display, gc, getcolor("gray",foreground)); | ^ X11.c:365:21: warning: passing arguments to 'getcolor' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | patfg = getcolor("red",foreground); | ^ X11.c:371:1: warning: non-void function does not return a value [-Wreturn-type] 371 | } | ^ X11.c:373:15: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | unsigned long getcolor(s,monocolor) | ^ X11.c:55:15: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 55 | unsigned long getcolor(); | ^ X11.c:389:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 389 | CheckforEvent() | ^ | int X11.c:393:4: warning: call to undeclared function 'getXevent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 393 | getXevent(); | ^ X11.c:395:1: warning: non-void function does not return a value [-Wreturn-type] 395 | } | ^ X11.c:397:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 397 | getXevent() | ^ | int X11.c:412:21: warning: call to undeclared function 'draw_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 412 | draw_screen(); | ^ X11.c:417:17: warning: call to undeclared function 'print_scores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 417 | print_scores(); | ^ X11.c:424:17: warning: call to undeclared function 'keyboard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 424 | keyboard(text[0]); | ^ X11.c:441:25: warning: call to undeclared function 'unHighlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | unHighlight(x,y); | ^ X11.c:442:25: warning: call to undeclared function 'Highlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 442 | Highlight(newx,newy); | ^ X11.c:446:25: warning: call to undeclared function 'unhighlightInvisible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | unhighlightInvisible(x,y); | ^ X11.c:447:25: warning: call to undeclared function 'highlightInvisible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 447 | highlightInvisible(newx,newy); | ^ X11.c:463:29: warning: call to undeclared function 'ohno'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 463 | ohno(); | ^ X11.c:464:29: warning: call to undeclared function 'Highlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | Highlight(x,y); | ^ X11.c:468:29: warning: call to undeclared function 'highlightInvisible'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 468 | highlightInvisible(x,y); | ^ X11.c:489:29: warning: call to undeclared function 'Show'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 489 | Show(x,y); | ^ X11.c:492:29: warning: call to undeclared function 'fillNumbers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 492 | fillNumbers(x,y); | ^ X11.c:495:29: warning: call to undeclared function 'MarkCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 495 | MarkCell(x,y); | ^ X11.c:501:17: warning: call to undeclared function 'smiley'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 501 | smiley(); | ^ X11.c:511:1: warning: non-void function does not return a value [-Wreturn-type] 511 | } | ^ X11.c:513:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 513 | DrawButton(button) | ^ | int X11.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:528:1: warning: non-void function does not return a value [-Wreturn-type] 528 | } | ^ X11.c:530:17: warning: parameter 'my' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 530 | checkbuttons(mx,my) | ^ 531 | { X11.c:530:14: warning: parameter 'mx' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 530 | checkbuttons(mx,my) | ^ 531 | { X11.c:530:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 530 | checkbuttons(mx,my) | ^ | int X11.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:542:1: warning: non-void function does not return a value [-Wreturn-type] 542 | } | ^ X11.c:544:18: warning: parameter 'blank' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | show_high_scores(blank) | ^ 545 | { X11.c:544:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 544 | show_high_scores(blank) | ^ | int X11.c:549:5: warning: call to undeclared function 'readScores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 549 | readScores(); | ^ X11.c:555:5: warning: call to undeclared function 'draw_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | draw_screen(); | ^ X11.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | show_high_scores(blank) | ^ X11.c:85:5: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 85 | int show_high_scores(); | ^ X11.c:587:1: warning: non-void function does not return a value [-Wreturn-type] 587 | } | ^ X11.c:589:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 589 | draw_screen() | ^ | int X11.c:599:5: warning: call to undeclared function 'show_score'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 599 | show_score(1); | ^ X11.c:600:5: warning: call to undeclared function 'smiley'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | smiley(); | ^ X11.c:601:5: warning: call to undeclared function 'DrawShadow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 601 | DrawShadow(0,0,hint.width-1,hint.height-1,3); | ^ X11.c:617:9: warning: call to undeclared function 'redraw_array'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 617 | redraw_array(); | ^ X11.c:619:1: warning: non-void function does not return a value [-Wreturn-type] 619 | } | ^ X11.c:621:24: warning: parameter 'dir' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | DrawShadow(x1,y1,x2,y2,dir) | ^ 622 | { X11.c:621:21: warning: parameter 'y2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | DrawShadow(x1,y1,x2,y2,dir) | ^ 622 | { X11.c:621:18: warning: parameter 'x2' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | DrawShadow(x1,y1,x2,y2,dir) | ^ 622 | { X11.c:621:15: warning: parameter 'y1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | DrawShadow(x1,y1,x2,y2,dir) | ^ 622 | { X11.c:621:12: warning: parameter 'x1' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | DrawShadow(x1,y1,x2,y2,dir) | ^ 622 | { X11.c:621:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 621 | DrawShadow(x1,y1,x2,y2,dir) | ^ | int X11.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:650:1: warning: non-void function does not return a value [-Wreturn-type] 650 | } | ^ X11.c:652:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 652 | keyboard(c) | ^ | int X11.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:666:1: warning: non-void function does not return a value [-Wreturn-type] 666 | } | ^ X11.c:668:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 668 | redraw_array() | ^ | int X11.c:677:13: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 677 | DrawCell(j,i); | ^ X11.c:680:1: warning: non-void function does not return a value [-Wreturn-type] 680 | } | ^ X11.c:682:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 682 | DrawCell(x,y) | ^ | int X11.c:688:15: warning: call to undeclared function 'ReadCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 688 | val = ReadCell(x,y); | ^ X11.c:694:13: warning: call to undeclared function 'XDrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 694 | XDrawCell(x,y,patpix[val]); | ^ X11.c:698:13: warning: call to undeclared function 'XDrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 698 | XDrawCell(x,y,missmarkpix); | ^ X11.c:702:13: warning: call to undeclared function 'XDrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 702 | XDrawCell(x,y,boompix); | ^ X11.c:706:13: warning: call to undeclared function 'XDrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 706 | XDrawCell(x,y,markpix); | ^ X11.c:710:13: warning: call to undeclared function 'XDrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 710 | XDrawCell(x,y,coveredpix); | ^ X11.c:714:13: warning: call to undeclared function 'XDrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | XDrawCell(x,y,minepix); | ^ X11.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | DrawCell(x,y) | ^ X11.c:717:1: warning: non-void function does not return a value [-Wreturn-type] 717 | } | ^ X11.c:719:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 719 | ohno() | ^ | int X11.c:723:1: warning: non-void function does not return a value [-Wreturn-type] 723 | } | ^ X11.c:725:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 725 | smiley() | ^ | int X11.c:729:1: warning: non-void function does not return a value [-Wreturn-type] 729 | } | ^ X11.c:731:17: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 731 | DrawHighlight(x,y) | ^ 732 | { X11.c:731:15: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 731 | DrawHighlight(x,y) | ^ 732 | { X11.c:731:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 731 | DrawHighlight(x,y) | ^ | int X11.c:731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:738:1: warning: non-void function does not return a value [-Wreturn-type] 738 | } | ^ X11.c:740:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 740 | XDrawCell(x,y,pixmap) | ^ | int X11.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:746:1: warning: non-void function does not return a value [-Wreturn-type] 746 | } | ^ X11.c:748:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 748 | show_score(force) | ^ | int X11.c:756:14: warning: call to undeclared function 'getminesleft'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 756 | nmines = getminesleft(); | ^ X11.c:757:14: warning: call to undeclared function 'getscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 757 | nscore = getscore(); | ^ X11.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | show_score(force) | ^ X11.c:769:1: warning: non-void function does not return a value [-Wreturn-type] 769 | } | ^ X11.c:771:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 771 | WriteScore(i,s) | ^ | int X11.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] X11.c:779:1: warning: non-void function does not return a value [-Wreturn-type] 779 | } | ^ 121 warnings generated. --- xmines.o --- xmines.c:42:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 42 | delay(time) | ^ | int xmines.c:53:5: warning: call to undeclared function 'pause'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | pause(); | ^ xmines.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 | delay(time) | ^ xmines.c:59:1: warning: non-void function does not return a value [-Wreturn-type] 59 | } | ^ xmines.c:62:13: warning: parameter 'i' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | setdoneflag(i) | ^ 63 | { xmines.c:62:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 62 | setdoneflag(i) | ^ | int xmines.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xmines.c:65:1: warning: non-void function does not return a value [-Wreturn-type] 65 | } | ^ xmines.c:68:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 68 | setup_signals() | ^ | int xmines.c:78:49: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | fcntl(ConnectionNumber(display), F_SETOWN, getpid()); | ^ xmines.c:79:1: warning: non-void function does not return a value [-Wreturn-type] 79 | } | ^ xmines.c:81:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 81 | main(argc,argv) | ^ | int xmines.c:85:5: warning: call to undeclared function 'openScores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 85 | openScores(); | ^ xmines.c:87:5: warning: call to undeclared function 'parseOptions'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | parseOptions(argc,argv); | ^ xmines.c:91:5: warning: call to undeclared function 'XStuff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | XStuff(argc,argv); | ^ xmines.c:93:5: warning: call to undeclared function 'srandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | srandom(getpid()); | ^ xmines.c:93:13: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 93 | srandom(getpid()); | ^ xmines.c:101:9: warning: call to undeclared function 'newscreen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 101 | newscreen(); | ^ xmines.c:102:9: warning: call to undeclared function 'draw_screen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 102 | draw_screen(); | ^ xmines.c:107:6: warning: call to undeclared function 'CheckforEvent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | CheckforEvent(); | ^ xmines.c:111:3: warning: call to undeclared function 'show_score'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | show_score(0); | ^ xmines.c:117:13: warning: call to undeclared function 'newScore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | newScore(getscore()); | ^ xmines.c:117:22: warning: call to undeclared function 'getscore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 117 | newScore(getscore()); | ^ xmines.c:121:13: warning: call to undeclared function 'showallmines'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | showallmines(); | ^ xmines.c:123:9: warning: call to undeclared function 'show_high_scores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 123 | show_high_scores(0); | ^ xmines.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | main(argc,argv) | ^ xmines.c:127:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 127 | getscore() | ^ | int xmines.c:142:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 142 | getminesleft() | ^ | int xmines.c:148:12: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | cntmines(x,y) | ^ 149 | { xmines.c:148:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | cntmines(x,y) | ^ 149 | { xmines.c:148:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 148 | cntmines(x,y) | ^ | int xmines.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] xmines.c:155:10: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | Number(x,y) | ^ 156 | { xmines.c:155:8: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | Number(x,y) | ^ 156 | { xmines.c:155:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 155 | Number(x,y) | ^ | int xmines.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xmines.c:160:16: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | MissmarkCell(x,y) | ^ 161 | { xmines.c:160:14: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | MissmarkCell(x,y) | ^ 161 | { xmines.c:160:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 160 | MissmarkCell(x,y) | ^ | int xmines.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xmines.c:163:1: warning: non-void function does not return a value [-Wreturn-type] 163 | } | ^ xmines.c:165:12: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | MarkCell(x,y) | ^ 166 | { xmines.c:165:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | MarkCell(x,y) | ^ 166 | { xmines.c:165:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 165 | MarkCell(x,y) | ^ | int xmines.c:180:5: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 180 | DrawCell(x,y); | ^ xmines.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | MarkCell(x,y) | ^ xmines.c:181:1: warning: non-void function does not return a value [-Wreturn-type] 181 | } | ^ xmines.c:183:12: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | BoomCell(x,y) | ^ 184 | { xmines.c:183:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | BoomCell(x,y) | ^ 184 | { xmines.c:183:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 183 | BoomCell(x,y) | ^ | int xmines.c:186:5: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | DrawCell(x,y); | ^ xmines.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | BoomCell(x,y) | ^ xmines.c:187:1: warning: non-void function does not return a value [-Wreturn-type] 187 | } | ^ xmines.c:189:15: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | UncoverCell(x,y) | ^ 190 | { xmines.c:189:13: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | UncoverCell(x,y) | ^ 190 | { xmines.c:189:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 189 | UncoverCell(x,y) | ^ | int xmines.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xmines.c:193:1: warning: non-void function does not return a value [-Wreturn-type] 193 | } | ^ xmines.c:195:15: warning: parameter 'val' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | WriteCell(x,y,val) | ^ 196 | { xmines.c:195:13: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | WriteCell(x,y,val) | ^ 196 | { xmines.c:195:11: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | WriteCell(x,y,val) | ^ 196 | { xmines.c:195:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 195 | WriteCell(x,y,val) | ^ | int xmines.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] xmines.c:198:1: warning: non-void function does not return a value [-Wreturn-type] 198 | } | ^ xmines.c:200:12: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | ReadCell(x,y) | ^ 201 | { xmines.c:200:10: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | ReadCell(x,y) | ^ 201 | { xmines.c:200:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 200 | ReadCell(x,y) | ^ | int xmines.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xmines.c:205:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 205 | newscreen() | ^ | int xmines.c:221:17: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | x = random() % width; | ^ xmines.c:236:1: warning: non-void function does not return a value [-Wreturn-type] 236 | } | ^ xmines.c:238:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 238 | showallmines() | ^ | int xmines.c:251:21: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 251 | DrawCell(x,y); | ^ xmines.c:256:21: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | DrawCell(x,y); | ^ xmines.c:261:1: warning: non-void function does not return a value [-Wreturn-type] 261 | } | ^ xmines.c:264:13: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | Highlight(x,y) | ^ 265 | { xmines.c:264:11: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | Highlight(x,y) | ^ 265 | { xmines.c:264:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 264 | Highlight(x,y) | ^ | int xmines.c:268:9: warning: call to undeclared function 'DrawHighlight'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | DrawHighlight(x,y); | ^ xmines.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | Highlight(x,y) | ^ xmines.c:270:1: warning: non-void function does not return a value [-Wreturn-type] 270 | } | ^ xmines.c:272:15: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | unHighlight(x,y) | ^ 273 | { xmines.c:272:13: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | unHighlight(x,y) | ^ 273 | { xmines.c:272:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 272 | unHighlight(x,y) | ^ | int xmines.c:276:9: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | DrawCell(x,y); | ^ xmines.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | unHighlight(x,y) | ^ xmines.c:278:1: warning: non-void function does not return a value [-Wreturn-type] 278 | } | ^ xmines.c:289:13: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 289 | DrawCell(x,y); | ^ xmines.c:295:23: warning: passing arguments to 'fillBlanks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | fillBlanks(x,y); | ^ xmines.c:296:13: warning: call to undeclared function 'DrawCell'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 296 | DrawCell(x,y); | ^ xmines.c:281:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | void Show(x,y) | ^ xmines.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | fillBlanks( x, y ) | ^ xmines.c:12:6: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 12 | void fillBlanks(); | ^ xmines.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | highlightInvisible(x,y) | ^ xmines.c:324:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 324 | unhighlightInvisible(x,y) | ^ | int xmines.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] xmines.c:329:1: warning: non-void function does not return a value [-Wreturn-type] 329 | } | ^ xmines.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | foundMines(x,y) | ^ xmines.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | fillNumbers( x, y ) | ^ 99 warnings generated. --- xmines --- cc -L /usr/local/lib -o xmines xmines.o score.o X11.o -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xmines-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for xmines-1.0_3 ===> Generating temporary packing list mkdir -p /wrkdirs/usr/ports/games/xmines/work/stage/var/games install -m 0644 scores/scores /wrkdirs/usr/ports/games/xmines/work/stage/var/games/xmines-scores.sample install -s -m 555 xmines /wrkdirs/usr/ports/games/xmines/work/stage/usr/local/bin install -m 0644 /wrkdirs/usr/ports/games/xmines/work/xmines/README /wrkdirs/usr/ports/games/xmines/work/stage/usr/local/share/doc/xmines ====> 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-18T01:02:58+0000' 'PKG_NOTE_ports_top_git_hash=8c988f802ea2' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=d56127bdfc7d' '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 xmines-1.0_3 ===> Building xmines-1.0_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for xmines-1.0_3 build of games/xmines | xmines-1.0_3 ended at Tue Mar 17 21:03:04 EDT 2026 build time: 00:00:07