=>> Building games/wanderer build started at Fri Dec 12 14:40:07 EST 2025 port directory: /usr/ports/games/wanderer package name: wanderer-3.2_2 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: catskillmarina@gmail.com Makefile datestamp: -rw-r--r-- 1 root wheel 700 Mar 7 2025 /usr/ports/games/wanderer/Makefile Ports top last git commit: 62d8b1999233 Ports top unclean checkout: no Port dir last git commit: 65e7453fc24e Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 12 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 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_13_5_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_13_5_x64-HEAD-ALL/12/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- catskillmarina@gmail.com --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/wanderer/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/wanderer/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/wanderer/work/.cache HOME=/wrkdirs/usr/ports/games/wanderer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/wanderer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/wanderer/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-- MKDIR="/bin/mkdir -p" XDG_DATA_HOME=/wrkdirs/usr/ports/games/wanderer/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/wanderer/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/wanderer/work/.cache HOME=/wrkdirs/usr/ports/games/wanderer/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/wanderer/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/wanderer/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-return-type -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/wanderer" EXAMPLESDIR="share/examples/wanderer" DATADIR="share/wanderer" WWWDIR="www/wanderer" ETCDIR="etc/wanderer" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/wanderer DOCSDIR=/usr/local/share/doc/wanderer EXAMPLESDIR=/usr/local/share/examples/wanderer WWWDIR=/usr/local/www/wanderer ETCDIR=/usr/local/etc/wanderer --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 --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> wanderer-3.2_2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.4.2_1.pkg [pkg.DaveG.ca] Installing pkg-2.4.2_1... [pkg.DaveG.ca] Extracting pkg-2.4.2_1: .......... done ===> wanderer-3.2_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of wanderer-3.2_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by wanderer-3.2_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by wanderer-3.2_2 for building => SHA256 Checksum OK for wanderer-3.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by wanderer-3.2_2 for building ===> Extracting for wanderer-3.2_2 => SHA256 Checksum OK for wanderer-3.2.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 wanderer-3.2_2 ===> Applying FreeBSD patches for wanderer-3.2_2 from /usr/ports/games/wanderer/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> wanderer-3.2_2 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. ===> wanderer-3.2_2 depends on file: /usr/local/bin/ccache - found ===> Returning to build of wanderer-3.2_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for wanderer-3.2_2 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for wanderer-3.2_2 --- monsters.o --- --- m.o --- --- save.o --- --- jump.o --- --- display.o --- --- icon.o --- --- game.o --- --- read.o --- --- help.o --- --- fall.o --- --- scores.o --- --- edit.o --- --- encrypt.o --- --- monsters.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c monsters.c -o monsters.o --- m.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c m.c -o m.o --- save.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c save.c -o save.o --- jump.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c jump.c -o jump.o --- display.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c display.c -o display.o --- icon.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c icon.c -o icon.o --- game.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c game.c -o game.o --- read.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c read.c -o read.o --- help.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c help.c -o help.o --- fall.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c fall.c -o fall.o --- scores.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c scores.c -o scores.o --- edit.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c edit.c -o edit.o --- encrypt.o --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -c encrypt.c -o encrypt.o --- save.o --- In file included from save.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ save.c:59:41: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if ((char *)NULL == (fp = getenv("SAVENAME"))) | ^ save.c:64:23: warning: passing arguments to 'readstring' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | readstring(fname,127); | ^ save.c:95:23: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | inform_me(buf,0); | ^ save.c:97:14: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | unlink(fname); | ^ save.c:109:26: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | inform_me(buf); | ^ save.c:111:17: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | unlink(fname); | ^ save.c:118:19: warning: passing arguments to 'crypt_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | crypt_file(fp,0); /* encrpyt the saved game */ | ^ save.c:126:9: 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] 126 | exit(0); | ^ save.c:126:9: note: include the header or explicitly provide a declaration for 'exit' save.c:49:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | void save_game(num, score, bell, maxmoves) | ^ In file included from save.c:23: ./wand_head.h:220:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 220 | extern void save_game(); | ^ save.c:143:37: warning: passing arguments to 'getenv' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | if ((char *)NULL == (fp = getenv("SAVENAME"))) | ^ save.c:158:16: warning: passing arguments to 'crypt_file' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | crypt_file(fp,1); /* decrypt it */ | ^ save.c:190:9: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | free(tmp); | ^ save.c:190:9: note: include the header or explicitly provide a declaration for 'free' save.c:209:57: warning: passing arguments to 'make_monster' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if ((struct mon_rec *)NULL == (mp = make_monster(0, 0))) | ^ save.c:235:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 235 | unlink(fp); | ^ save.c:132:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | void restore_game(num, score, bell, maxmoves) | ^ In file included from save.c:23: ./wand_head.h:221:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 221 | extern void restore_game(); | ^ 19 warnings generated. --- display.o --- In file included from display.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ ./wand_head.h:190:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 190 | extern void map(); | ^ display.c:37:6: note: conflicting prototype is here 37 | void map(char (*row_ptr)[ROWLEN+1]); | ^ In file included from display.c:23: ./wand_head.h:191:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 191 | extern void display(); | ^ display.c:38:6: note: conflicting prototype is here 38 | void display(int cx, int cy, char (*row_ptr)[ROWLEN+1], long score); | ^ display.c:143:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | draw_symbol(x_coord,y_coord,'#'); | ^ display.c:147:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | draw_symbol(x_coord,y_coord,ch); | ^ display.c:206:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 206 | (void) sprintf(buffer,"%d\t %d\t %d ",score,nf,diamonds); | ~~ ^~~~~ | %ld display.c:223:20: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | draw_symbol(50,11,'M'); | ^ display.c:227:20: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | draw_symbol(50,11,' '); | ^ display.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void redraw_screen(bell,maxmoves,num,score,nf,diamonds,mx,sx,sy,frow) | ^ 10 warnings generated. --- jump.o --- In file included from jump.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ jump.c:33:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | int scrn_passwd(num, passwd) /* reads password num into passwd */ | ^ In file included from jump.c:23: ./wand_head.h:210:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 210 | extern int scrn_passwd(); | ^ jump.c:56:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | void showpass(num) | ^ In file included from jump.c:23: ./wand_head.h:211:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 211 | extern void showpass(); | ^ jump.c:206:5: warning: call to undeclared function 'usleep'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | usleep(750000); /* Marina */ | ^ jump.c:93:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | int jumpscreen(num) | ^ In file included from jump.c:23: ./wand_head.h:212:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 212 | extern int jumpscreen(); | ^ 9 warnings generated. --- help.o --- In file included from help.c:4: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ help.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | helpme(htype) /* routine to show help menu. */ | ^ 3 warnings generated. --- m.o --- In file included from m.c:25: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ m.c:62:9: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 62 | while(read(fd,ptr,1)==1) | ^ m.c:98:20: warning: call to undeclared function 'tgetnum'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | maxlines = tgetnum("li") - 3; | ^ m.c:123:26: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 123 | select(1,&inp,&nul,&nul,&tv); | ^~~~ /usr/include/sys/select.h:103:25: note: passing argument to parameter here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ m.c:123:31: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 123 | select(1,&inp,&nul,&nul,&tv); | ^~~~ /usr/include/sys/select.h:103:35: note: passing argument to parameter here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ m.c:123:36: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types] 123 | select(1,&inp,&nul,&nul,&tv); | ^~~~ /usr/include/sys/select.h:103:45: note: passing argument to parameter here 103 | int select(int, fd_set *, fd_set *, fd_set *, struct timeval *); | ^ m.c:125:21: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | read(0,&ch,1); | ^ m.c:79:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | void show_credits(opt) | ^ m.c:167:33: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] 167 | endchar='\0'; | ^~~~ m.c:204:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 204 | main(int argc,char **argv) | ^ | int m.c:220:13: warning: call to undeclared function 'getopt'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | while(( c = getopt(argc,argv,"01k:et:r:fmCcvsi")) != -1 ) | ^ m.c:242:26: warning: passing arguments to 'savescore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | savescore("-",-1,-1,"-"); /* savescore bug ! */ | ^ m.c:259:24: warning: passing arguments to 'rscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | rscreen(0,&maxmoves); | ^ m.c:261:20: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | map(frow); | ^ m.c:276:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | close(fp); | ^ m.c:285:5: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 285 | close(fp); | ^ m.c:298:24: warning: passing arguments to 'rscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 298 | if (rscreen(num,&maxmoves)) | ^ m.c:303:30: warning: passing arguments to 'playscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | dead = playscreen(&num,&score,&bell,maxmoves,keys); | ^ m.c:318:15: warning: passing arguments to 'rscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | if(rscreen(num,&maxmoves)) | ^ m.c:324:15: warning: passing arguments to 'editscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | editscreen(num,&score,&bell,maxmoves,keys); | ^ m.c:338:58: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 337 | printf("%s killed by %s with a score of %d on level %d.\n", | ~~ | %ld 338 | name,howdead,score,num); | ^~~~~ m.c:340:22: warning: passing arguments to 'savescore' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | if((savescore(howdead,score,num,name) == 0)&&(score != 0)) | ^ m.c:351:9: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | close(record_file); | ^ 24 warnings generated. --- icon.o --- In file included from icon.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ icon.c:28:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | void draw_symbol(x,y,ch) /* this is where the pretty graphics are */ | ^ In file included from icon.c:23: ./wand_head.h:207:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 207 | extern void draw_symbol(); | ^ 4 warnings generated. --- encrypt.o --- In file included from encrypt.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ encrypt.c:28:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 28 | crypt_file(name) | ^ | int encrypt.c:38:9: 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] 38 | exit(1); | ^ encrypt.c:38:9: note: include the header or explicitly provide a declaration for 'exit' encrypt.c:40:14: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 40 | if((length = read(fd,buffer,1024)) < 1) { | ^ encrypt.c:46:1: warning: call to undeclared function 'close'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 46 | close(fd); | ^ encrypt.c:53:1: warning: call to undeclared function 'srand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 53 | srand(BLURFL); | ^ encrypt.c:55:23: warning: call to undeclared function 'rand'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | buffer[loop]^=rand(); | ^ encrypt.c:63:4: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 63 | if(write(fd,buffer,length)!=length) { | ^ encrypt.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | crypt_file(name) | ^ 10 warnings generated. --- scores.o --- In file included from scores.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ scores.c:31:48: warning: '/*' within block comment [-Wcomment] 31 | /*#define LOCK flock( fp->_cnt , LOCK_EX ) /* peeked at stdio.h ! */ | ^ scores.c:32:48: warning: '/*' within block comment [-Wcomment] 32 | /*#define UNLOCK flock( fp->_cnt , LOCK_UN ) /* */ | ^ scores.c:72: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] 72 | void show_scores(); | ^ scores.c:80:6: note: conflicting prototype is here 80 | void show_scores(score_entry *table,int num) | ^ scores.c:73: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] 73 | int readtable(); | ^ scores.c:99:5: note: conflicting prototype is here 99 | int readtable(score_entry *table_ptr) | ^ In file included from scores.c:23: ./wand_head.h:224:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 224 | extern int savescore(); | ^ scores.c:121:6: note: conflicting prototype is here 121 | int savescore(char *howdead,int score,int level,char *name) | ^ scores.c:156:5: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | LOCK; /* BUG is HERE !!! */ | ^ scores.c:35:81: note: expanded from macro 'LOCK' 35 | #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ | ^ scores.c:156: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] scores.c:35:125: note: expanded from macro 'LOCK' 35 | #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ | ^ scores.c:156:5: note: include the header or explicitly provide a declaration for 'exit' scores.c:35:125: note: expanded from macro 'LOCK' 35 | #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ | ^ scores.c:167:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 167 | UNLOCK; | ^ scores.c:37:16: note: expanded from macro 'UNLOCK' 37 | #define UNLOCK unlink(LOCKFILE) | ^ scores.c:204:12: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 204 | UNLOCK; | ^ scores.c:37:16: note: expanded from macro 'UNLOCK' 37 | #define UNLOCK unlink(LOCKFILE) | ^ scores.c:243:9: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 243 | chmod(HISCOREPATH,0666); | ^ scores.c:252:9: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 252 | err(1,"%s","Error in savescore - fopen HISCOREPATH failed\n"); | ^ scores.c:254:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 254 | UNLOCK; | ^ scores.c:37:16: note: expanded from macro 'UNLOCK' 37 | #define UNLOCK unlink(LOCKFILE) | ^ In file included from scores.c:23: ./wand_head.h:225:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 225 | extern void delete_entry(); | ^ scores.c:262:6: note: conflicting prototype is here 262 | void delete_entry(int num) | ^ scores.c:270:5: warning: call to undeclared function 'errx'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 270 | LOCK; | ^ scores.c:35:81: note: expanded from macro 'LOCK' 35 | #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ | ^ scores.c:274:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 274 | UNLOCK; | ^ scores.c:37:16: note: expanded from macro 'UNLOCK' 37 | #define UNLOCK unlink(LOCKFILE) | ^ scores.c:279:9: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 279 | UNLOCK; | ^ scores.c:37:16: note: expanded from macro 'UNLOCK' 37 | #define UNLOCK unlink(LOCKFILE) | ^ scores.c:299:9: warning: call to undeclared function 'chmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 299 | chmod(HISCOREPATH,0666); | ^ scores.c:308:9: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 308 | err(1, "%s", "Could not open Scorefile\n"); | ^ scores.c:309:5: warning: call to undeclared function 'unlink'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | UNLOCK; | ^ scores.c:37:16: note: expanded from macro 'UNLOCK' 37 | #define UNLOCK unlink(LOCKFILE) | ^ scores.c:317:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 317 | erase_scores() | ^ | int 22 warnings generated. --- read.o --- In file included from read.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ read.c:61:18: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | inform_me(buffer,0); | ^ read.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int rscreen(num,maxmoves) | ^ In file included from read.c:23: ./wand_head.h:216:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | extern int rscreen(); | ^ read.c:73:9: warning: array index 61 is past the end of the array (that has type 'char[61]') [-Warray-bounds] 73 | screen_name[61] = '\0'; | ^ ~~ read.c:31:1: note: array 'screen_name' declared here 31 | extern char screen_name[61]; | ^ read.c:100:39: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 100 | sprintf(name,"/tmp/screen.%d",getpid()); | ^ read.c:104:22: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | inform_me(buffer,0); | ^ read.c:107:13: warning: call to undeclared function 'err'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | err(1,"Could not open %s.\n",buffer); | ^ read.c:111:18: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | inform_me("File for screen cannot be written.",0) ; | ^ read.c:85:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | int wscreen(num,maxmoves) | ^ In file included from read.c:23: ./wand_head.h:217:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 217 | extern int wscreen(); | ^ 12 warnings generated. --- monsters.o --- In file included from monsters.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ monsters.c:54:11: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration] 54 | char *malloc(); | ^ monsters.c:54:11: note: 'malloc' is a builtin with type 'void *(unsigned long)' monsters.c:59:28: warning: passing arguments to 'malloc' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | if((last_of_list = MALLOC) == NULL) | ^ monsters.c:55:44: note: expanded from macro 'MALLOC' 55 | #define MALLOC (struct mon_rec *)malloc(sizeof(struct mon_rec)) | ^ monsters.c:51:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | struct mon_rec *make_monster(x,y) | ^ In file included from monsters.c:23: ./wand_head.h:203:25: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 203 | extern struct mon_rec *make_monster(); | ^ monsters.c:79:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | direction new_direction(x,y,bx,by) | ^ monsters.c:30:11: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 30 | direction new_direction(); | ^ monsters.c:134:20: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | draw_symbol(50,11,' '); | ^ monsters.c:151:28: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | draw_symbol((*mxp-sx+5)*3,(*myp-sy+3)*2,' '); | ^ monsters.c:180:28: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | draw_symbol((*mxp-sx+5)*3,(*myp-sy+3)*2,'M'); | ^ monsters.c:211:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | draw_symbol((monster->x-sx+5)*3,(monster->y-sy+3)*2,monster->under); | ^ monsters.c:219:31: warning: passing arguments to 'check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | deadyet+=check(&*mxp,&*myp,monster->x,monster->y,new_disp.d[0],new_disp.d[1],sx,sy,howdead); | ^ monsters.c:232:28: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | draw_symbol((monster->x-sx+5)*3,(monster->y-sy+3)*2,'S'); | ^ monsters.c:272:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | draw_symbol((monster->x-sx+5)*3,(monster->y-sy+3)*2,'*'); | ^ monsters.c:115:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | int move_monsters(mxp, myp, score, howdead, sx, sy, nf, bell, x, y, diamonds) | ^ 16 warnings generated. --- edit.o --- In file included from edit.c:24: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ edit.c:65:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 65 | check_legality() | ^ | int edit.c:102:21: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | if(inform_me(buf,1)) return; | ^ edit.c:106:21: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | if(inform_me("++++ Warning: Too many teleports",1)) return; | ^ edit.c:111:25: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | if(inform_me("**** No arrivals without teleports.",1)) return; | ^ edit.c:112:28: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | } else if(inform_me("**** Too many arrivals.",1)) return; | ^ edit.c:116:21: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | if(inform_me("**** No arrival for teleport.",1)) return; | ^ edit.c:121:25: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | if(inform_me("**** No start position.",1)) return; | ^ edit.c:122:28: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | } else if(inform_me("**** Too many start positions.",1))return; | ^ edit.c:126:21: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | if(inform_me("**** Too many monsters.",1))return; | ^ edit.c:131:25: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | if(inform_me("**** No exit to screen.",1))return; | ^ edit.c:132:28: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | } else if(inform_me("++++ Warning: Too many exits.",1))return; | ^ edit.c:136:21: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | if(inform_me(buf,1)) return; | ^ edit.c:140:29: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | if( ercount == 0 ) inform_me("---- Screen OK.",0); | ^ edit.c:143:14: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | inform_me(buf,0); | ^ edit.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | void readstring(str,size) | ^ edit.c:182:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 182 | clearbottom() | ^ | int edit.c:226:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 226 | screen_save(maxmoves) | ^ | int edit.c:250:8: warning: passing arguments to 'wscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | wscreen(0,maxmoves); | ^ edit.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | screen_save(maxmoves) | ^ edit.c:260:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 260 | screen_read(maxmoves) | ^ | int edit.c:277:12: warning: passing arguments to 'rscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | rscreen(0,maxmoves); | ^ edit.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | screen_read(maxmoves) | ^ edit.c:288:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 288 | edit_save() | ^ | int edit.c:299:18: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | inform_me("File cannot be opened for writing.",0); | ^ edit.c:301:13: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 301 | i = write(fd, edit_memory, (int)(memory_end - edit_memory)); | ^ edit.c:302:26: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | if( i < 0 ) inform_me("Write error on file.",0); | ^ edit.c:310:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 310 | edit_restore() | ^ | int edit.c:322:14: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 322 | inform_me("File cannot be opened for reading.",0); | ^ edit.c:324:9: warning: call to undeclared function 'read'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 324 | i = read(fd, edit_memory, EMSIZE); | ^ edit.c:325:26: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | if( i < 0 ) inform_me("Read error on file.",0); | ^ edit.c:326:27: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | if( i == 0 ) inform_me("File empty.",0); | ^ edit.c:329:18: warning: passing arguments to 'inform_me' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | inform_me(file,0); | ^ edit.c:375:8: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | map(frow); | ^ edit.c:479:33: warning: passing arguments to 'playscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | howdead = playscreen(&num,score,bell,maxmoves,keys); | ^ edit.c:492:16: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | map(frow); | ^ edit.c:511:12: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | map(frow); | ^ edit.c:520:12: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | map(frow); | ^ edit.c:537:15: warning: passing arguments to 'helpme' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | helpme(0); | ^ edit.c:542:12: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | map(frow); | ^ edit.c:595:16: warning: passing arguments to 'wscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | wscreen(num,maxmoves); | ^ edit.c:340:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | void editscreen(num,score,bell,maxmoves,keys) | ^ In file included from edit.c:24: ./wand_head.h:196:14: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 196 | extern void editscreen(); | ^ edit.c:459:9: warning: array index 61 is past the end of the array (that has type 'char[61]') [-Warray-bounds] 459 | screen_name[61] = '\0'; | ^ ~~ edit.c:35:1: note: array 'screen_name' declared here 35 | extern char screen_name[61]; | ^ 45 warnings generated. --- fall.o --- In file included from fall.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ fall.c:43:14: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | ret+=fall(mx,my,x,y,sx,sy,howdead); | ^ fall.c:44:14: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | ret+=fall(mx,my,x-dx,y-dy,sx,sy,howdead); | ^ fall.c:45:14: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | ret+=fall(mx,my,x-dy,y-dx,sx,sy,howdead); | ^ fall.c:46:14: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | ret+=fall(mx,my,x+dy,y+dx,sx,sy,howdead); | ^ fall.c:47:14: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | ret+=fall(mx,my,x-dx-dy,y-dy-dx,sx,sy,howdead); | ^ fall.c:48:14: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | ret+=fall(mx,my,x-dx+dy,y-dy+dx,sx,sy,howdead); | ^ fall.c:38:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | int check(mx,my,x,y,dx,dy,sx,sy,howdead) | ^ In file included from fall.c:23: ./wand_head.h:199:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 199 | extern int check(); | ^ fall.c:155:18: warning: call to undeclared function 'bang'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | retval = bang(nx,y,mx,my,sx,sy,howdead); | ^ fall.c:162:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | draw_symbol((x-sx+5)*3,(y-sy+2)*2,' '); | ^ fall.c:164:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | draw_symbol((nx-sx+5)*3,(y-sy+3)*2,'O'); | ^ fall.c:207:18: warning: call to undeclared function 'bang'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 207 | retval = bang(x,nyr,mx,my,sx,sy,howdead); | ^ fall.c:214:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | draw_symbol((x-sx+6)*3,(y-sy+3)*2,' '); | ^ fall.c:216:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | draw_symbol((x-sx+5)*3,(nyr-sy+3)*2,'<'); | ^ fall.c:259:18: warning: call to undeclared function 'bang'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 259 | retval = bang(x,nyr,mx,my,sx,sy,howdead); | ^ fall.c:266:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | draw_symbol((x-sx+4)*3,(y-sy+3)*2,' '); | ^ fall.c:268:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | draw_symbol((x-sx+5)*3,(nyl-sy+3)*2,'>'); | ^ fall.c:304:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | draw_symbol((x-sx+5)*3,(y-sy+4)*2,' '); | ^ fall.c:306:24: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | draw_symbol((nxu-sx+5)*3,(y-sy+3)*2,'^'); | ^ fall.c:347:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | draw_symbol((2*nx-x-sx+5)*3,(2*ny-y-sy+3)*2,' '); | ^ fall.c:349:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,'~'); | ^ fall.c:351:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,screen[ny][nx]); | ^ fall.c:58:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | int fall(mx,my,x,y,sx,sy,howdead) | ^ In file included from fall.c:23: ./wand_head.h:200:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 200 | extern int fall(); | ^ fall.c:395:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | draw_symbol((x+bb-sx+5)*3,(y+ba-sy+3)*2,'%'); | ^ fall.c:417:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | draw_symbol((x+bb-sx+5)*3,(y+ba-sy+3)*2,' '); | ^ fall.c:374:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | int bang(x,y,mx,my,sx,sy,howdead) /* explosion centre x,y */ | ^ 29 warnings generated. --- game.o --- In file included from game.c:23: ./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment] 60 | /* #define COMPARE_BY_NAME /* define this to compare by name, not uid */ | ^ ./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment] 61 | /* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */ | ^ ./wand_head.h:204: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 declaration [-Wdeprecated-non-prototype] 204 | extern char *playscreen(); | ^ game.c:40:7: note: conflicting prototype is here 40 | char *playscreen(int *num, long *score, int *bell, int maxmoves,char keys[10]); | ^ game.c:111:39: warning: passing arguments to 'make_monster' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | if((monster = make_monster(x,y)) == NULL) | ^ game.c:152:18: warning: passing arguments to 'redraw_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | redraw_screen(bell,maxmoves,*num,*score,nf,diamonds,mx,sx,sy,frow); | ^ game.c:173:46: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 173 | if((record_file != -1)&&(ch != 'q')) write(record_file,&ch,1); | ^ game.c:209:36: warning: passing arguments to 'jumpscreen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | if((newnum = jumpscreen(*num)) == 0) | ^ game.c:225:16: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | map(frow); | ^ game.c:226:20: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | display(sx,sy,frow,*score); | ^ game.c:236:13: warning: call to undeclared function 'helpme'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 236 | helpme(1); | ^ game.c:238:20: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | map(frow); | ^ game.c:240:24: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | display(sx,sy,frow,*score); | ^ game.c:247:20: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | display(sx,sy,frow,*score); | ^ game.c:254:24: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | map(frow); | ^ game.c:264:28: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | display(sx,sy,frow,*score); | ^ game.c:270:26: warning: passing arguments to 'redraw_screen' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | redraw_screen(bell,maxmoves,*num,*score,nf,diamonds,mx,sx,sy,frow); | ^ game.c:362:26: warning: passing arguments to 'save_game' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | save_game(*num, score, bell, maxmoves, &start_of_list,tail_of_list); | ^ game.c:369:29: warning: passing arguments to 'restore_game' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | restore_game(num,score,bell,&maxmoves,&start_of_list,&tail_of_list); | ^ game.c:403:42: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 403 | sprintf(buffer,"%d\t %d",*score,nf); | ~~ ^~~~~~ | %ld game.c:410:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:411:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,'@'); | ^ game.c:420:33: warning: passing arguments to 'check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | deadyet += check(&mx,&my,x,y,nx-x,ny-y,sx,sy,howdead); | ^ game.c:434:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 434 | sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds); | ~~ ^~~~~~ | %ld game.c:436:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | draw_symbol(50,11,' '); | ^ game.c:449:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:450:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,'@'); | ^ game.c:452:40: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | draw_symbol((nx*2-x-sx+5)*3,(y-sy+3)*2,'O'); | ^ game.c:463:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | deadyet += fall(&mx,&my,nx*2-x,y+1,sx,sy,howdead); | ^ game.c:464:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | deadyet += fall(&mx,&my,x*2-nx,y,sx,sy,howdead); | ^ game.c:465:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | deadyet += fall(&mx,&my,x,y,sx,sy,howdead); | ^ game.c:466:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 466 | deadyet += fall(&mx,&my,x,y-1,sx,sy,howdead); | ^ game.c:467:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | deadyet += fall(&mx,&my,x,y+1,sx,sy,howdead); | ^ game.c:483:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:484:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,'@'); | ^ game.c:486:40: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | draw_symbol((nx*2-x-sx+5)*3,(y-sy+3)*2,'^'); | ^ game.c:497:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | deadyet += fall(&mx,&my,nx*2-x,y-1,sx,sy,howdead); | ^ game.c:498:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 498 | deadyet += fall(&mx,&my,x*2-nx,y,sx,sy,howdead); | ^ game.c:499:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 499 | deadyet += fall(&mx,&my,x,y,sx,sy,howdead); | ^ game.c:500:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | deadyet += fall(&mx,&my,x,y+1,sx,sy,howdead); | ^ game.c:501:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | deadyet += fall(&mx,&my,x,y-1,sx,sy,howdead); | ^ game.c:517:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 517 | sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds); | ~~ ^~~~~~ | %ld game.c:519:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | draw_symbol(50,11,' '); | ^ game.c:532:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:533:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,'@'); | ^ game.c:535:40: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 535 | draw_symbol((x-sx+5)*3,(ny*2-y-sy+3)*2,screen[ny*2-y][x]); | ^ game.c:546:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | deadyet += fall(&mx,&my,x,y,sx,sy,howdead); | ^ game.c:547:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | deadyet += fall(&mx,&my,x-1,(ny>y)?y:(y-1),sx,sy,howdead); | ^ game.c:548:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | deadyet += fall(&mx,&my,x+1,(ny>y)?y:(y-1),sx,sy,howdead); | ^ game.c:549:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | deadyet += fall(&mx,&my,x-1,ny*2-y,sx,sy,howdead); | ^ game.c:550:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | deadyet += fall(&mx,&my,x+1,ny*2-y,sx,sy,howdead); | ^ game.c:565:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 565 | sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds); | ~~ ^~~~~~ | %ld game.c:567:32: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | draw_symbol(50,11,' '); | ^ game.c:580:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:581:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,'@'); | ^ game.c:583:40: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | draw_symbol((nx*2-x-sx+5)*3,(ny*2-y-sy+3)*2,'~'); | ^ game.c:594:37: warning: passing arguments to 'check' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | deadyet += check(&mx,&my,x,y,nx-x,ny-y,sx,sy,howdead); | ^ game.c:604:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:605:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | draw_symbol((nx-sx+5)*3,(ny-sy+3)*2,'%'); | ^ game.c:621:29: warning: passing arguments to 'showpass' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | showpass(*num); | ^ game.c:639:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] 639 | sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds); | ~~ ^~~~~~ | %ld game.c:642:32: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 642 | display(sx,sy,frow,*score); | ^ game.c:644:28: warning: passing arguments to 'map' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | map(frow); | ^ game.c:645:36: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | deadyet += fall(&mx,&my,nx,ny,sx,sy,howdead); | ^ game.c:647:39: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | deadyet = fall(&mx,&my,lx,ly,sx,sy,howdead); | ^ game.c:649:39: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | deadyet = fall(&mx,&my,lx+1,ly-1,sx,sy,howdead); | ^ game.c:651:39: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | deadyet = fall(&mx,&my,lx+1,ly+1,sx,sy,howdead); | ^ game.c:653:39: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | deadyet = fall(&mx,&my,lx-1,ly+1,sx,sy,howdead); | ^ game.c:655:39: warning: passing arguments to 'fall' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | deadyet = fall(&mx,&my,lx-1,ly-1,sx,sy,howdead); | ^ game.c:669:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:682:36: warning: passing arguments to 'draw_symbol' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | draw_symbol((x-sx+5)*3,(y-sy+3)*2,' '); | ^ game.c:713:24: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | display(sx,sy,frow,*score); | ^ game.c:720:24: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 720 | display(sx,sy,frow,*score); | ^ game.c:727:24: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 727 | display(sx,sy,frow,*score); | ^ game.c:734:24: warning: passing arguments to 'display' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | display(sx,sy,frow,*score); | ^ game.c:738:33: warning: passing arguments to 'move_monsters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | deadyet += move_monsters(&mx,&my,score,howdead,sx,sy,nf,*bell,x,y,diamonds); | ^ 75 warnings generated. --- wanderer --- cc -O2 -pipe -Wno-return-type -fstack-protector-strong -fno-strict-aliasing -o wanderer monsters.o m.o save.o jump.o display.o icon.o game.o read.o help.o fall.o scores.o edit.o encrypt.o -lncurses --- all --- DONE =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for wanderer-3.2_2 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/games/wanderer/work/stage/usr/local/share/wanderer /bin/mkdir -p /wrkdirs/usr/ports/games/wanderer/work/stage/usr/local/share/wanderer/screens install -m 0644 ./screens/* /wrkdirs/usr/ports/games/wanderer/work/stage/usr/local/share/wanderer/screens/ install -s -m 555 ./wanderer /wrkdirs/usr/ports/games/wanderer/work/stage/usr/local/bin/ install -m 0644 wanderer.6 /wrkdirs/usr/ports/games/wanderer/work/stage/usr/local/share/man/man6/ ====> 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=2025-12-12T19:40:07+0000' 'PKG_NOTE_ports_top_git_hash=62d8b1999233' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=65e7453fc24e' '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 wanderer-3.2_2 ===> Building wanderer-3.2_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for wanderer-3.2_2 build of games/wanderer | wanderer-3.2_2 ended at Fri Dec 12 14:40:18 EST 2025 build time: 00:00:15