=>> Building games/spellcast build started at Tue Sep 30 19:38:25 EDT 2025 port directory: /usr/ports/games/spellcast package name: spellcast-1.2_3 building for: FreeBSD pkg.DaveG.ca 15.0-ALPHA3 FreeBSD 15.0-ALPHA3 1500064 amd64 maintained by: bofh@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 889 Oct 16 2024 /usr/ports/games/spellcast/Makefile Ports top last git commit: a936fb9b16ba Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500064 Jail OSVERSION: 1500064 Job Id: 10 ---Begin Environment--- SHELL=/bin/sh OSVERSION=1500064 UNAME_v=FreeBSD 15.0-ALPHA3 1500064 UNAME_r=15.0-ALPHA3 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_c_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_c_x64-HEAD-ALL/10/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_15_c_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_15_c_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 spellcast-1.2_3: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- bofh@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/spellcast/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spellcast/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/spellcast/work/.cache HOME=/wrkdirs/usr/ports/games/spellcast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spellcast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/spellcast/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/spellcast/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/spellcast/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/spellcast/work/.cache HOME=/wrkdirs/usr/ports/games/spellcast/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/spellcast/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/spellcast/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 -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/spellcast" EXAMPLESDIR="share/examples/spellcast" DATADIR="share/spellcast" WWWDIR="www/spellcast" ETCDIR="etc/spellcast" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/spellcast DOCSDIR=/usr/local/share/doc/spellcast EXAMPLESDIR=/usr/local/share/examples/spellcast WWWDIR=/usr/local/www/spellcast ETCDIR=/usr/local/etc/spellcast --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 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spellcast-1.2_3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.3.1.pkg [pkg.DaveG.ca] Installing pkg-2.3.1... [pkg.DaveG.ca] Extracting pkg-2.3.1: .......... done ===> spellcast-1.2_3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of spellcast-1.2_3 =========================================================================== =================================================== ===== 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 spellcast-1.2_3 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by spellcast-1.2_3 for building => SHA256 Checksum OK for spellcast.tar.Z. =========================================================================== =================================================== ===== 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 spellcast-1.2_3 for building ===> Extracting for spellcast-1.2_3 => SHA256 Checksum OK for spellcast.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for spellcast-1.2_3 ===> Applying FreeBSD patches for spellcast-1.2_3 from /usr/ports/games/spellcast/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spellcast-1.2_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.8.12,1.pkg [pkg.DaveG.ca] Installing libX11-1.8.12,1... [pkg.DaveG.ca] `-- Installing libxcb-1.17.0... [pkg.DaveG.ca] | `-- Installing libXau-1.0.12... [pkg.DaveG.ca] | `-- Extracting libXau-1.0.12: .......... done [pkg.DaveG.ca] | `-- Installing libXdmcp-1.1.5... [pkg.DaveG.ca] | | `-- Installing xorgproto-2024.1... [pkg.DaveG.ca] | | `-- Extracting xorgproto-2024.1: .......... done [pkg.DaveG.ca] | `-- Extracting libXdmcp-1.1.5: ...... done [pkg.DaveG.ca] `-- Extracting libxcb-1.17.0: .......... done [pkg.DaveG.ca] Extracting libX11-1.8.12,1: .......... done ===> spellcast-1.2_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of spellcast-1.2_3 ===> spellcast-1.2_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. ===> spellcast-1.2_3 depends on file: /usr/local/bin/ccache - found ===> Returning to build of spellcast-1.2_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 spellcast-1.2_3 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for spellcast-1.2_3 --- engine.o --- --- espells.o --- --- execute.o --- --- execute2.o --- --- emonster.o --- --- etran.o --- --- main.o --- --- xtext.o --- --- xquery.o --- --- xloop.o --- --- xgest.o --- --- xbutton.o --- --- xtalk.o --- --- engine.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c engine.c -o engine.o --- espells.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c espells.c -o espells.o --- execute.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c execute.c -o execute.o --- execute2.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c execute2.c -o execute2.o --- emonster.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c emonster.c -o emonster.o --- etran.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c etran.c -o etran.o --- main.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c main.c -o main.o --- xtext.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xtext.c -o xtext.o --- xquery.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xquery.c -o xquery.o --- xloop.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xloop.c -o xloop.o --- xgest.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xgest.c -o xgest.o --- xbutton.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xbutton.c -o xbutton.o --- xtalk.o --- cc -O2 -pipe -Wno-return-type -Wno-error=int-conversion -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I./bitmaps -DBODYFONT=\"-*-times-medium-r-*--14-*\" -DBODYFONT_ALT=\"-*-helvetica-medium-r-*--12-*\" -DBODYFONT_ALT2=\"fixed\" -DTRANSCRIPTDIR=\"/tmp\" -c xtalk.c -o xtalk.o --- espells.o --- espells.c:105:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | static int check_one_spell(numgests, glist, mainhand, spel) | ^ espells.c:140:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | void find_castspells(found, numgests, glist) | ^ 2 warnings generated. --- main.o --- main.c:45:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 45 | main(argc, argv) | ^ | int main.c:64:2: 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] 64 | exit(12); | ^ main.c:64:2: note: include the header or explicitly provide a declaration for 'exit' main.c:74:34: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 74 | displist[numplayers] = (char *)malloc(strlen(argv[ix])+6); | ^ main.c:74:34: note: include the header or explicitly provide a declaration for 'malloc' main.c:103:8: warning: call to undeclared function 'win_init'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | val = win_init(ix); | ^ main.c:110:24: warning: passing arguments to 'BeginGame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | gameval = BeginGame(numplayers, namelist, genderlist, &procs, &ignorerock); | ^ main.c:113:16: warning: passing arguments to 'TurnType' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | val = TurnType(gameval); | ^ main.c:117:40: warning: passing arguments to 'TurnPlayerActive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | py->turn_active = TurnPlayerActive(gameval, ix); | ^ main.c:124:6: warning: call to undeclared function 'clear_answers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | clear_answers(py); | ^ main.c:128:4: warning: call to undeclared function 'add_answer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 128 | add_answer(py, "Enter your gestures for your Hastened move.", | ^ main.c:144:4: warning: call to undeclared function 'add_answer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | add_answer(py, "Other people are Hastened this turn.", | ^ main.c:154:6: warning: call to undeclared function 'redraw_column'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | redraw_column(py); | ^ main.c:155:6: warning: call to undeclared function 'draw_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 155 | draw_button(py, 0, 1); /* redraw turn-end button */ | ^ main.c:156:6: warning: call to undeclared function 'redraw_queries_only'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | redraw_queries_only(py, 0); | ^ main.c:159:2: warning: call to undeclared function 'mainloop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 159 | mainloop(); | ^ main.c:166:18: warning: passing arguments to 'RunTurn' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | whowon = RunTurn(gameval, movelist); | ^ main.c:172:54: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | sprintf(inbuf, "\n+++ %s has won +++\n", NameOfBeing(gameval, | ^ main.c:174:13: warning: passing arguments to 'PrintMsg' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | PrintMsg(inbuf, gameval, &ignorerock); | ^ main.c:175:20: warning: passing arguments to 'LogInTranscript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | LogInTranscript(gameval, inbuf); | ^ main.c:176:20: warning: passing arguments to 'LogInTranscript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | LogInTranscript(gameval, "\n"); | ^ main.c:186:2: warning: call to undeclared function 'clear_answers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 186 | clear_answers(py); | ^ main.c:188:6: warning: call to undeclared function 'add_answer'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 188 | add_answer(py, "Do you want to save a transcript of this game?", | ^ main.c:190:2: warning: call to undeclared function 'redraw_column'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 190 | redraw_column(py); | ^ main.c:191:2: warning: call to undeclared function 'draw_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 191 | draw_button(py, 0, 1); /* redraw turn-end button */ | ^ main.c:192:2: warning: call to undeclared function 'redraw_queries_only'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | redraw_queries_only(py, 0); | ^ main.c:195:5: warning: call to undeclared function 'mainloop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | mainloop(); | ^ main.c:202:51: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | sprintf(fname, "%s/spellcast-%d", TRANSCRIPTDIR, getpid()); | ^ main.c:209:21: warning: passing arguments to 'WriteTranscript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | WriteTranscript((game *)gameval, fl); | ^ main.c:214:13: warning: passing arguments to 'FreeGame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | FreeGame(gameval); | ^ main.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | main(argc, argv) | ^ main.c:360:5: warning: call to undeclared function 'init_bitmaps'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 360 | init_bitmaps(py); | ^ main.c:361:5: warning: call to undeclared function 'init_xtext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 361 | init_xtext(pnum); | ^ main.c:362:5: warning: call to undeclared function 'init_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 362 | init_query(py); | ^ main.c:363:5: warning: call to undeclared function 'init_stats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | init_stats(py); | ^ main.c:364:5: warning: call to undeclared function 'init_talk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 364 | init_talk(py); | ^ main.c:366:11: warning: passing arguments to 'redraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | redraw(py); | ^ main.c:218:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | int win_init(pnum) | ^ main.c:373:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 373 | void adjust_rect(mrec) | ^ main.c:386:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 386 | void backing_store(py, mrec) | ^ main.c:410:8: warning: passing arguments to 'redraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | redraw(py); | ^ main.c:400:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | void backing_restore(py) | ^ main.c:426:6: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | dump_text(ix, msg); | ^ main.c:418:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | static void PrintMsg(msg, gameval, rock) | ^ main.c:41: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] 41 | static void PrintMsg(), PrintMsg2(), PrintMsg3(); | ^ main.c:441:3: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 441 | dump_text(ix, msg1); | ^ main.c:445:3: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 445 | dump_text(ix, msgelse); | ^ main.c:430:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | static void PrintMsg2(person1, msg1, msgelse, gameval, rock) | ^ main.c:41: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] 41 | static void PrintMsg(), PrintMsg2(), PrintMsg3(); | ^ main.c:461:3: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 461 | dump_text(ix, msg1); | ^ main.c:465:3: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 465 | dump_text(ix, msg2); | ^ main.c:469:3: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 469 | dump_text(ix, msgelse); | ^ main.c:450:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | static void PrintMsg3(person1, person2, msg1, msg2, msgelse, gameval, rock) | ^ main.c:41:38: 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] 41 | static void PrintMsg(), PrintMsg2(), PrintMsg3(); | ^ 52 warnings generated. --- etran.o --- etran.c:15:29: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 15 | self->gamelog = (char *)malloc(sizeof(char) * self->gamelog_size); | ^ etran.c:15:29: note: include the header or explicitly provide a declaration for 'malloc' etran.c:16:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 16 | strcpy(self->gamelog, ""); | ^ etran.c:16:5: note: include the header or explicitly provide a declaration for 'strcpy' etran.c:19:13: warning: passing arguments to 'log_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | log_text(self, "Spellcast Game Transcript\n\n"); | ^ etran.c:11:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | void init_transcript(self) | ^ etran.c:30:11: 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] 30 | len = strlen(str); | ^ etran.c:30:11: note: include the header or explicitly provide a declaration for 'strlen' etran.c:35:26: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 35 | self->gamelog = (char *)realloc(self->gamelog, sizeof(char) * self->gamelog_size); | ^ etran.c:35:26: note: include the header or explicitly provide a declaration for 'realloc' etran.c:22:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | void log_text(self, str) | ^ etran.c:9: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] 9 | void log_text(); | ^ etran.c:42:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 42 | void LogInTranscript(pgame, str) | ^ In file included from etran.c:4: ./handwave.h:130: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] 130 | extern void LogInTranscript( /* game *game, char *str */); | ^ etran.c:49:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | static char cheap_untranslate(val) | ^ etran.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void log_round_header(self) | ^ etran.c:125:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | void WriteTranscript(pgame, f) | ^ In file included from etran.c:4: ./handwave.h:131: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] 131 | extern void WriteTranscript( /* game *game, FILE *f */); | ^ 14 warnings generated. --- main.o --- --- emonster.o --- emonster.c:23:18: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 23 | int numsyl = random()%3+2; | ^ emonster.c:25:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 25 | strcpy(bigbuf, ""); | ^ emonster.c:25:5: note: include the header or explicitly provide a declaration for 'strcpy' emonster.c:31:2: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 31 | strcat(bigbuf, kuruk_syl[new]); | ^ emonster.c:31:2: note: include the header or explicitly provide a declaration for 'strcat' emonster.c:48:38: warning: call to undeclared library function 'islower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 48 | if ((ix==0 || bigbuf[ix-1]==' ') && islower(bigbuf[ix])) | ^ emonster.c:48:38: note: include the header or explicitly provide a declaration for 'islower' emonster.c:49:19: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 49 | bigbuf[ix] = toupper(bigbuf[ix]); | ^ emonster.c:49:19: note: include the header or explicitly provide a declaration for 'toupper' emonster.c:61:18: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 61 | int numsyl = random()%3+1; | ^ emonster.c:99:33: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 99 | self->cre = (struct creature *)realloc(self->cre, sizeof(struct creature) * self->cre_size); | ^ emonster.c:99:33: note: include the header or explicitly provide a declaration for 'realloc' emonster.c:104:14: warning: passing arguments to 'InitBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | InitBeing(thud); | ^ emonster.c:149:26: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | thud->name = (char *)malloc(strlen(bigbuf)+1); | ^ emonster.c:149:26: note: include the header or explicitly provide a declaration for 'malloc' emonster.c:149:33: 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] 149 | thud->name = (char *)malloc(strlen(bigbuf)+1); | ^ emonster.c:149:33: note: include the header or explicitly provide a declaration for 'strlen' emonster.c:90:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | void create_creature(self, type, creator) | ^ emonster.c:160:5: warning: call to undeclared function 'erase_queries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 160 | erase_queries(self); | ^ emonster.c:181:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 181 | PrintMsg("ERROR: wrong type of turn in execute_monsters()\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ emonster.c:181:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:195:8: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 195 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ emonster.c:195:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:202:8: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 202 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ emonster.c:202:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:209:8: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 209 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ emonster.c:209:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:220:3: warning: call to undeclared function 'add_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 220 | add_query(self, thud->owner, qtype, ix + 256*(jx+numattacks)); | ^ emonster.c:225:2: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:12:59: note: expanded from macro 'Queries' 12 | #define Queries(numqueries, querylist) (setup_targetlist(self),\ | ^ emonster.c:225:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ emonster.c:228:7: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 228 | jx = (int)(self->querylist[qnum].rock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emonster.c:236:26: warning: passing arguments to 'exec_monster_attack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | exec_monster_attack(self, self->wiz[cx], cx, 1, thud); | ^ emonster.c:240:26: warning: passing arguments to 'exec_monster_attack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | exec_monster_attack(self, &self->cre[cx], cx, 0, thud); | ^ emonster.c:260:32: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | numtwiz = NumberOfTargets(self, QuVal_Target_Wizard); | ^ emonster.c:261:32: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | numtcre = NumberOfTargets(self, QuVal_Target_Creature); | ^ emonster.c:262:12: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 262 | kx = random() % (numtwiz + numtcre); | ^ emonster.c:265:13: warning: call to undeclared function 'IndexOfTarget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | target = IndexOfTarget((game *)self, targettype, kx) & | ^ emonster.c:271:13: warning: call to undeclared function 'IndexOfTarget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | target = IndexOfTarget((game *)self, targettype, kx) & | ^ emonster.c:294:14: warning: call to undeclared function 'IndexOfTarget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | ival = IndexOfTarget((game *)self, tart, kx); | ^ emonster.c:305:23: warning: passing arguments to 'exec_monster_attack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | exec_monster_attack(self, self->wiz[target], target, 1, thud); | ^ emonster.c:309:23: warning: passing arguments to 'exec_monster_attack' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | exec_monster_attack(self, &self->cre[target], target, 0, thud); | ^ emonster.c:153:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | void execute_monsters(self) | ^ emonster.c:353:4: warning: call to undeclared function 'pro_himself'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | pro_himself(fred->both.gender)); | ^ emonster.c:353:4: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 352 | sprintf(bigbuf, "%s refuses to attack %s.\n", thud->name, | ~~ | %d 353 | pro_himself(fred->both.gender)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emonster.c:354:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 354 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ emonster.c:354:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:363:21: warning: call to undeclared function 'pro_him'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 363 | fred->both.name, pro_him(fred->both.gender)); | ^ emonster.c:363:21: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 362 | sprintf(bigbuf2, "%s tries to attack %s, but cannot see %s.\n", thud->name, | ~~ | %d 363 | fred->both.name, pro_him(fred->both.gender)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ emonster.c:365:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 365 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:365:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:367:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:376:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:376:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:378:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:387:33: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 387 | thud->name, fred->both.name, pro_his(fred->both.gender)); | ^ emonster.c:387:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 386 | sprintf(bigbuf2, "%s reaches toward %s, but cannot penetrate %s blue aura.\n", | ~~ | %d 387 | thud->name, fred->both.name, pro_his(fred->both.gender)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ emonster.c:389:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 389 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:389:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:391:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:397:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 397 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:397:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:399:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:408:33: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 408 | thud->name, fred->both.name, pro_his(fred->both.gender)); | ^ emonster.c:408:33: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 407 | sprintf(bigbuf2, "%s reaches toward %s, but cannot penetrate %s pink aura.\n", | ~~ | %d 408 | thud->name, fred->both.name, pro_his(fred->both.gender)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ emonster.c:410:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 410 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:410:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:412:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:418:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 418 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:418:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:420:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:428:4: warning: call to undeclared function 'pro_himself'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 428 | pro_himself(fred->both.gender)); | ^ emonster.c:428:4: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 427 | sprintf(bigbuf, "%s attacks %s!\n", thud->name, | ~~ | %d 428 | pro_himself(fred->both.gender)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emonster.c:429:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 429 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ emonster.c:429:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:435:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 435 | PrintMsg2(cnum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ emonster.c:435:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ emonster.c:437:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | PrintMsg(bigbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ emonster.c:335:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | static void exec_monster_attack(self, fred, cnum, wizflag, thud) /* dead not allowed */ | ^ emonster.c:10: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] 10 | static void exec_monster_attack(); | ^ 72 warnings generated. --- etran.o --- --- emonster.o --- --- execute.o --- execute.c:14:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | void clear_round(fred) | ^ execute.c:31:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | static void set_zap_flag(self, spel, spelnum) | ^ execute.c:113:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | char *pro_himself(gender) | ^ execute.c:130:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | char *pro_him(gender) | ^ execute.c:147:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xtext.o --- xtext.c:45:36: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 45 | py->lineindex = (struct line *)malloc(sizeof(struct line)*py->lineindex_size); | ^ xtext.c:45:36: note: include the header or explicitly provide a declaration for 'malloc' xtext.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void init_xtext(pnum) | ^ xtext.c:90:21: warning: passing arguments to 'redraw_scrollbar' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | redraw_scrollbar(&(py->sitext)); | ^ --- execute.o --- 147 | char *pro_he(gender) | ^ execute.c:164:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | char *pro_his(gender) /* his head, not the head of his */ | ^ execute.c:181:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | char *number_name(num) | ^ execute.c:222:5: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | strcpy(buf, ""); | ^ execute.c:222:5: note: include the header or explicitly provide a declaration for 'strcpy' --- xtext.o --- xtext.c:61:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | static void redraw_text_only(py, baronly) | ^ xtext.c:17: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] 17 | static void redraw_text_only(); | ^ xtext.c:104:33: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 104 | py->lineindex = (struct line *)realloc(py->lineindex, | ^ xtext.c:104:33: note: include the header or explicitly provide a declaration for 'realloc' --- execute.o --- execute.c:228:3: warning: call to undeclared library function 'strcat' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | strcat(buf, ", "); | ^ execute.c:228:3: note: include the header or explicitly provide a declaration for 'strcat' execute.c:215:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | static void list_mind_spells(buf, zapl) | ^ execute.c:256:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 256 | PrintMsg3(ctmp->caster, ctmp->target, exbuf, exbuf2, exbuf3); | ^ ./internal.h:9:61: note: expanded from macro 'PrintMsg3' --- xtext.o --- xtext.c:93:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | void complete_line(py) | ^ xtext.c:140:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | void redraw_text(py) | ^ xtext.c:150:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | void dump_text(pnum, str) | ^ xtext.c:200:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | int in_scrollbar_box(si, xpos, ypos) | ^ xtext.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void redraw_scrollbar(si) --- execute.o --- 9 | #define PrintMsg3(person1, person2, msg1, msg2, msgelse) (log_text(self, msgelse),\ | ^ execute.c:256:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:10:35: note: expanded from macro 'PrintMsg3' 10 | self->callbacks.proc_PrintMsg3)((person1), (person2),\ | ^ execute.c:258:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | PrintMsg2(ctmp->caster, exbuf, exbuf3); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- xtext.o --- | ^ xtext.c:18: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] 18 | void redraw_scrollbar(); | ^ xtext.c:240:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | int scrollbar_hit(si, xpos, ypos, button) | ^ xtext.c:288:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | (*(si->redraw))(si->py, 0); | ^ xtext.c:270:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | int scrollbar_motion(si, xpos, ypos, button) | ^ --- execute.o --- execute.c:241:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | static int check_visibility(self, mcaster, mtarget, ctmp) | ^ execute.c:327:2: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:327:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- xtext.o --- xtext.c:318:21: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | (*(si->redraw))(si->py, 0); | ^ xtext.c:293:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | int scrollbar_release(si, xpos, ypos, button) | ^ 17 warnings generated. --- execute.o --- execute.c:335:14: warning: incompatible pointer types passing 'struct wizard *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 335 | clear_round(self->wiz[ix]); | ^~~~~~~~~~~~~ execute.c:337:14: warning: incompatible pointer types passing 'struct creature *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 337 | clear_round(&self->cre[ix]); | ^~~~~~~~~~~~~~ execute.c:378:2: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | PrintMsg("The magical energies in the arena fade away.\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:378:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:382:15: warning: passing arguments to 'exec_counters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | exec_counters(self, self->wiz[ix], ix, 1); | ^ execute.c:385:15: warning: passing arguments to 'exec_counters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | exec_counters(self, &self->cre[ix], ix, 0); | ^ execute.c:428:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:447:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 447 | PrintMsg2(ctmp->target, exbuf, exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:449:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:496:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | PrintMsg2(ctmp->caster, "Since you have already cast Lightning Bolt with that formulation, the spell fizzles.\n", exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:504:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:524:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | PrintMsg2(ctmp->target, exbuf, exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:526:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:543:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | PrintMsg3(ctmp->caster, ctmp->target, exbuf, exbuf2, exbuf3); | ^ ./internal.h:10:35: note: expanded from macro 'PrintMsg3' 10 | self->callbacks.proc_PrintMsg3)((person1), (person2),\ | ^ execute.c:545:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | PrintMsg2(ctmp->caster, exbuf, exbuf3); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:553:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | PrintMsg3(ctmp->caster, ctmp->target, exbuf, exbuf2, exbuf3); | ^ ./internal.h:10:35: note: expanded from macro 'PrintMsg3' 10 | self->callbacks.proc_PrintMsg3)((person1), (person2),\ | ^ execute.c:555:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | PrintMsg2(ctmp->caster, exbuf, exbuf3); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:570:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | PrintMsg2(ctmp->target, exbuf, exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:572:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:588:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 588 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:598:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:605:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 605 | PrintMsg("ERROR: Surrender got through to spell table setup\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:616:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | PrintMsg("ERROR: Unknown spell in spell table setup\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:622:5: warning: call to undeclared function 'erase_queries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 622 | erase_queries(self); | ^ execute.c:626:3: warning: call to undeclared function 'add_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 626 | add_query(self, ix, Qu_ElementalType, 0); | ^ execute.c:630:2: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:12:59: note: expanded from macro 'Queries' 12 | #define Queries(numqueries, querylist) (setup_targetlist(self),\ | ^ execute.c:630:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ execute.c:636:18: warning: passing arguments to 'exec_summons' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 636 | exec_summons(self, self->wiz[ix], ix, 1); | ^ execute.c:640:19: warning: passing arguments to 'check_elements' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | check_elements(self); | ^ execute.c:645:18: warning: passing arguments to 'exec_cancels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | exec_cancels(self, self->wiz[ix], ix, 1); | ^ execute.c:649:18: warning: passing arguments to 'exec_cancels' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | exec_cancels(self, &self->cre[ix], ix, 0); | ^ execute.c:655:19: warning: passing arguments to 'exec_protects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | exec_protects(self, self->wiz[ix], ix, 1); | ^ execute.c:659:19: warning: passing arguments to 'exec_protects' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | exec_protects(self, &self->cre[ix], ix, 0); | ^ execute.c:665:19: warning: passing arguments to 'exec_enchants' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | exec_enchants(self, self->wiz[ix], ix, 1); | ^ execute.c:669:19: warning: passing arguments to 'exec_enchants' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | exec_enchants(self, &self->cre[ix], ix, 0); | ^ execute.c:675:18: warning: passing arguments to 'exec_attacks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | exec_attacks(self, self->wiz[ix], ix, 1); | ^ execute.c:679:18: warning: passing arguments to 'exec_attacks' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | exec_attacks(self, &self->cre[ix], ix, 0); | ^ execute.c:684:12: warning: passing arguments to 'exec_heals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | exec_heals(self, self->wiz[ix], ix, 1); | ^ execute.c:687:12: warning: passing arguments to 'exec_heals' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | exec_heals(self, &self->cre[ix], ix, 0); | ^ execute.c:264:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | void execute_spells(self) | ^ execute.c:716:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 716 | PrintMsg2(cnum, "The Counter-Spell on you is dispelled.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:716:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:718:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:724:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 724 | PrintMsg2(cnum, "The Magic Mirror on you is dispelled.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:724:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:726:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:733:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 733 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:733:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:739:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 739 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:739:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:751:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 751 | PrintMsg2(cnum, "Your magical senses go numb as a Counter-Spell surrounds you.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:751:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:753:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:760:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | PrintMsg2(cnum, "The Magic Mirror on you is destroyed by the Counter-Spell.\n", exbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:762:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:771:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 771 | PrintMsg2(cnum, "The bright haze of a Magic Mirror surrounds you.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:771:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:773:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:692:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | static void exec_counters(self, fred, cnum, wizflag) /* dead allowed */ | ^ execute.c:11: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] 11 | static void exec_counters(), exec_summons(), check_elements(), exec_cancels(), exec_protects(); | ^ execute.c:799:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 799 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:799:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:801:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 801 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:807:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 807 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:807:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:809:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:812:3: warning: call to undeclared function 'create_creature'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 812 | create_creature(self, ix+1, cnum); | ^ execute.c:828:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 828 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:828:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:830:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:831:2: warning: call to undeclared function 'create_creature'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 831 | create_creature(self, 6-ix, cnum); | ^ execute.c:779:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | static void exec_summons(self, fred, cnum, wizflag) /* no deaders or monsters */ | ^ execute.c:11:30: 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] 11 | static void exec_counters(), exec_summons(), check_elements(), exec_cancels(), exec_protects(); | ^ execute.c:873:2: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 873 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:873:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:877:2: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:877:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:887:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 887 | PrintMsg("The Fire Elemental is dispersed into the Fire Storm.\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:887:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:892:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | PrintMsg("The Ice Elemental is dispersed into the Ice Storm.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:897:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | PrintMsg("The Fire and Ice Storms tear each other into shreds of vapor.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:902:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 902 | PrintMsg("The Fire and Ice Elementals tear into each other, and whirl into a column of steam that dissipates in moments.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:909:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 909 | PrintMsg("The Ice Elemental is dispersed into the Fire Storm, destroying both.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:915:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | PrintMsg("The Fire Elemental is dispersed into the Ice Storm, destroying both.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:921:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | PrintMsg("The Fire and Ice Storms tear each other into shreds of vapor, destroying the Fire Elemental as well.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:928:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | PrintMsg("The Fire and Ice Storms tear each other into shreds of vapor, destroying the Ice Elemental as well.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:935:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | PrintMsg("The Fire and Ice Elementals tear into each other, and whirl into a column of steam that dissipates in moments. The Ice Storm is absorbed as well.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:943:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | PrintMsg("The Fire and Ice Elementals tear into each other, and whirl into a column of steam that dissipates in moments. The Fire Storm is absorbed as well.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:951:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 951 | PrintMsg("The Fire and Ice Elementals whirl into each other, screaming in fury, and the Fire and Ice storms shriek in response. The column of Elemental energy rises to meet the cloud of vapor that descends over the arena. You are buffeted by the conflicting energies; but within moments, nothing remains.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:969:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:969:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:976:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 976 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:976:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:981:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 981 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:981:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:987:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 987 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:987:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:992:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 992 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:992:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1004:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1004 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute.c:1004:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:837:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | static void check_elements(self) | ^ execute.c:11:46: 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] 11 | static void exec_counters(), exec_summons(), check_elements(), exec_cancels(), exec_protects(); | ^ execute.c:1025:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1025 | PrintMsg2(cnum, "For a moment, you feel a sudden pressure in your chest, as if an iron band was squeezing your heart. Then it fades, as the Raise Dead spell burns through you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1025:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1027:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1035:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1035 | PrintMsg2(cnum, "The Fireball hurtling towards you is snuffed by the Ice Storm, leaving you enveloped in warm steam.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1035:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1037:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1037 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1059:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1059 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1059:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1061:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1011:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | static void exec_cancels(self, fred, cnum, wizflag) /* no deaders */ | ^ execute.c:11:64: 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] 11 | static void exec_counters(), exec_summons(), check_elements(), exec_cancels(), exec_protects(); | ^ execute.c:1090:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1090 | PrintMsg2(cnum, "The Resist Heat wraps you in a pleasant blue coolness.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1090:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1092:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1098:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1098 | PrintMsg2(cnum, "Your veil of Resist Heat continues to glow coolly.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1098:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1100:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1109:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1109 | PrintMsg2(cnum, "The Resist Cold wraps you in a pleasant pink warmth.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1109:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1111:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1117:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1117 | PrintMsg2(cnum, "Your veil of Resist Cold continues to glow warmly.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1117:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1119:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1128:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1128 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1128:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1130:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1136:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1136 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1136:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1138:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1171:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1171 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute.c:1171:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute.c:1173:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute.c:1172:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1172 | else | ^ execute.c:1075:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | static void exec_protects(self, fred, cnum, wizflag) /* no deaders */ | ^ execute.c:11:80: 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] 11 | static void exec_counters(), exec_summons(), check_elements(), exec_cancels(), exec_protects(); | ^ 154 warnings generated. --- xtext.o --- --- xgest.o --- xgest.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void init_bitmaps(py) | ^ xgest.c:137:2: warning: call to undeclared function 'DrawStringCentered'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | DrawStringCentered(py, NameOfBeing(gameval, QuVal_Target_Wizard, ix), | ^ xgest.c:137:36: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | DrawStringCentered(py, NameOfBeing(gameval, QuVal_Target_Wizard, ix), | ^ xgest.c:141:16: warning: passing arguments to 'SeeGesture' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xbutton.o --- xbutton.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | void DrawStringCentered(py, str, xpos, ypos) | ^ xbutton.c:47:5: warning: call to undeclared function 'draw_frame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | draw_frame(py, &py->spelllist_rect); | ^ xbutton.c:35:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 35 | void draw_spelllist(py) | ^ xbutton.c:94:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | static void light_button(py, bnum) | ^ --- xgest.o --- 141 | SeeGesture(gameval, ix, pnum, buf, COLUMN_SIZE); | ^ xgest.c:148:16: warning: passing arguments to 'SeeGesture' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | SeeGesture(gameval, ix, pnum, buf+1, COLUMN_SIZE); | ^ xgest.c:120:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | void redraw_column(py) | ^ xgest.c:184:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | void draw_frame(py, mrec) | ^ xgest.c:208:5: warning: call to undeclared library function 'sprintf' with type 'int (char *restrict, const char *restrict, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- xbutton.o --- xbutton.c:124:13: warning: passing arguments to 'draw_button' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | draw_button(py, bnum, 0); | ^ xbutton.c:118:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | void redraw_buttons(py) | ^ xbutton.c:129:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | void draw_button(py, bnum, mode) | ^ xbutton.c:18: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] 18 | void draw_button(); | ^ --- xgest.o --- 208 | sprintf(gesture_prompt[0], "What gesture do you want to"); | ^ xgest.c:208:5: note: include the header or explicitly provide a declaration for 'sprintf' xgest.c:200:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | void draw_gesture_menu(py) | ^ xgest.c:228:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | int in_gesture_box(py, xpos, ypos) | ^ xgest.c:265:2: warning: call to undeclared function 'adjust_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 265 | adjust_rect(&py->gesture_rect); | ^ xgest.c:266:2: warning: call to undeclared function 'backing_store'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- xbutton.o --- xbutton.c:201:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | int in_bbox_box(py, xpos, ypos) | ^ xbutton.c:240:6: warning: call to undeclared function 'backing_store'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 240 | backing_store(py, &py->spelllist_rect); | ^ xbutton.c:245:6: warning: call to undeclared library function 'printf' with type 'int (const char *, ...)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 245 | printf("ERROR: unknown button thing!\n"); | ^ xbutton.c:245:6: note: include the header or explicitly provide a declaration for 'printf' xbutton.c:211:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xgest.o --- 266 | backing_store(py, &py->gesture_rect); | ^ xgest.c:268:2: warning: call to undeclared function 'gesture_motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | gesture_motion(py, xpos+COLUMN_X, ypos+COLUMN_Y, button); | ^ xgest.c:238:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | int gesture_hit(py, xpos, ypos, button) | ^ xgest.c:275:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 275 | int gesture_motion(py, xpos, ypos, button) | ^ xgest.c:331:5: warning: call to undeclared function 'backing_restore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 331 | backing_restore(py); | ^ --- xbutton.o --- 211 | int button_hit(py, xpos, ypos, button) | ^ xbutton.c:250:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | int button_motion(py, xpos, ypos, button) | ^ xbutton.c:297:7: warning: call to undeclared function 'redraw_done_markers'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 297 | redraw_done_markers(py); | ^ xbutton.c:300:7: warning: call to undeclared function 'redraw_queries_only'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | redraw_queries_only(py, 0); | ^ xbutton.c:306:6: warning: call to undeclared function 'backing_restore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 306 | backing_restore(py); --- xgest.o --- xgest.c:320:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | int gesture_release(py, xpos, ypos, button) | ^ 17 warnings generated. --- xbutton.o --- | ^ xbutton.c:276:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | int button_release(py, xpos, ypos, button) | ^ 17 warnings generated. --- xgest.o --- --- execute.o --- --- xtalk.o --- xtalk.c:21:28: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 21 | py->talk_buf = (char *)malloc(sizeof(char) * py->talk_size); | ^ xtalk.c:21:28: note: include the header or explicitly provide a declaration for 'malloc' xtalk.c:17:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 17 | void init_talk(py) | ^ xtalk.c:54:13: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | width = DrawStringField(py, py->talk_buf, TALK_X, TALK_Y+py->lineheight, TALK_W); | ^ xtalk.c:29:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | void redraw_talk_only(py, recomp) | ^ xtalk.c:63:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | void redraw_talk(py) | ^ xtalk.c:82:28: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | py->talk_buf = (char *)realloc(py->talk_buf, sizeof(char) * py->talk_size); | ^ xtalk.c:82:28: note: include the header or explicitly provide a declaration for 'realloc' xtalk.c:72:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | static void ensure_talk_size(py, size) | ^ xtalk.c:112:55: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | sprintf(bigbuf2, "%s says \"%s\"\n", NameOfBeing(gameval, | ^ xtalk.c:116:8: warning: call to undeclared function 'dump_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | dump_text(ix, bigbuf); | ^ xtalk.c:119:22: warning: passing arguments to 'LogInTranscript' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | LogInTranscript(gameval, bigbuf2); | ^ xtalk.c:85:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | void talk_handle_char(py, ch) | ^ 11 warnings generated. --- xloop.o --- xloop.c:33:35: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 33 | players[pnum].turn_blinklimit = (random() % 50) + 5; | ^ xloop.c:37:17: warning: passing arguments to 'update_statlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | update_statlist(&players[pnum]); | ^ xloop.c:55:10: warning: passing arguments to 'redraw' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | redraw(py); | ^ xloop.c:58:27: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XKeyEvent *' [-Wincompatible-pointer-types] --- execute2.o --- execute2.c:28:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 28 | PrintMsg2(cnum, "The Amnesia spell curls around your mind.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:28:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:30:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xloop.o --- 58 | if (1 == XLookupString(&event, &c, 1, NULL, NULL)) { | ^~~~~~ /usr/local/include/X11/Xutil.h:535:35: note: passing argument to parameter here 535 | XKeyEvent* /* event_struct */, | ^ xloop.c:64:9: warning: call to undeclared function 'talk_handle_char'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 64 | talk_handle_char(py, c); | ^ xloop.c:72:8: warning: call to undeclared function 'in_gesture_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | if (in_gesture_box(py, event.xbutton.x, event.xbutton.y)) { | ^ --- execute2.o --- 30 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:43:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 43 | PrintMsg2(cnum, "The Confusion spell curls around your mind.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:43:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' --- xloop.o --- xloop.c:73:36: warning: passing arguments to 'gesture_hit' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | py->mousestate = gesture_hit(py, event.xbutton.x, | ^ xloop.c:77:13: warning: call to undeclared function 'in_bbox_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 77 | else if (in_bbox_box(py, event.xbutton.x, event.xbutton.y)) { | ^ xloop.c:78:25: warning: call to undeclared function 'button_hit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 78 | py->mousestate = button_hit(py, event.xbutton.x, | ^ --- execute2.o --- 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:45:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:55:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 55 | PrintMsg2(cnum, "The Fear spell curls around your mind.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ --- xloop.o --- xloop.c:82:13: warning: call to undeclared function 'in_scrollbar_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 82 | else if (in_scrollbar_box(&(py->sitext), event.xbutton.x, | ^ xloop.c:84:25: warning: call to undeclared function 'scrollbar_hit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | py->mousestate = scrollbar_hit(&(py->sitext), | ^ xloop.c:91:25: warning: call to undeclared function 'scrollbar_hit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 91 | py->mousestate = scrollbar_hit(&(py->siquery), | ^ --- execute2.o --- | ^ execute2.c:55:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:57:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:65:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- xloop.o --- xloop.c:98:25: warning: call to undeclared function 'scrollbar_hit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 98 | py->mousestate = scrollbar_hit(&(py->sistats), | ^ xloop.c:103:13: warning: call to undeclared function 'in_query_box'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 103 | else if (in_query_box(py, event.xbutton.x, | ^ xloop.c:105:25: warning: call to undeclared function 'query_hit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | py->mousestate = query_hit(py, event.xbutton.x, | ^ --- execute2.o --- 65 | PrintMsg2(cnum, "Not knowing which of your hands to strike, the Paralysis spell fizzles.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:65:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:71:7: warning: call to undeclared function 'erase_queries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | erase_queries(self); | ^ --- xloop.o --- xloop.c:116:5: warning: call to undeclared function 'gesture_motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | gesture_motion(py, event.xbutton.x, event.xbutton.y, | ^ xloop.c:120:5: warning: call to undeclared function 'scrollbar_motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 120 | scrollbar_motion(py->scroll_active, event.xbutton.x, | ^ xloop.c:124:5: warning: call to undeclared function 'query_motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 124 | query_motion(py, event.xbutton.x, event.xbutton.y, | ^ --- execute2.o --- execute2.c:72:7: warning: call to undeclared function 'add_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | add_query(self, fred->both.enchant_caster, Qu_ParalysisHand, cnum); | ^ execute2.c:73:7: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:12:59: note: expanded from macro 'Queries' 12 | #define Queries(numqueries, querylist) (setup_targetlist(self),\ | ^ execute2.c:73:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:13:34: note: expanded from macro 'Queries' --- xloop.o --- xloop.c:129:5: warning: call to undeclared function 'button_motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 129 | button_motion(py, event.xbutton.x, event.xbutton.y, | ^ xloop.c:140:9: warning: call to undeclared function 'gesture_release'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 140 | gesture_release(py, event.xbutton.x, | ^ xloop.c:144:9: warning: call to undeclared function 'scrollbar_release'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 144 | scrollbar_release(py->scroll_active, | ^ --- execute2.o --- 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ execute2.c:87:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 87 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:87:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- xloop.o --- xloop.c:149:9: warning: call to undeclared function 'query_release'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 149 | query_release(py, event.xbutton.x, | ^ xloop.c:154:9: warning: call to undeclared function 'button_release'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 154 | button_release(py, event.xbutton.x, | ^ xloop.c:188:23: warning: passing arguments to 'redraw_done_markers' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | redraw_done_markers(&(players[pnum])); | ^ --- execute2.o --- execute2.c:97:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | PrintMsg(exbuf2); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:97:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:105:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 105 | PrintMsg2(cnum, "The Charm Monster spell swirls around your mind, but cannot sink in.\n", exbuf2); --- xloop.o --- xloop.c:213:16: warning: passing arguments to 'redraw_text' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | redraw_text(py); | ^ xloop.c:214:18: warning: passing arguments to 'redraw_column' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | redraw_column(py); | ^ xloop.c:215:19: warning: passing arguments to 'redraw_buttons' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | redraw_buttons(py); | ^ xloop.c:216:19: warning: passing arguments to 'redraw_queries' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | redraw_queries(py); | ^ --- execute2.o --- | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:105:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:111:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 111 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ --- xloop.o --- xloop.c:217:17: warning: passing arguments to 'redraw_stats' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | redraw_stats(py); | ^ xloop.c:218:5: warning: call to undeclared function 'redraw_talk'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 218 | redraw_talk(py); | ^ xloop.c:222:3: warning: call to undeclared function 'draw_gesture_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | draw_gesture_menu(py); | ^ xloop.c:225:3: warning: call to undeclared function 'draw_spelllist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 225 | draw_spelllist(py); | ^ --- execute2.o --- execute2.c:111:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:121:110: warning: call to undeclared function 'pro_he'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 121 | sprintf(exbuf2, "The Charm Monster spell curls around %s, and %s smiles dopily at %s.\n", fred->both.name, pro_he(fred->both.gender), self->wiz[fred->cre.owner]->name); | ^ execute2.c:121:110: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] --- xloop.o --- xloop.c:228:3: warning: call to undeclared function 'draw_query_menu'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 228 | draw_query_menu(py); | ^ xloop.c:210:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | void redraw(py) | ^ xloop.c:10: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] 10 | extern void redraw(), redraw_stats(), redraw_queries(), redraw_buttons(), | ^ xloop.c:245:40: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- execute2.o --- 121 | sprintf(exbuf2, "The Charm Monster spell curls around %s, and %s smiles dopily at %s.\n", fred->both.name, pro_he(fred->both.gender), self->wiz[fred->cre.owner]->name); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:122:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 122 | PrintMsg(exbuf2); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:122:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- xloop.o --- 245 | py->statlist = (struct statthing *)malloc(sizeof(struct statthing) * py->statlist_size); | ^ xloop.c:245:40: note: include the header or explicitly provide a declaration for 'malloc' xloop.c:241:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | void init_stats(py) | ^ xloop.c:258:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | void clear_stats(py) | ^ xloop.c:276:37: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 276 | py->statlist = (struct statthing *)realloc(py->statlist, | ^ --- execute2.o --- ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:132:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 132 | PrintMsg2(cnum, "Not knowing which of your hands to strike, the Charm Person spell fizzles.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:132:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ --- xloop.o --- xloop.c:276:37: note: include the header or explicitly provide a declaration for 'realloc' xloop.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | void add_statthing(py, index, type, hp, stuff) | ^ xloop.c:314:7: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 314 | DrawStringField(py, "*", STATS_X+4, ypos, 12); | ^ xloop.c:317:7: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | DrawStringField(py, " ", STATS_X+4, ypos, 12); | ^ --- execute2.o --- | ^ execute2.c:137:3: warning: call to undeclared function 'erase_queries'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 137 | erase_queries(self); | ^ execute2.c:138:3: warning: call to undeclared function 'add_query'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 138 | add_query(self, fred->both.enchant_caster, Qu_CharmHand, cnum); | ^ execute2.c:139:3: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:12:59: note: expanded from macro 'Queries' 12 | #define Queries(numqueries, querylist) (setup_targetlist(self),\ --- xloop.o --- xloop.c:289:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | void redraw_done_markers(pdone) | ^ xloop.c:14: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] 14 | void redraw_done_markers(); | ^ xloop.c:341:3: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 341 | DrawStringField(py, "", STATS_X+4, ypos, STATS_W-4); | ^ xloop.c:348:4: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 348 | DrawStringField(py, "*", STATS_X+4, ypos, 12); --- execute2.o --- | ^ execute2.c:139:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ execute2.c:151:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 151 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- xloop.o --- | ^ xloop.c:351:4: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 351 | DrawStringField(py, " ", STATS_X+4, ypos, 12); | ^ xloop.c:353:7: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 353 | DrawStringField(py, NameOfBeing(gameval, st->type, st->index), | ^ xloop.c:353:38: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | DrawStringField(py, NameOfBeing(gameval, st->type, st->index), | ^ --- execute2.o --- execute2.c:151:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:157:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 157 | PrintMsg(exbuf2); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:157:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- xloop.o --- xloop.c:357:7: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 357 | DrawStringField(py, "", STATS_X+4, ypos, 20); | ^ xloop.c:358:38: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | DrawStringField(py, NameOfBeing(gameval, st->type, st->index), | ^ xloop.c:369:3: warning: call to undeclared function 'DrawStringField'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 369 | DrawStringField(py, sbuf, STATS_X+STATS_HP, ypos, STATS_W-STATS_HP); | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:168:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 168 | PrintMsg2(cnum, "You are still afflicted with Amnesia.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:168:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- xloop.o --- xloop.c:374:5: warning: call to undeclared function 'redraw_scrollbar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 374 | redraw_scrollbar(&(py->sistats)); | ^ xloop.c:324:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | void redraw_stats_only(py, baronly) | ^ xloop.c:13: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] 13 | void redraw_stats_only(), update_statlist(); | ^ xloop.c:377:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | void redraw_stats(py) | ^ --- execute2.o --- execute2.c:170:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:176:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | PrintMsg2(cnum, "You are still afflicted with Fear.\n", exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- xloop.o --- xloop.c:10:23: 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] 10 | extern void redraw(), redraw_stats(), redraw_queries(), redraw_buttons(), | ^ xloop.c:400:24: warning: passing arguments to 'OwnerOfCreature' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | own1 = OwnerOfCreature(gameval, st1->index); | ^ xloop.c:404:24: warning: passing arguments to 'OwnerOfCreature' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | own2 = OwnerOfCreature(gameval, st2->index); | ^ --- execute2.o --- execute2.c:178:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:186:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- xloop.o --- xloop.c:392:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | int statthing_compare(st1, st2) | ^ xloop.c:432:25: warning: passing arguments to 'NumberOfBeings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | max = NumberOfBeings(gameval, QuVal_Target_Wizard); | ^ xloop.c:434:23: warning: passing arguments to 'HitPointsOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | hp = HitPointsOfBeing(gameval, QuVal_Target_Wizard, ix); | ^ xloop.c:435:25: warning: passing arguments to 'StuffAboutBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- execute2.c:194:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | PrintMsg2(cnum, "You are still afflicted with Confusion.\n", exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:196:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- xloop.o --- 435 | stuff = StuffAboutBeing(gameval, QuVal_Target_Wizard, ix); | ^ xloop.c:439:25: warning: passing arguments to 'NumberOfBeings' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | max = NumberOfBeings(gameval, QuVal_Target_Creature); | ^ xloop.c:441:23: warning: passing arguments to 'HitPointsOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | hp = HitPointsOfBeing(gameval, QuVal_Target_Creature, ix); | ^ xloop.c:442:25: warning: passing arguments to 'StuffAboutBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | stuff = StuffAboutBeing(gameval, QuVal_Target_Creature, ix); | ^ --- execute2.o --- execute2.c:203:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | PrintMsg2(cnum, "You are still Charmed.\n", exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:212:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 212 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- xloop.o --- xloop.c:448:5: warning: call to undeclared function 'qsort'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 448 | qsort(py->statlist, py->sistats.nlines, sizeof(struct statthing), statthing_compare); | ^ xloop.c:425:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | void update_statlist(py) | ^ xloop.c:13:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 13 | void redraw_stats_only(), update_statlist(); | ^ 69 warnings generated. --- execute2.o --- execute2.c:216:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:234:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 234 | PrintMsg2(cnum, "You sneeze loudly.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:234:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:236:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:246:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 246 | PrintMsg2(cnum, "A flash of pain lances along your bones, and then fades away.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:246:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:248:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:257:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | PrintMsg2(cnum, "The Anti-Spell fizzes away into nothing as it approaches you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:257:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:259:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 259 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:264:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 264 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:264:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:268:117: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 268 | sprintf(exbuf2, "The Anti-Spell jolts %s, causing the magical energies around %s hands to flicker.\n", wiz->name, pro_his(wiz->gender)); | ^ execute2.c:268:117: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 268 | sprintf(exbuf2, "The Anti-Spell jolts %s, causing the magical energies around %s hands to flicker.\n", wiz->name, pro_his(wiz->gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~ | %d execute2.c:269:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 269 | PrintMsg2(cnum, "The Anti-Spell jolts you, interrupting the flow of magical energy in your hands.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:269:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:271:3: warning: call to undeclared function 'write_gestures'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 271 | write_gestures(self, wiz, Gesture_ANTISPELL, Gesture_ANTISPELL); | ^ execute2.c:281:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 281 | PrintMsg2(cnum, "The Delayed Effect fizzes away into nothing as it approaches you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:281:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:283:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:288:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 288 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:288:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:293:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 293 | PrintMsg2(cnum, "The Delayed Effect spreads out in a cloud around you, waiting for you to complete a spell.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:293:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:304:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | PrintMsg2(cnum, "The Permanency fizzes away into nothing as it approaches you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:304:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:306:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:311:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 311 | PrintMsg(exbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:311:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:316:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 316 | PrintMsg2(cnum, "The Permanency spreads out in a cloud around you, waiting for you to complete a spell.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:316:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:325:101: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 325 | sprintf(exbuf2, "%s blinks, then stumbles slightly as %s eyes turn milky.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:325:101: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 325 | sprintf(exbuf2, "%s blinks, then stumbles slightly as %s eyes turn milky.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:327:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 327 | PrintMsg2(cnum, "A haze suddenly appears before your eyes. The world dims rapidly, and you are shortly enveloped in total darkness.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:327:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:329:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:335:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 335 | PrintMsg2(cnum, "You are still blind.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:335:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:337:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:347:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 347 | PrintMsg2(cnum, "The dark veil falls away from your eyes.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:347:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:349:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:358:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 358 | PrintMsg2(cnum, "The world becomes strangely misted in front of your eyes. Looking down, you see that your hands are no longer visible.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:358:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:360:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:366:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 366 | PrintMsg2(cnum, "You are still invisible.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:366:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:368:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:376:110: warning: call to undeclared function 'pro_he'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 376 | sprintf(exbuf2, "A %s-shaped shadow appears, and %s rapidly becomes fully visible.\n", fred->both.name, pro_he(fred->both.gender)); | ^ execute2.c:376:110: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 376 | sprintf(exbuf2, "A %s-shaped shadow appears, and %s rapidly becomes fully visible.\n", fred->both.name, pro_he(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:378:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 378 | PrintMsg2(cnum, "Your limbs have become visible again.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:378:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:380:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:405:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 405 | PrintMsg2(cnum, "The Remove Enchantment whirls its dissipative energies around you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:405:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:407:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:414:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 414 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:414:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:416:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:423:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 423 | PrintMsg(exbuf2); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ execute2.c:423:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:432:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:432:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:434:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:443:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 443 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:443:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:445:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:451:123: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 451 | sprintf(exbuf2, "%s seems to have stopped shivering, and %s skin is no longer flushed and damp.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:451:123: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 451 | sprintf(exbuf2, "%s seems to have stopped shivering, and %s skin is no longer flushed and damp.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:453:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 453 | PrintMsg2(cnum, "Your fever suddenly abates. You feel much better.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:453:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:455:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:462:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 462 | PrintMsg2(cnum, "The numbness and heaviness falls from your limbs. You feel much better.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:462:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:464:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:472:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 472 | PrintMsg2(cnum, "The Delayed Effect spell hovering around you disintegrates.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:472:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:474:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:481:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 481 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:481:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:490:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 490 | PrintMsg2(cnum, "The Permanency spell hovering around you disintegrates.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:490:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:492:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:500:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 500 | PrintMsg2(cnum, "Your circle of Protection flickers out.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:500:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:502:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:514:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 514 | PrintMsg2(cnum, "Everyone comes back up to normal speed.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:514:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:516:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:521:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 521 | PrintMsg2(cnum, "The Haste on you is nulled.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:521:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:523:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:531:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 531 | PrintMsg2(cnum, "The Time Stop on you is nulled.\n", exbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:531:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:533:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | PrintMsg(exbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:540:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 540 | PrintMsg2(cnum, "Your body tingles and becomes visible again.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:540:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:542:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:549:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 549 | PrintMsg2(cnum, "Sight bursts in upon you again.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:549:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:551:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:555:2: warning: call to undeclared function 'clear_permstats'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 555 | clear_permstats(&(fred->both.perm)); | ^ execute2.c:10:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | void exec_enchants(self, fred, cnum, wizflag) /* no deaders */ | ^ execute2.c:575:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 575 | PrintMsg2(cnum, "The knife slides off of your Shield.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:575:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:577:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:582:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 582 | PrintMsg2(cnum, "The knives slide off of your Shield.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:582:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- engine.c:18:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | void erase_queries(self) | ^ engine.c:37:36: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | self->querylist = (struct query *)realloc(self->querylist, sizeof(struct query) * self->querylist_size); | ^ engine.c:37:36: note: include the header or explicitly provide a declaration for 'realloc' engine.c:26:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | void add_query(self, player, qtype, rock) | ^ --- execute2.o --- execute2.c:584:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:592:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 592 | PrintMsg2(cnum, "The knife strikes you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- engine.c:45:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | void clear_permstats(ps) | ^ engine.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | void clear_out_spells(fred, wizflag) | ^ engine.c:107:5: warning: call to undeclared function 'clear_round'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | clear_round(fred); | ^ engine.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void InitBeing(fred) | ^ engine.c:110:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- execute2.c:592:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:594:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:597:60: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- engine.o --- 110 | char *gesture_name(val) | ^ engine.c:144:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | int write_gestures(self, wiz, vall, valr) | ^ engine.c:169:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | int previous_gesture(wiz, gnum, hand) | ^ engine.c:189:48: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 189 | struct realgame *self = (struct realgame *)malloc(sizeof(struct realgame)); | ^ engine.c:189:48: note: include the header or explicitly provide a declaration for 'malloc' --- execute2.o --- 597 | sprintf(exbuf, "The %s knives strike you.\n", number_name(zapl[SP__STAB])); | ^ execute2.c:598:60: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | sprintf(exbuf2, "The %s knives strike %s.\n", number_name(zapl[SP__STAB]), fred->both.name); | ^ execute2.c:600:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 600 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- engine.c:192:5: warning: call to undeclared function 'srandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | srandom(getpid() + rock + numplayers); | ^ engine.c:192:13: warning: call to undeclared function 'getpid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 192 | srandom(getpid() + rock + numplayers); | ^ engine.c:203:5: warning: call to undeclared function 'init_transcript'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 203 | init_transcript(self); | ^ engine.c:206:2: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 206 | PrintMsg("Too many players requested.\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' --- execute2.o --- execute2.c:600:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:602:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:614:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:206:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:213:12: warning: incompatible pointer types passing 'struct wizard *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 213 | InitBeing(self->wiz[ix]); | ^~~~~~~~~~~~~ engine.c:231:155: warning: passing arguments to 'pro_him' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- 614 | PrintMsg2(cnum, "The Missile shatters on your Shield.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:614:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:616:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- engine.o --- 231 | sprintf(bigbuf, "%s strides defiantly into the arena. The referee casts the formal Dispel Magic and Anti-Spell on %s....\n", self->wiz[ix]->name, pro_him(self->wiz[ix]->gender)); | ^ engine.c:232:2: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 232 | PrintMsg2(ix, "You advance confidently into the arena. The referee casts the formal Dispel Magic and Anti-Spell on you....\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:621:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 621 | PrintMsg2(cnum, "The Missiles shatter on your Shield.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:621:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- engine.c:232:2: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:264:21: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | setup_targetlist(self); | ^ engine.c:265:21: warning: passing arguments to 'setup_turnactive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | setup_turnactive(self); | ^ engine.c:182:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- execute2.c:623:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:631:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 631 | PrintMsg2(cnum, "The Missile strikes you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- 182 | game *BeginGame(numplayers, names, genders, callbacks, rock) | ^ In file included from engine.c:4: ./handwave.h:105: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] 105 | extern game *BeginGame( /* int numplayers, char **names, int *genders, struct interface *callbacks, rock */ ); | ^ engine.c:308:158: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | sprintf(bigbuf, "In a fit of absent-mindedness, %s repeats %s gestures from last turn: %s with the left hand, %s with the right.\n", wiz->name, pro_his(wiz->gender), gesture_name(wiz->gests[gnum].did[0]), gesture_name(wiz->gests[gnum].did[1])); --- execute2.o --- execute2.c:631:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:633:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:636:62: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- engine.o --- | ^ engine.c:309:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 309 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:309:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- execute2.o --- 636 | sprintf(exbuf, "The %s Missiles strike you.\n", number_name(zapl[SP__MISSILE])); | ^ execute2.c:637:62: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | sprintf(exbuf2, "The %s Missiles strike %s.\n", number_name(zapl[SP__MISSILE]), fred->both.name); | ^ execute2.c:639:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 639 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- engine.c:317:9: warning: call to undeclared function 'random'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 317 | jx = random() % 2; | ^ engine.c:323:130: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | sprintf(bigbuf, "%s accidentally makes a %s with %s %s hand.\n", wiz->name, gesture_name(wiz->gests[gnum].did[jx]), pro_his(wiz->gender), (jx?"right":"left")); | ^ engine.c:324:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | PrintMsg(bigbuf); | ^ --- execute2.o --- execute2.c:639:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:641:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:652:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:345:41: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 345 | add_query(self, kx, Qu_CharmGesture, (char *)val); | ^~~~~~~~~~~ engine.c:346:4: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 346 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:12:59: note: expanded from macro 'Queries' 12 | #define Queries(numqueries, querylist) (setup_targetlist(self),\ | ^ --- execute2.o --- 652 | PrintMsg2(cnum, "The Cause Light Wounds spell tears into you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:652:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:654:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- engine.o --- engine.c:346:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ engine.c:352:130: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | sprintf(bigbuf, "%s mysteriously makes a %s with %s %s hand.\n", wiz->name, gesture_name(wiz->gests[gnum].did[jx]), pro_his(wiz->gender), (jx?"right":"left")); | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:657:85: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | sprintf(exbuf, "The %s Cause Light Wounds spells tear into you.\n", number_name(zapl[SP__CAUSE_LIGHT_WOUNDS])); | ^ execute2.c:658:85: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | sprintf(exbuf2, "The %s Cause Light Wounds spells tear into %s.\n", number_name(zapl[SP__CAUSE_LIGHT_WOUNDS]), fred->both.name); | ^ --- engine.o --- engine.c:353:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:369:93: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | sprintf(bigbuf, "Terrified, %s does nothing with %s left hand.\n", wiz->name, pro_his(wiz->gender)); | ^ --- execute2.o --- execute2.c:660:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 660 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:660:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:662:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- engine.o --- engine.c:372:94: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | sprintf(bigbuf, "Terrified, %s does nothing with %s right hand.\n", wiz->name, pro_his(wiz->gender)); | ^ engine.c:378:96: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | sprintf(bigbuf, "%s is terrified, but manages %s gestures anyway.\n", wiz->name, pro_his(wiz->gender)); | ^ --- execute2.o --- 662 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:672:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 672 | PrintMsg2(cnum, "The Cause Heavy Wounds spell tears painfully into you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:672:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' --- engine.o --- engine.c:381:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:405:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 405 | PrintMsg("ERROR: paralysis previous_gesture returned bad value.\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- execute2.o --- 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:674:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:677:95: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | sprintf(exbuf, "The %s Cause Heavy Wounds spells tear painfully into you.\n", number_name(zapl[SP__CAUSE_HEAVY_WOUNDS])); | ^ --- engine.o --- engine.c:412:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:426:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 426 | PrintMsg2(ix, "You cannot stab with both hands!\n", NULL); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- execute2.o --- execute2.c:678:85: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | sprintf(exbuf2, "The %s Cause Heavy Wounds spells tear into %s.\n", number_name(zapl[SP__CAUSE_HEAVY_WOUNDS]), fred->both.name); | ^ execute2.c:680:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 680 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- engine.c:426:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:431:5: warning: call to undeclared function 'log_round_header'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 431 | log_round_header(self); | ^ engine.c:439:21: warning: passing arguments to 'find_castspells' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 439 | find_castspells(foundlist, self->wiz[ix]->numgests, self->wiz[ix]->gests); | ^ --- execute2.o --- execute2.c:680:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:682:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:692:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- engine.c:446:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 446 | PrintMsg2(ix, "Oh, dear. You seem to have surrendered.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:446:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:449:23: warning: passing arguments to 'restrict_gestures' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- 692 | PrintMsg2(cnum, "The Lightning Bolt strikes you, staggering and nearly deafening you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:692:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:694:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- engine.o --- 449 | restrict_gestures(self, ix); | ^ engine.c:452:5: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 452 | Queries(self->numqueries, self->querylist); /* "what spell do you want ot cast with your * hand?" questions. */ | ^ ./internal.h:12:59: note: expanded from macro 'Queries' 12 | #define Queries(numqueries, querylist) (setup_targetlist(self),\ | ^ engine.c:452:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:697:124: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | sprintf(exbuf, "The %s Lightning Bolts crash into you; the concussions nearly knock you off your feet.\n", number_name(zapl[SP__LIGHTNING_BOLT])); | ^ execute2.c:698:87: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | sprintf(exbuf2, "The %s Lightning Bolts strike %s, staggering %s.\n", number_name(zapl[SP__LIGHTNING_BOLT]), fred->both.name, pro_him(fred->both.gender)); --- engine.o --- engine.c:453:20: warning: passing arguments to 'build_cast_list' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | build_cast_list(self); | ^ engine.c:459:18: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | setup_targetlist(self); | ^ engine.c:460:18: warning: passing arguments to 'setup_turnactive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | setup_turnactive(self); | ^ engine.c:469:19: warning: passing arguments to 'execute_spells' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | execute_spells(self); | ^ --- execute2.o --- | ^ execute2.c:698:132: warning: call to undeclared function 'pro_him'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 698 | sprintf(exbuf2, "The %s Lightning Bolts strike %s, staggering %s.\n", number_name(zapl[SP__LIGHTNING_BOLT]), fred->both.name, pro_him(fred->both.gender)); | ^ execute2.c:698:132: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 698 | sprintf(exbuf2, "The %s Lightning Bolts strike %s, staggering %s.\n", number_name(zapl[SP__LIGHTNING_BOLT]), fred->both.name, pro_him(fred->both.gender)); --- engine.o --- engine.c:470:21: warning: passing arguments to 'execute_monsters' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | execute_monsters(self); | ^ engine.c:471:14: warning: passing arguments to 'pass_time' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | pass_time(self); | ^ engine.c:486:18: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 486 | setup_targetlist(self); /* well, just because */ | ^ engine.c:487:24: warning: passing arguments to 'analyze_endgame' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | return analyze_endgame(self, numlive, numdead, numsurr); --- execute2.o --- | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:700:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 700 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:700:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ --- engine.o --- | ^ engine.c:507:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 507 | PrintMsg2(ix, "Everything around you stops dead. The world is silent and motionless.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:507:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- execute2.o --- | ^ execute2.c:702:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:711:112: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 711 | sprintf(exbuf2, "The Fireball strikes %s, but the flames slide off %s Resist Heat aura.\n", fred->both.name, pro_his(fred->both.gender)); | ^ --- engine.o --- engine.c:511:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 511 | PrintMsg2(ix, "Everything begins moving again.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:511:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:521:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- execute2.o --- execute2.c:711:112: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 711 | sprintf(exbuf2, "The Fireball strikes %s, but the flames slide off %s Resist Heat aura.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:713:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 713 | PrintMsg2(cnum, "The Fireball strikes you, but you feel only a slight warmth.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- 521 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:521:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:525:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 525 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ --- execute2.o --- execute2.c:713:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:715:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:718:112: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- engine.c:525:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:542:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 542 | PrintMsg2(ix, "Everyone else begins moving very slowly.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:542:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- 718 | sprintf(exbuf2, "The Fireballs strike %s, but the flames slide off %s Resist Heat aura.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:718:112: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 718 | sprintf(exbuf2, "The Fireballs strike %s, but the flames slide off %s Resist Heat aura.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:720:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:547:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 547 | PrintMsg2(ix, "Everyone else is still moving slowly.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:547:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ --- execute2.o --- 720 | PrintMsg2(cnum, "The Fireballs strike you, but you feel only a slight warmth.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:720:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:722:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- engine.o --- | ^ engine.c:551:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 551 | PrintMsg2(ix, "Everyone comes back up to normal speed.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:551:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:730:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 730 | PrintMsg2(cnum, "The Fireball strikes you with a roar of flame.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:730:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- engine.c:562:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 562 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:562:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:567:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 567 | PrintMsg(bigbuf); | ^ --- execute2.o --- execute2.c:732:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:735:104: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | sprintf(exbuf, "The %s Fireballs blast into you, surrounding you with blinding flame.\n", number_name(zapl[SP__FIREBALL])); | ^ --- engine.o --- ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:567:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:571:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 571 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ --- execute2.o --- execute2.c:736:63: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | sprintf(exbuf2, "The %s Fireballs strike %s.\n", number_name(zapl[SP__FIREBALL]), fred->both.name); | ^ execute2.c:738:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 738 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:738:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- engine.o --- engine.c:571:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:580:21: warning: passing arguments to 'setup_targetlist' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | setup_targetlist(self); | ^ engine.c:581:21: warning: passing arguments to 'setup_turnactive' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | setup_turnactive(self); | ^ engine.c:271:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:740:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:749:104: warning: call to undeclared function 'pro_him'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 749 | sprintf(exbuf2, "The Counter-Spell around %s cancels the Fire Storm near %s.\n", fred->both.name, pro_him(fred->both.gender)); --- engine.o --- 271 | int RunTurn(pgame, moves) | ^ In file included from engine.c:4: ./handwave.h:108:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 108 | extern int RunTurn( /* game *game, int *moves */ ); | ^ engine.c:585:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | void SeeGesture(pgame, player, asker, buf, size) | ^ In file included from engine.c:4: ./handwave.h:111: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] 111 | extern void SeeGesture( /* game *game, int player, int asker, int *buf, int size */ ); | ^ --- execute2.o --- | ^ execute2.c:749:104: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 749 | sprintf(exbuf2, "The Counter-Spell around %s cancels the Fire Storm near %s.\n", fred->both.name, pro_him(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:751:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 751 | PrintMsg2(cnum, "The Counter-Spell cancels the Fire Storm in your vicinity.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' --- engine.o --- engine.c:615:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 615 | free((char *)self->wiz[ix]); | ^ engine.c:615:2: note: include the header or explicitly provide a declaration for 'free' engine.c:608:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 608 | void FreeGame(pgame) | ^ In file included from engine.c:4: ./handwave.h:113: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] 113 | extern void FreeGame( /* game *game */ ); | ^ --- execute2.o --- 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:751:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:753:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 753 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- engine.o --- engine.c:651:54: warning: passing arguments to 'StuffAboutBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | self->targetlist[0][res].stuff = StuffAboutBeing((game *)self, QuVal_Target_Wizard, ix); | ^ engine.c:661:54: warning: passing arguments to 'StuffAboutBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | self->targetlist[1][res].stuff = StuffAboutBeing((game *)self, QuVal_Target_Creature, ix); | ^ engine.c:628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | void setup_targetlist(self) | ^ In file included from engine.c:5: --- execute2.o --- execute2.c:757:117: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 757 | sprintf(exbuf2, "The Fire Storm washes over %s, who remains unharmed inside %s blue aura.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:757:117: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 757 | sprintf(exbuf2, "The Fire Storm washes over %s, who remains unharmed inside %s blue aura.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d --- engine.o --- ./internal.h:171: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] 171 | extern void setup_targetlist(); /* needed if Queries() is to be used */ | ^ engine.c:685:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | int NumberOfTargets(pgame, targettype) | ^ In file included from engine.c:4: ./handwave.h:118:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 118 | extern int NumberOfTargets( /* game *game, int targettype */); | ^ --- execute2.o --- execute2.c:759:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 759 | PrintMsg2(cnum, "The Fire Storm washes over you, but you feel only a gentle warmth.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:759:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- engine.c:703:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | int NumberOfBeings(pgame, targettype) | ^ In file included from engine.c:4: ./handwave.h:123:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 123 | extern int NumberOfBeings( /* game *game, int targettype */); | ^ engine.c:718:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 718 | char *NameOfTarget(pgame, targettype, targetnum) | ^ In file included from engine.c:4: --- execute2.o --- execute2.c:761:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:767:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 767 | PrintMsg2(cnum, "The Fire Storm washes over you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- ./handwave.h:119: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] 119 | extern char *NameOfTarget( /* game *game, int targettype, int targetnum */); | ^ engine.c:743:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | int IndexOfTarget(pgame, targettype, targetnum) | ^ engine.c:767:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | int StuffAboutTarget(pgame, targettype, targetnum) | ^ In file included from engine.c:4: --- execute2.o --- execute2.c:767:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:769:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:777:103: warning: call to undeclared function 'pro_him'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- ./handwave.h:120:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 120 | extern int StuffAboutTarget( /* game *game, int targettype, int targetnum */); | ^ engine.c:792:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | int HitPointsOfBeing(pgame, targettype, indexnum) | ^ In file included from engine.c:4: ./handwave.h:124:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 124 | extern int HitPointsOfBeing( /* game *game, int targettype, int indexnum */); | ^ --- execute2.o --- 777 | sprintf(exbuf2, "The Counter-Spell around %s cancels the Ice Storm near %s.\n", fred->both.name, pro_him(fred->both.gender)); | ^ execute2.c:777:103: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 777 | sprintf(exbuf2, "The Counter-Spell around %s cancels the Ice Storm near %s.\n", fred->both.name, pro_him(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:779:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- engine.c:830:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | int StuffAboutBeing(pgame, targettype, indexnum) | ^ In file included from engine.c:4: ./handwave.h:125:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 125 | extern int StuffAboutBeing( /* game *game, int targettype, int indexnum */); | ^ engine.c:873:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 873 | int OwnerOfCreature(pgame, indexnum) | ^ In file included from engine.c:4: --- execute2.o --- 779 | PrintMsg2(cnum, "The Counter-Spell cancels the Ice Storm in your vicinity.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:779:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:781:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- engine.o --- ./handwave.h:126:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 126 | extern int OwnerOfCreature( /* game *game, int indexnum */); | ^ engine.c:886:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | char *NameOfBeing(pgame, targettype, indexnum) | ^ In file included from engine.c:4: ./handwave.h:127: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] 127 | extern char *NameOfBeing( /* game *game, int targettype, int indexnum */); | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:788:116: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 788 | sprintf(exbuf2, "The Ice Storm washes over %s, who remains unharmed inside %s pink aura.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:788:116: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 788 | sprintf(exbuf2, "The Ice Storm washes over %s, who remains unharmed inside %s pink aura.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- engine.o --- engine.c:910:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | int TurnType(pgame) | ^ In file included from engine.c:4: ./handwave.h:115:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 115 | extern int TurnType( /* game *game */ ); | ^ engine.c:944:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 944 | PrintMsg("ERROR: Unknown turn type\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ --- execute2.o --- | %d execute2.c:790:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 790 | PrintMsg2(cnum, "The Ice Storm washes over you, but you feel only a gentle coolness.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:790:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- engine.c:944:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:919:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | static void setup_turnactive(self) | ^ engine.c:16: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] 16 | static void setup_turnactive(); | ^ --- execute2.o --- execute2.c:792:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:798:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 798 | PrintMsg2(cnum, "The Ice Storm lashes at you.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- engine.c:949:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | int TurnPlayerActive(pgame, player) | ^ In file included from engine.c:4: ./handwave.h:116:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 116 | extern int TurnPlayerActive( /* game *game, int player */ ); | ^ engine.c:993:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 993 | PrintMsg("ERROR in restrict_gestures\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ --- execute2.o --- execute2.c:798:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:800:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:807:108: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- engine.c:993:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1009:42: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] 1009 | add_query(self, wiznum, Qu_SetOffDelay, (char *)self->wiz[wiznum]->delay_bank); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engine.c:959:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | static void restrict_gestures(self, wiznum) | ^ --- execute2.o --- 807 | sprintf(exbuf2, "%s turns very pale and drops to %s knees, clutching at %s chest....\n", fred->both.name, pro_his(fred->both.gender), pro_his(fred->both.gender)); | ^ execute2.c:807:108: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 807 | sprintf(exbuf2, "%s turns very pale and drops to %s knees, clutching at %s chest....\n", fred->both.name, pro_his(fred->both.gender), pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:807:136: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] --- engine.o --- engine.c:14: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] 14 | static void restrict_gestures(), build_cast_list(), pass_time(); | ^ engine.c:1155:48: warning: incompatible pointer types passing 'int[11]' to parameter of type 'char *' [-Wincompatible-pointer-types] 1155 | add_query(self, wiznum, Qu_WhichToDelay, delnum); | ^~~~~~ engine.c:1156:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ --- execute2.o --- 807 | sprintf(exbuf2, "%s turns very pale and drops to %s knees, clutching at %s chest....\n", fred->both.name, pro_his(fred->both.gender), pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:809:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 809 | PrintMsg2(cnum, "You feel a sudden pressure in your chest, as if an iron band was squeezing your heart. You fall to your knees as the world dims....\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- | ^ engine.c:1166:4: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1166 | PrintMsg("ERROR: Unable to find Delayed spell.\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1166:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- execute2.o --- execute2.c:809:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:811:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:560:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- engine.o --- engine.c:1172:141: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | sprintf(bigbuf2, "%s casts %s; the spell is caught in the web of %s Delayed Effect.\n", wiz->name, spelllist[res->spellnum].name, pro_his(wiz->gender)); | ^ engine.c:1173:4: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1173 | PrintMsg2(wiznum, bigbuf, bigbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- execute2.o --- 560 | void exec_attacks(self, fred, cnum, wizflag) /* no deaders */ | ^ execute2.c:833:107: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 833 | sprintf(exbuf2, "The Cure Light Wounds spell weaves around %s, and %s wounds fade.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:833:107: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 833 | sprintf(exbuf2, "The Cure Light Wounds spell weaves around %s, and %s wounds fade.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- engine.o --- engine.c:1173:4: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1177:8: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1177 | PrintMsg2(wiznum, bigbuf, bigbuf2); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1210:47: warning: incompatible pointer types passing 'int[11]' to parameter of type 'char *' [-Wincompatible-pointer-types] --- execute2.o --- | %d execute2.c:835:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 835 | PrintMsg2(cnum, "The Cure Light Wounds spell weaves around you, and the pain of your wounds lessens.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:835:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- 1210 | add_query(self, wiznum, Qu_WhichToPerm, delnum); | ^~~~~~ engine.c:1211:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | Queries(self->numqueries, self->querylist); | ^ ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ engine.c:1218:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1218 | PrintMsg2(wiznum, bigbuf, NULL); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ --- execute2.o --- execute2.c:837:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 837 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:840:121: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | sprintf(exbuf, "The %s Cure Light Wounds spells weave around you, and the pain of your wounds lessens.\n", number_name(zapl[SP__CURE_LIGHT_WOUNDS])); | ^ --- engine.o --- | ^ engine.c:1218:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1238:63: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion] 1238 | add_query(self, tmp->caster, spelltargetlist[tmp->spellnum], tmp->spellnum | orval); | ^~~~~~~~~~~~~~~~~~~~~ engine.c:1240:5: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- execute2.c:841:104: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | sprintf(exbuf2, "The %s Cure Light Wounds spells weave around %s, and %s wounds fade.\n", number_name(zapl[SP__CURE_LIGHT_WOUNDS]), fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:841:152: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 841 | sprintf(exbuf2, "The %s Cure Light Wounds spells weave around %s, and %s wounds fade.\n", number_name(zapl[SP__CURE_LIGHT_WOUNDS]), fred->both.name, pro_his(fred->both.gender)); --- engine.o --- 1240 | Queries(self->numqueries, self->querylist); /* "who do you want to cast X on?" queries */ | ^ ./internal.h:13:34: note: expanded from macro 'Queries' 13 | (self->callbacks.proc_Queries)((numqueries),\ | ^ engine.c:1027:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | static void build_cast_list(self) | ^ engine.c:14:34: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static void restrict_gestures(), build_cast_list(), pass_time(); | ^ --- execute2.o --- | ^ execute2.c:841:152: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 841 | sprintf(exbuf2, "The %s Cure Light Wounds spells weave around %s, and %s wounds fade.\n", number_name(zapl[SP__CURE_LIGHT_WOUNDS]), fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:843:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 843 | PrintMsg2(cnum, exbuf, exbuf2); --- engine.o --- engine.c:1279:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1279 | PrintMsg2(cnum, "You begin to feel somewhat feverish.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:1279:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1281:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:843:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:845:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ --- engine.o --- 1281 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1286:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1286 | PrintMsg2(cnum, "Your fever is growing worse.\n", bigbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1288:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | PrintMsg(bigbuf); | ^ --- execute2.o --- | ^ execute2.c:853:107: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 853 | sprintf(exbuf2, "The Cure Heavy Wounds spell weaves around %s, and %s wounds heal.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:853:107: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 853 | sprintf(exbuf2, "The Cure Heavy Wounds spell weaves around %s, and %s wounds heal.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- engine.o --- ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1291:122: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | sprintf(bigbuf, "%s is flushed and sweating, and seems to be somewhat unsteady on %s feet.\n", fred->both.name, pro_his(fred->both.gender)); | ^ engine.c:1293:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | PrintMsg2(cnum, "You are very hot and somewhat dizzy, and your bones are starting to ache.\n", bigbuf); | ^ --- execute2.o --- | %d execute2.c:855:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 855 | PrintMsg2(cnum, "The Cure Heavy Wounds spell weaves around you, and your wounds heal considerably.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:855:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1295:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1300:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | PrintMsg2(cnum, "You are feverish and shivering at the same time, and you ache all over.\n", bigbuf); | ^ --- execute2.o --- execute2.c:857:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:860:119: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | sprintf(exbuf, "The %s Cure Heavy Wounds spells weave around you, and your wounds heal considerably.\n", number_name(zapl[SP__CURE_HEAVY_WOUNDS])); | ^ --- engine.o --- ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1302:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1305:106: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | sprintf(bigbuf, "%s crumples to the ground, agony on %s sweating features.\n", fred->both.name, pro_his(fred->both.gender)); --- execute2.o --- execute2.c:861:104: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | sprintf(exbuf2, "The %s Cure Heavy Wounds spells weave around %s, and %s wounds heal.\n", number_name(zapl[SP__CURE_HEAVY_WOUNDS]), fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:861:152: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 861 | sprintf(exbuf2, "The %s Cure Heavy Wounds spells weave around %s, and %s wounds heal.\n", number_name(zapl[SP__CURE_HEAVY_WOUNDS]), fred->both.name, pro_his(fred->both.gender)); --- engine.o --- | ^ engine.c:1307:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | PrintMsg2(cnum, "Your knees give way and you fall to the ground. Your head pounds unmercifully as consciousness slips away....\n", bigbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1309:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- execute2.o --- | ^ execute2.c:861:152: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 861 | sprintf(exbuf2, "The %s Cure Heavy Wounds spells weave around %s, and %s wounds heal.\n", number_name(zapl[SP__CURE_HEAVY_WOUNDS]), fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:863:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 863 | PrintMsg2(cnum, exbuf, exbuf2); --- engine.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1324:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1324 | PrintMsg2(cnum, "Your toes suddenly feel slightly numb.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:1324:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- execute2.o --- | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:863:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:865:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ --- engine.o --- engine.c:1326:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1331:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | PrintMsg2(cnum, "Your hands and feet are getting numb.\n", bigbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- execute2.o --- | ^ execute2.c:871:120: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 871 | sprintf(exbuf2, "%s seems to have stopped shivering, and %s skin is no longer flushed and damp.\n", fred->both.name, pro_his(fred->both.gender)); | ^ execute2.c:871:120: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 871 | sprintf(exbuf2, "%s seems to have stopped shivering, and %s skin is no longer flushed and damp.\n", fred->both.name, pro_his(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ --- engine.o --- engine.c:1333:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1338:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1338 | PrintMsg2(cnum, "Your limbs are heavy, and your fingers are getting clumsy.\n", bigbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- execute2.o --- | %d execute2.c:873:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 873 | PrintMsg2(cnum, "Your fever suddenly abates. You feel much better.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:873:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ --- engine.o --- engine.c:1340:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1343:92: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | sprintf(bigbuf, "%s is having difficulty staying on %s feet.\n", fred->both.name, pro_his(fred->both.gender)); | ^ --- execute2.o --- execute2.c:875:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:882:146: warning: call to undeclared function 'pro_he'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 882 | sprintf(exbuf2, "The Raise Dead spell burns through %s. Although %s is not dead, the spell has a powerful healing effect.\n", fred->both.name, pro_he(fred->both.gender)); | ^ --- engine.o --- engine.c:1345:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1345 | PrintMsg2(cnum, "You cannot feel your hands and feet, and your vision is becoming clouded.\n", bigbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1347:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1347 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- execute2.o --- execute2.c:882:146: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 882 | sprintf(exbuf2, "The Raise Dead spell burns through %s. Although %s is not dead, the spell has a powerful healing effect.\n", fred->both.name, pro_he(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:884:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 884 | PrintMsg2(cnum, "The Raise Dead spell burns through you. Although you aren't dead, the spell has a powerful healing influence.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' --- engine.o --- engine.c:1350:92: warning: passing arguments to 'pro_his' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | sprintf(bigbuf, "%s collapses in a heap, twitching slightly.\n", fred->both.name, pro_his(fred->both.gender)); | ^ engine.c:1350:85: warning: data argument not used by format string [-Wformat-extra-args] 1350 | sprintf(bigbuf, "%s collapses in a heap, twitching slightly.\n", fred->both.name, pro_his(fred->both.gender)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ engine.c:1352:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] --- execute2.o --- 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:884:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:886:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- engine.o --- 1352 | PrintMsg2(cnum, "You stumble and fall to your knees, vision dimming. Numbness creeps through your bones, and you cannot tell if you are still breathing....\n", bigbuf); | ^ ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1354:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | PrintMsg(bigbuf); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- execute2.o --- execute2.c:889:149: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | sprintf(exbuf, "The %s Raise Dead spells burn through you. Although you aren't dead, the spells have a powerful healing influence.\n", number_name(zapl[SP__RAISE_DEAD])); | ^ execute2.c:890:145: warning: passing arguments to 'number_name' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | sprintf(exbuf2, "The %s Raise Dead spells burn through %s. Although %s is not dead, the spells have a powerful healing effect.\n", number_name(zapl[SP__RAISE_DEAD]), fred->both.name, pro_he(fred->both.gender)); --- engine.o --- engine.c:1261:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | static void exec_unhealth(self, fred, cnum, wizflag) /* no deaders */ | ^ engine.c:1370:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1370 | PrintMsg2(ix, "You have died!\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:1370:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ --- execute2.o --- | ^ execute2.c:890:186: warning: call to undeclared function 'pro_he'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 890 | sprintf(exbuf2, "The %s Raise Dead spells burn through %s. Although %s is not dead, the spells have a powerful healing effect.\n", number_name(zapl[SP__RAISE_DEAD]), fred->both.name, pro_he(fred->both.gender)); | ^ execute2.c:890:186: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] --- engine.o --- | ^ engine.c:1372:23: warning: incompatible pointer types passing 'struct wizard *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 1372 | clear_out_spells(self->wiz[ix], 1); | ^~~~~~~~~~~~~ engine.c:1377:26: warning: incompatible pointer types passing 'struct wizard *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 1377 | exec_unhealth(self, self->wiz[ix], ix, 1); | ^~~~~~~~~~~~~ engine.c:1384:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1384 | PrintMsg2(ix, "The Delayed Effect spell hovering around you dies away.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' --- execute2.o --- 890 | sprintf(exbuf2, "The %s Raise Dead spells burn through %s. Although %s is not dead, the spells have a powerful healing effect.\n", number_name(zapl[SP__RAISE_DEAD]), fred->both.name, pro_he(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:892:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 892 | PrintMsg2(cnum, exbuf, exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- engine.o --- 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ engine.c:1384:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1393:7: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1393 | PrintMsg2(ix, "The Permanency spell hovering around you dies away.\n", bigbuf); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ --- execute2.o --- execute2.c:892:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:894:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:905:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- engine.c:1393:7: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ engine.c:1401:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1401 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1401:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- execute2.o --- 905 | PrintMsg2(cnum, "You are in perfect health again.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:905:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:907:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' --- engine.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1403:23: warning: incompatible pointer types passing 'struct creature *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 1403 | clear_out_spells(&(self->cre[ix]), 0); | ^~~~~~~~~~~~~~~~ engine.c:1407:26: warning: incompatible pointer types passing 'struct creature *' to parameter of type 'union being *' [-Wincompatible-pointer-types] 1407 | exec_unhealth(self, &self->cre[ix], ix, 0); | ^~~~~~~~~~~~~~ engine.c:1362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1362 | static void pass_time(self) | ^ --- execute2.o --- 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:913:158: warning: call to undeclared function 'pro_his'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 913 | sprintf(exbuf2, "%s twitches, glows, and then jumps to %s feet! Except for a bit of incipient mold, %s is in perfect health again.\n", fred->both.name, pro_his(fred->both.gender), pro_he(fred->both.gender)); | ^ execute2.c:913:186: warning: call to undeclared function 'pro_he'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] --- engine.o --- engine.c:14:53: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 14 | static void restrict_gestures(), build_cast_list(), pass_time(); | ^ engine.c:1425:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1425 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1425:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ --- xloop.o --- --- execute2.o --- 913 | sprintf(exbuf2, "%s twitches, glows, and then jumps to %s feet! Except for a bit of incipient mold, %s is in perfect health again.\n", fred->both.name, pro_his(fred->both.gender), pro_he(fred->both.gender)); | ^ execute2.c:913:158: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 913 | sprintf(exbuf2, "%s twitches, glows, and then jumps to %s feet! Except for a bit of incipient mold, %s is in perfect health again.\n", fred->both.name, pro_his(fred->both.gender), pro_he(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:913:186: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat] 913 | sprintf(exbuf2, "%s twitches, glows, and then jumps to %s feet! Except for a bit of incipient mold, %s is in perfect health again.\n", fred->both.name, pro_his(fred->both.gender), pro_he(fred->both.gender)); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ | %d execute2.c:915:3: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 915 | PrintMsg2(cnum, "You are suddenly aware of a blast of energy running down every nerve! This is something of a shock, since you had just gotten used to being dead. Oh, well -- you'll be back eventually.\n", exbuf2); | ^ ./internal.h:6:45: note: expanded from macro 'PrintMsg2' 6 | #define PrintMsg2(person, msg1, msgelse) (log_text(self, msgelse),\ | ^ execute2.c:915:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:7:35: note: expanded from macro 'PrintMsg2' 7 | self->callbacks.proc_PrintMsg2)((person), (msg1),\ | ^ execute2.c:917:3: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | PrintMsg(exbuf2); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ execute2.c:920:6: warning: call to undeclared function 'clear_out_spells'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 920 | clear_out_spells(fred, wizflag); | ^ execute2.c:818:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | void exec_heals(self, fred, cnum, wizflag) /* deaders ARE allowed */ | ^ 308 warnings generated. --- engine.o --- engine.c:1432:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1432 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1432:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1436:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1436 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1436:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1444:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1444 | PrintMsg("Everyone is dead!\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1444:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1453:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1453 | PrintMsg(bigbuf); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1453:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1458:6: warning: call to undeclared function 'log_text'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1458 | PrintMsg("The survivors have all surrendered to each other!\n"); | ^ ./internal.h:3:26: note: expanded from macro 'PrintMsg' 3 | #define PrintMsg(msg) (log_text(self, msg),\ | ^ engine.c:1458:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1460:6: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | PrintMsg("Everyone has surrendered to each other!\n"); | ^ ./internal.h:4:34: note: expanded from macro 'PrintMsg' 4 | self->callbacks.proc_PrintMsg)((msg), self,\ | ^ engine.c:1411:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | static int analyze_endgame(self, numlive, numdead, numsurr) | ^ engine.c:15:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 15 | static int analyze_endgame(); | ^ 194 warnings generated. --- execute2.o --- --- xquery.o --- xquery.c:47:36: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 47 | py->answers = (struct answer *)malloc(sizeof(struct answer) * py->answers_size); | ^ xquery.c:47:36: note: include the header or explicitly provide a declaration for 'malloc' xquery.c:43:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | void init_query(py) | ^ xquery.c:72:2: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 72 | free(tempstringlist); | ^ xquery.c:72:2: note: include the header or explicitly provide a declaration for 'free' xquery.c:77:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 77 | char *tempstring_malloc(len) | ^ xquery.c:88:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | void clear_answers(py) | ^ xquery.c:107:33: warning: call to undeclared library function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 107 | py->answers = (struct answer *)realloc(py->answers, | ^ xquery.c:107:33: note: include the header or explicitly provide a declaration for 'realloc' xquery.c:95:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | void add_answer(py, qu_str, ans_str, done_init, answer_init, qrock, introck) | ^ xquery.c:120:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | int DrawStringField(py, str, xpos, ypos, width) | ^ xquery.c:165:5: warning: call to undeclared function 'redraw_scrollbar'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 165 | redraw_scrollbar(&(py->siquery)); | ^ xquery.c:140:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 140 | void redraw_queries_only(py, baronly) | ^ xquery.c:41: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] 41 | void redraw_queries_only(); | ^ xquery.c:168:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | void redraw_queries(py) | ^ xquery.c:186:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | static void add_to_targetlist(tl, name, targnum) | ^ xquery.c:229:31: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | numtargs = NumberOfTargets(gameval, QuVal_Target_Wizard); | ^ xquery.c:232:23: warning: passing arguments to 'NameOfTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | realnm = NameOfTarget(gameval, QuVal_Target_Wizard, jx); | ^ xquery.c:233:26: warning: passing arguments to 'StuffAboutTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | stuff = StuffAboutTarget(gameval, QuVal_Target_Wizard, jx); | ^ xquery.c:248:31: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 248 | numtargs = NumberOfTargets(gameval, QuVal_Target_Creature); | ^ xquery.c:251:23: warning: passing arguments to 'NameOfTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | realnm = NameOfTarget(gameval, QuVal_Target_Creature, jx); | ^ xquery.c:252:26: warning: passing arguments to 'StuffAboutTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 252 | stuff = StuffAboutTarget(gameval, QuVal_Target_Creature, jx); | ^ xquery.c:265:31: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | numtargs = NumberOfTargets(gameval, QuVal_Target_Corpse); | ^ xquery.c:268:23: warning: passing arguments to 'NameOfTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | realnm = NameOfTarget(gameval, QuVal_Target_Corpse, jx); | ^ xquery.c:291:12: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 291 | static qu_buf[MAXQUESTIONLENGTH], ans_buf[MAXANSWERLENGTH]; | ~~~~~~ ^ | int xquery.c:291:39: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 291 | static qu_buf[MAXQUESTIONLENGTH], ans_buf[MAXANSWERLENGTH]; | ~~~~~~ ^ | int xquery.c:313:14: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 313 | strcpy(qu_buf, "What spell do you want to cast with your left hand?"); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:317:14: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 317 | strcpy(qu_buf, "What spell do you want to cast with your right hand?"); | ^~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:336:10: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 336 | strcpy(ans_buf, ""); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:337:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 337 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), (long)hlist); | ^~~~~~ xquery.c:337:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 337 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), (long)hlist); | ^~~~~~~ xquery.c:341:8: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 341 | jx = (int)(qlist[ix].rock); | ^~~~~~~~~~~~~~~~~~~~~ xquery.c:351:16: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | NameOfBeing(gameval, QuVal_Target_Wizard, | ^ xquery.c:350:11: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 350 | sprintf(qu_buf, "What gesture do you want %s's %s hand to make?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:353:10: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 353 | strcpy(ans_buf, ""); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:354:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 354 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~ xquery.c:354:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 354 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:363:15: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 363 | sprintf(qu_buf, "Which spell do you want to delay?"); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:367:15: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 367 | sprintf(qu_buf, "Which spell do you want to make permanent?"); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:374:10: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 374 | strcpy(ans_buf, ""); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:375:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 375 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~ xquery.c:375:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 375 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:380:15: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 380 | spelllist[(int)qlist[ix].rock].name); | ^~~~~~~~~~~~~~~~~~~ xquery.c:379:11: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 379 | sprintf(qu_buf, "Do you want to release the %s from the Delayed Effect?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:381:10: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 381 | strcpy(ans_buf, "No"); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:382:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 382 | add_answer(py, qu_buf, ans_buf, 1, 0, &(qlist[ix]), 0); | ^~~~~~ xquery.c:382:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 382 | add_answer(py, qu_buf, ans_buf, 1, 0, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:389:16: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | NameOfBeing(gameval, QuVal_Target_Wizard, | ^ xquery.c:388:15: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 388 | sprintf(qu_buf, "Which of %s's hands do you want to paralyze?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:393:16: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | NameOfBeing(gameval, QuVal_Target_Wizard, | ^ xquery.c:392:15: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 392 | sprintf(qu_buf, "Which of %s's hands do you want to control?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:395:10: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 395 | strcpy(ans_buf, ""); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:396:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 396 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~ xquery.c:396:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 396 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:399:11: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 399 | sprintf(qu_buf, "Which type of elemental do you want to summon?"); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:400:10: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 400 | strcpy(ans_buf, ""); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:401:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 401 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~ xquery.c:401:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 401 | add_answer(py, qu_buf, ans_buf, 0, 0, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:404:8: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 404 | jx = (int)(qlist[ix].rock); | ^~~~~~~~~~~~~~~~~~~~~ xquery.c:410:17: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | NameOfBeing(gameval, QuVal_Target_Creature, | ^ xquery.c:409:12: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 409 | sprintf(qu_buf, "Whom do you want %s to attack?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:415:17: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | NameOfBeing(gameval, QuVal_Target_Creature, | ^ xquery.c:414:12: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 414 | sprintf(qu_buf, "Whom do you want %s's first attack to be at?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:420:17: warning: passing arguments to 'NameOfBeing' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | NameOfBeing(gameval, QuVal_Target_Creature, | ^ xquery.c:419:12: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 419 | sprintf(qu_buf, "Whom do you want %s's second attack to be at?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:424:12: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 424 | sprintf(qu_buf, "ERROR: Query about %d (%d)", spellnum, attnum); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:428:37: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | int numtargs = NumberOfTargets(gameval, QuVal_Target_Wizard); | ^ xquery.c:429:14: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 429 | strcpy(ans_buf, "nobody"); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:432:10: warning: call to undeclared function 'IndexOfTarget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 432 | kx = (IndexOfTarget(gameval, QuVal_Target_Wizard, jx) & | ^ xquery.c:436:36: warning: passing arguments to 'NameOfTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 436 | strcpy(ans_buf, NameOfTarget(gameval, | ^ xquery.c:436:15: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 436 | strcpy(ans_buf, NameOfTarget(gameval, | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:442:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 442 | add_answer(py, qu_buf, ans_buf, 1, answer_init, &(qlist[ix]), 0); | ^~~~~~ xquery.c:442:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 442 | add_answer(py, qu_buf, ans_buf, 1, answer_init, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:449:8: warning: cast to smaller integer type 'int' from 'char *' [-Wpointer-to-int-cast] 449 | jx = (int)(qlist[ix].rock); | ^~~~~~~~~~~~~~~~~~~~~ xquery.c:460:15: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 460 | sprintf(qu_buf, "Who do you want to stab at (%s)?", handage); | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:462:15: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 462 | sprintf(qu_buf, "Who do you want to cast %s at (%s)?", | ^~~~~~ /usr/include/stdio.h:301:33: note: passing argument to parameter here 301 | int (sprintf)(char * __restrict, const char * __restrict, ...); | ^ xquery.c:465:37: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | int numtargs = NumberOfTargets(gameval, QuVal_Target_Wizard); | ^ xquery.c:466:14: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 466 | strcpy(ans_buf, "nobody"); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:469:10: warning: call to undeclared function 'IndexOfTarget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 469 | kx = (IndexOfTarget(gameval, QuVal_Target_Wizard, jx) & | ^ xquery.c:473:36: warning: passing arguments to 'NameOfTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | strcpy(ans_buf, NameOfTarget(gameval, | ^ xquery.c:473:15: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 473 | strcpy(ans_buf, NameOfTarget(gameval, | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:475:28: warning: passing arguments to 'StuffAboutTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | if (StuffAboutTarget(gameval, QuVal_Target_Wizard, | ^ xquery.c:477:12: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 477 | strcat(ans_buf, " [invisible]"); | ^~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ xquery.c:483:37: warning: passing arguments to 'NumberOfTargets' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | int numtargs = NumberOfTargets(gameval, QuVal_Target_Wizard); | ^ xquery.c:484:14: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 484 | strcpy(ans_buf, "nobody"); | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:487:10: warning: call to undeclared function 'IndexOfTarget'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 487 | kx = (IndexOfTarget(gameval, QuVal_Target_Wizard, jx) & | ^ xquery.c:491:36: warning: passing arguments to 'NameOfTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | strcpy(ans_buf, NameOfTarget(gameval, | ^ xquery.c:491:15: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 491 | strcpy(ans_buf, NameOfTarget(gameval, | ^~~~~~~ /usr/include/string.h:92:33: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:493:28: warning: passing arguments to 'StuffAboutTarget' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | if (StuffAboutTarget(gameval, QuVal_Target_Wizard, | ^ xquery.c:495:12: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 495 | strcat(ans_buf, " [invisible]"); | ^~~~~~~ /usr/include/string.h:84:33: note: passing argument to parameter here 84 | char *(strcat)(char * __restrict, const char * __restrict); | ^ xquery.c:500:18: warning: incompatible pointer types passing 'int[256]' to parameter of type 'char *' [-Wincompatible-pointer-types] 500 | add_answer(py, qu_buf, ans_buf, 1, answer_init, &(qlist[ix]), 0); | ^~~~~~ xquery.c:500:26: warning: incompatible pointer types passing 'int[64]' to parameter of type 'char *' [-Wincompatible-pointer-types] 500 | add_answer(py, qu_buf, ans_buf, 1, answer_init, &(qlist[ix]), 0); | ^~~~~~~ xquery.c:519:2: warning: call to undeclared function 'redraw_column'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 519 | redraw_column(py); | ^ xquery.c:520:2: warning: call to undeclared function 'draw_button'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | draw_button(py, 0, 1); /* redraw turn-end button */ | ^ xquery.c:524:5: warning: call to undeclared function 'mainloop'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 524 | mainloop(); | ^ xquery.c:276:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | void XQueries(numqueries, qlist, gameval, rock) | ^ xquery.c:539:5: warning: call to undeclared function 'draw_frame'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 539 | draw_frame(py, &py->query_rect); | ^ xquery.c:533:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | void draw_query_menu(py) | ^ xquery.c:562:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | int in_query_box(py, xpos, ypos) | ^ xquery.c:665:5: warning: call to undeclared function 'adjust_rect'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 665 | adjust_rect(&py->query_rect); | ^ xquery.c:666:5: warning: call to undeclared function 'backing_store'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 666 | backing_store(py, &py->query_rect); | ^ xquery.c:668:5: warning: call to undeclared function 'query_motion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 668 | query_motion(py, xpos, ypos, button); | ^ xquery.c:570:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | int query_hit(py, xpos, ypos, button) | ^ xquery.c:673:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | int query_motion(py, xpos, ypos, button) | ^ xquery.c:764:5: warning: call to undeclared function 'backing_restore'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 764 | backing_restore(py); | ^ xquery.c:769:49: warning: call to undeclared function 'gesture_name'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 769 | strcpy(py->answers[py->query_hit].ans_str, gesture_name(py->query_sel)); | ^ xquery.c:769:49: warning: incompatible integer to pointer conversion passing 'int' to parameter of type 'const char *' [-Wint-conversion] 769 | strcpy(py->answers[py->query_hit].ans_str, gesture_name(py->query_sel)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:92:58: note: passing argument to parameter here 92 | char *(strcpy)(char * __restrict, const char * __restrict); | ^ xquery.c:756:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | int query_release(py, xpos, ypos, button) | ^ 105 warnings generated. --- spellcast --- cc -o spellcast engine.o espells.o execute.o execute2.o emonster.o etran.o main.o xtext.o xquery.o xloop.o xgest.o xbutton.o xtalk.o -L/usr/local/lib -lX11 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> spellcast-1.2_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for spellcast-1.2_3 ===> Generating temporary packing list install -s -m 555 /wrkdirs/usr/ports/games/spellcast/work/spellcast/spellcast /wrkdirs/usr/ports/games/spellcast/work/stage/usr/local/bin install -m 444 /wrkdirs/usr/ports/games/spellcast/work/spellcast/spellcast.6 /wrkdirs/usr/ports/games/spellcast/work/stage/usr/local/share/man/man6 install -m 0644 /wrkdirs/usr/ports/games/spellcast/work/spellcast/README /wrkdirs/usr/ports/games/spellcast/work/spellcast/spelllist.ps /wrkdirs/usr/ports/games/spellcast/work/stage/usr/local/share/doc/spellcast ====> 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-09-30T23:38:25+0000' 'PKG_NOTE_ports_top_git_hash=a936fb9b16ba' 'PKG_NOTE_ports_top_checkout_unclean=no' 'PKG_NOTE_port_git_hash=4485bd8221c2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.2' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for spellcast-1.2_3 ===> Building spellcast-1.2_3 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for spellcast-1.2_3 build of games/spellcast | spellcast-1.2_3 ended at Tue Sep 30 19:39:16 EDT 2025 build time: 00:00:56