=>> Building games/falconseye build started at Sun Jan 25 03:38:18 EST 2026 port directory: /usr/ports/games/falconseye package name: falconseye-1.9.3_12 building for: FreeBSD pkg.DaveG.ca 13.5-RELEASE-p7 FreeBSD 13.5-RELEASE-p7 1305000 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 1864 Oct 16 2024 /usr/ports/games/falconseye/Makefile Ports top last git commit: 076a295eb33c Ports top unclean checkout: no Port dir last git commit: 4485bd8221c2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.2 Host OSVERSION: 1500068 Jail OSVERSION: 1305000 Job Id: 03 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1305000 UNAME_v=FreeBSD 13.5-RELEASE-p7 1305000 UNAME_r=13.5-RELEASE-p7 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.2 MASTERMNT=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=tmux-256color OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/03/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=freebsd_13_5_x64-HEAD-ALL SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/freebsd_13_5_x64-HEAD-ALL/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.2 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl PERL_USE_UNSAFE_INC=1 SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/falconseye/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/falconseye/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/falconseye/work/.cache HOME=/wrkdirs/usr/ports/games/falconseye/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/falconseye/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/falconseye/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local" --End CONFIGURE_ENV-- --MAKE_ENV-- NHDIR="/usr/local/share/falconseyedir" NETHACKCONFIG="/usr/ports/games/falconseye/files/x-config" PERL_USE_UNSAFE_INC=1 SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/falconseye/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/falconseye/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/falconseye/work/.cache HOME=/wrkdirs/usr/ports/games/falconseye/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/falconseye/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/falconseye/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 -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing " CPP="cpp" CPPFLAGS="-isystem /usr/local/include" LDFLAGS=" " LIBS="-L/usr/local/lib" CXX="c++" CXXFLAGS="-O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include " BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=13.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.0 PERL_VER=5.42 PERL5_MAN1=lib/perl5/site_perl/man/man1 PERL5_MAN3=lib/perl5/site_perl/man/man3 SITE_PERL=lib/perl5/site_perl SITE_ARCH=lib/perl5/site_perl/mach/5.42 DOCSDIR="share/doc/falconseye" EXAMPLESDIR="share/examples/falconseye" DATADIR="share/falconseyedir" WWWDIR="www/falconseye" ETCDIR="etc/falconseye" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/falconseyedir DOCSDIR=/usr/local/share/doc/falconseye EXAMPLESDIR=/usr/local/share/examples/falconseye WWWDIR=/usr/local/www/falconseye ETCDIR=/usr/local/etc/falconseye --End SUB_LIST-- ---Begin make.conf--- DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### DEFAULT_VERSIONS+=pgsql=15 DEFAULT_VERSIONS+=php=82 DISABLE_LICENSES=yes SELECTED_OPTIONS+=OPENBLAS ARCHDEF=AMD64K10h64SSE3 WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The falconseye port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> falconseye-1.9.3_12 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-2.5.1.pkg [pkg.DaveG.ca] Installing pkg-2.5.1... [pkg.DaveG.ca] Extracting pkg-2.5.1: .......... done ===> falconseye-1.9.3_12 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of falconseye-1.9.3_12 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The falconseye port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by falconseye-1.9.3_12 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The falconseye port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by falconseye-1.9.3_12 for building => SHA256 Checksum OK for nethack_source_331_jtp_193.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The falconseye port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by falconseye-1.9.3_12 for building ===> Extracting for falconseye-1.9.3_12 => SHA256 Checksum OK for nethack_source_331_jtp_193.zip. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for falconseye-1.9.3_12 ===> Applying FreeBSD patches for falconseye-1.9.3_12 from /usr/ports/games/falconseye/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> falconseye-1.9.3_12 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_17,2.pkg [pkg.DaveG.ca] Installing sdl-1.2.15_17,2... [pkg.DaveG.ca] `-- Installing aalib-1.4.r5_14... [pkg.DaveG.ca] | `-- Installing indexinfo-0.3.1_1... [pkg.DaveG.ca] | `-- Extracting indexinfo-0.3.1_1: . done [pkg.DaveG.ca] `-- Extracting aalib-1.4.r5_14: .......... done [pkg.DaveG.ca] `-- Installing libGLU-9.0.3... [pkg.DaveG.ca] | `-- Installing libglvnd-1.7.0... [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 [pkg.DaveG.ca] | | `-- Installing libXext-1.3.6,1... [pkg.DaveG.ca] | | `-- Extracting libXext-1.3.6,1: .......... done [pkg.DaveG.ca] | `-- Extracting libglvnd-1.7.0: .......... done [pkg.DaveG.ca] `-- Extracting libGLU-9.0.3: ..... done [pkg.DaveG.ca] `-- Installing libXrandr-1.5.4... [pkg.DaveG.ca] | `-- Installing libXrender-0.9.12... [pkg.DaveG.ca] | `-- Extracting libXrender-0.9.12: ....... done [pkg.DaveG.ca] `-- Extracting libXrandr-1.5.4: .......... done [pkg.DaveG.ca] Extracting sdl-1.2.15_17,2: .......... done ===== Message from aalib-1.4.r5_14: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===== Message from sdl-1.2.15_17,2: -- Your SDL library has been built with libvgl support, which means that you can run almost any SDL application straight on your console (VESA 2.0 compatible videocard is required). To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". ===> falconseye-1.9.3_12 depends on file: /usr/local/bin/sdl-config - found ===> Returning to build of falconseye-1.9.3_12 ===> falconseye-1.9.3_12 depends on package: perl5>=5.42.r<5.43 - not found ===> Installing existing package /packages/All/perl5-5.42.0_1.pkg [pkg.DaveG.ca] Installing perl5-5.42.0_1... [pkg.DaveG.ca] Extracting perl5-5.42.0_1: .......... done ===> falconseye-1.9.3_12 depends on package: perl5>=5.42.r<5.43 - found ===> Returning to build of falconseye-1.9.3_12 ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.16,2.pkg [pkg.DaveG.ca] Installing libXaw-1.0.16,2... [pkg.DaveG.ca] `-- Installing libXmu-1.1.4,1... [pkg.DaveG.ca] | `-- Installing libXt-1.3.0,1... [pkg.DaveG.ca] | | `-- Installing libICE-1.1.2,1... [pkg.DaveG.ca] | | `-- Extracting libICE-1.1.2,1: .......... done [pkg.DaveG.ca] | | `-- Installing libSM-1.2.6,1... [pkg.DaveG.ca] | | `-- Extracting libSM-1.2.6,1: ........ done [pkg.DaveG.ca] | `-- Extracting libXt-1.3.0,1: .......... done [pkg.DaveG.ca] `-- Extracting libXmu-1.1.4,1: .......... done [pkg.DaveG.ca] `-- Installing libXpm-3.5.17_1... [pkg.DaveG.ca] | `-- Installing gettext-runtime-0.26... [pkg.DaveG.ca] | `-- Extracting gettext-runtime-0.26: .......... done [pkg.DaveG.ca] `-- Extracting libXpm-3.5.17_1: .......... done [pkg.DaveG.ca] Extracting libXaw-1.0.16,2: .......... done ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of falconseye-1.9.3_12 ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> falconseye-1.9.3_12 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. ===> falconseye-1.9.3_12 depends on file: /usr/local/bin/ccache - found ===> Returning to build of falconseye-1.9.3_12 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> falconseye-1.9.3_12 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for falconseye-1.9.3_12 Lucky you! Symbolic links. =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for falconseye-1.9.3_12 ( cd src ; /usr/bin/make ) touch ../src/config.h-t cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c monst.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from monst.c:5: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from monst.c:5: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from monst.c:5: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c objects.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from objects.c:8: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from objects.c:8: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from objects.c:8: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c makedefs.c -o makedefs.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from makedefs.c:10: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from makedefs.c:10: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from makedefs.c:10: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from makedefs.c:10: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ makedefs.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | main(argc, argv) | ^ makedefs.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | do_makedefs(options) | ^ makedefs.c:321:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | char *xcrypt(str) | ^ makedefs.c:353:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 353 | Fprintf(ofp,Dont_Edit_Data); | ^~~~~~~~~~~~~~ makedefs.c:353:14: note: treat the string as an argument to avoid this 353 | Fprintf(ofp,Dont_Edit_Data); | ^ | "%s", makedefs.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | version_string(outbuf) | ^ makedefs.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | version_id_string(outbuf, build_date) | ^ makedefs.c:540:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 540 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:540:14: note: treat the string as an argument to avoid this 540 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | d_filter(line) | ^ makedefs.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | h_filter(line) | ^ makedefs.c:1136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1136 | check_control(s) | ^ makedefs.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | without_control(s) | ^ makedefs.c:1176:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1176 | Fprintf(ofp,Dont_Edit_Data); | ^~~~~~~~~~~~~~ makedefs.c:1176:14: note: treat the string as an argument to avoid this 1176 | Fprintf(ofp,Dont_Edit_Data); | ^ | "%s", makedefs.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | ranged_attk(ptr) /* returns TRUE if monster can attack at range */ | ^ makedefs.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | mstrength(ptr) | ^ makedefs.c:1298:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1298 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1298:17: note: treat the string as an argument to avoid this 1298 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1339:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1339 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1339:14: note: treat the string as an argument to avoid this 1339 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1377 | qt_comment(s) | ^ makedefs.c:1385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1385 | qt_control(s) | ^ makedefs.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | get_hdr (code) | ^ makedefs.c:1404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1404 | new_id (code) | ^ makedefs.c:1419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1419 | known_msg(num, id) | ^ makedefs.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | new_msg(s, num, id) | ^ makedefs.c:1451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1451 | do_qt_control(s) | ^ makedefs.c:1490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1490 | do_qt_text(s) | ^ makedefs.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | limit(name,pref) /* limit a name to 30 characters length */ | ^ makedefs.c:1652:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1652 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1652:14: note: treat the string as an argument to avoid this 1652 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1753 | tmpdup(str) | ^ makedefs.c:1764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1764 | eos(str) | ^ makedefs.c:1807:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1807 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1807:17: note: treat the string as an argument to avoid this 1807 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1832:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1832 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1832:17: note: treat the string as an argument to avoid this 1832 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:2073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | clear_path(you_row,you_col,y2,x2) | ^ 38 warnings generated. cc -L/usr/local/lib -o makedefs makedefs.o ../src/monst.o ../src/objects.o ./makedefs -p ./makedefs -o touch ../src/hack.h-t cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c allmain.c -o allmain.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from allmain.c:13: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from allmain.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from allmain.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ allmain.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | welcome(new_game) | ^ 7 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c alloc.c -o alloc.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from alloc.c:11: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from alloc.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from alloc.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ alloc.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | alloc(lth) | ^ alloc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | fmt_ptr(ptr, buf) | ^ 8 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c apply.c -o apply.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from apply.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ apply.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | use_camera(obj) | ^ apply.c:61:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 61 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:61:9: note: treat the string as an argument to avoid this 61 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | use_towel(obj) | ^ apply.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | its_dead(rx, ry, resp) | ^ apply.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 197 | use_stethoscope(obj) | ^ apply.c:291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | use_whistle(obj) | ^ apply.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | use_magic_whistle(obj) | ^ apply.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | um_dist(x,y,n) | ^ apply.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | o_unleash(otmp) /* otmp is about to be destroyed or stolen */ | ^ apply.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | m_unleash(mtmp) /* mtmp is about to die, or become untame */ | ^ apply.c:387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 387 | use_leash(obj) | ^ apply.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | get_mleash(mtmp) /* assuming mtmp->mleashed has been checked */ | ^ apply.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | check_leash(x, y) | ^ apply.c:550:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 550 | wield_tool(obj) | ^ apply.c:596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 596 | use_mirror(obj) | ^ apply.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | use_bell(obj) | ^ apply.c:795:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 795 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:795:13: note: treat the string as an argument to avoid this 795 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:827:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 827 | case 0: pline(nothing_happens); break; | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:827:20: note: treat the string as an argument to avoid this 827 | case 0: pline(nothing_happens); break; | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:839:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 839 | else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:839:14: note: treat the string as an argument to avoid this 839 | else pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | use_candelabrum(obj) | ^ apply.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | use_candle(obj) | ^ apply.c:913:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 913 | You(no_elbow_room); | ^~~~~~~~~~~~~ apply.c:913:7: note: treat the string as an argument to avoid this 913 | You(no_elbow_room); | ^ | "%s", apply.c:967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 967 | snuff_candle(otmp) /* call in drop, throw, and put in box, etc. */ | ^ apply.c:994:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 994 | snuff_lit(obj) | ^ apply.c:1014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1014 | use_lamp(obj) | ^ apply.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | light_cocktail(obj) | ^ apply.c:1074:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1074 | You(no_elbow_room); | ^~~~~~~~~~~~~ apply.c:1074:10: note: treat the string as an argument to avoid this 1074 | You(no_elbow_room); | ^ | "%s", apply.c:1138:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1138 | else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1138:17: note: treat the string as an argument to avoid this 1138 | else pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:1143:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1143 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1143:15: note: treat the string as an argument to avoid this 1143 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | jump(magic) | ^ apply.c:1307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1307 | tinnable(corpse) | ^ apply.c:1316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1316 | use_tinning_kit(obj) | ^ apply.c:1382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1382 | use_unicorn_horn(obj) | ^ apply.c:1453:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1453 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1453:12: note: treat the string as an argument to avoid this 1453 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | fig_transform(arg, timeout) | ^ apply.c:1623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1623 | figurine_location_checks(obj, cc, quietly) | ^ apply.c:1652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1652 | use_figurine(obj) | ^ apply.c:1683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1683 | use_grease(obj) | ^ apply.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | use_trap(otmp) | ^ apply.c:1859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1859 | use_whip(obj) | ^ apply.c:1926:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1926 | pline(msg_slipsfree); | ^~~~~~~~~~~~~ apply.c:1926:13: note: treat the string as an argument to avoid this 1926 | pline(msg_slipsfree); | ^ | "%s", apply.c:1969:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1969 | else pline(msg_snap); | ^~~~~~~~ apply.c:1969:14: note: treat the string as an argument to avoid this 1969 | else pline(msg_snap); | ^ | "%s", apply.c:1991:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1991 | pline(msg_slipsfree); | ^~~~~~~~~~~~~ apply.c:1991:9: note: treat the string as an argument to avoid this 1991 | pline(msg_slipsfree); | ^ | "%s", apply.c:1994:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1994 | } else pline(msg_snap); | ^~~~~~~~ apply.c:1994:15: note: treat the string as an argument to avoid this 1994 | } else pline(msg_snap); | ^ | "%s", apply.c:2095:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2095 | pline(msg_slipsfree); | ^~~~~~~~~~~~~ apply.c:2095:9: note: treat the string as an argument to avoid this 2095 | pline(msg_slipsfree); | ^ | "%s", apply.c:2102:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2102 | else pline(msg_snap); | ^~~~~~~~ apply.c:2102:14: note: treat the string as an argument to avoid this 2102 | else pline(msg_snap); | ^ | "%s", apply.c:2111:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2111 | pline(msg_snap); | ^~~~~~~~ apply.c:2111:8: note: treat the string as an argument to avoid this 2111 | pline(msg_snap); | ^ | "%s", apply.c:2125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2125 | use_pole (obj) | ^ apply.c:2135:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2135 | pline(not_enough_room); | ^~~~~~~~~~~~~~~ apply.c:2135:12: note: treat the string as an argument to avoid this 2135 | pline(not_enough_room); | ^ | "%s", apply.c:2145:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2145 | pline(where_to_hit); | ^~~~~~~~~~~~ apply.c:2145:8: note: treat the string as an argument to avoid this 2145 | pline(where_to_hit); | ^ | "%s", apply.c:2163:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2163 | You(cant_see_spot); | ^~~~~~~~~~~~~ apply.c:2163:10: note: treat the string as an argument to avoid this 2163 | You(cant_see_spot); | ^ | "%s", apply.c:2172:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2172 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2172:12: note: treat the string as an argument to avoid this 2172 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:2178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2178 | use_grapple (obj) | ^ apply.c:2188:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2188 | pline(not_enough_room); | ^~~~~~~~~~~~~~~ apply.c:2188:12: note: treat the string as an argument to avoid this 2188 | pline(not_enough_room); | ^ | "%s", apply.c:2198:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2198 | pline(where_to_hit); | ^~~~~~~~~~~~ apply.c:2198:8: note: treat the string as an argument to avoid this 2198 | pline(where_to_hit); | ^ | "%s", apply.c:2213:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2213 | You(cant_see_spot); | ^~~~~~~~~~~~~ apply.c:2213:7: note: treat the string as an argument to avoid this 2213 | You(cant_see_spot); | ^ | "%s", apply.c:2259:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2259 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2259:8: note: treat the string as an argument to avoid this 2259 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:2268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2268 | do_break_wand(obj) | ^ apply.c:2452:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2452 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2452:10: note: treat the string as an argument to avoid this 2452 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:2586:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2586 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2586:13: note: treat the string as an argument to avoid this 2586 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ 66 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c artifact.c -o artifact.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from artifact.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ artifact.c:83:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 83 | save_artifacts(fd) | ^ artifact.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | restore_artifacts(fd) | ^ artifact.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | artiname(artinum) | ^ artifact.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | mk_artifact(otmp, alignment) | ^ artifact.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | artifact_name(name, otyp) | ^ artifact.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | exist_artifact(otyp, name) | ^ artifact.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | artifact_exists(otmp, name, mod) | ^ artifact.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | spec_ability(otmp, abil) | ^ artifact.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | restrict_name(otmp, name) /* returns 1 if name is restricted for otmp->otyp */ | ^ artifact.c:280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 280 | attacks(adtyp, otmp) | ^ artifact.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | defends(adtyp, otmp) | ^ artifact.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | protects(adtyp, otmp) | ^ artifact.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | set_artifact_intrinsic(otmp,on,wp_mask) | ^ artifact.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | touch_artifact(obj,mon) | ^ artifact.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | spec_applies(weap, mtmp) | ^ artifact.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | spec_m2(otmp) | ^ artifact.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | spec_abon(otmp, mon) | ^ artifact.c:606:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 606 | spec_dbon(otmp, mon, tmp) | ^ artifact.c:620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 620 | discover_artifact(m) | ^ artifact.c:639:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 639 | undiscovered_artifact(m) | ^ artifact.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | disp_artifact_discoveries(tmpwin) | ^ artifact.c:687:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 687 | artifact_hit(magr, mdef, otmp, dmgptr, dieroll) | ^ artifact.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | arti_invoke(obj) | ^ artifact.c:1097:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1097 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1097:12: note: treat the string as an argument to avoid this 1097 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ artifact.c:1301:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | void arti_speak(obj) | ^ 31 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c attrib.c -o attrib.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from attrib.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ attrib.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | adjattrib(ndx, incr, msgflg) | ^ attrib.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | gainstr(otmp, incr) | ^ attrib.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | losestr(num) /* may kill you; cause may be poison or monster like 'a' */ | ^ attrib.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 199 | change_luck(n) | ^ attrib.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | stone_luck(parameter) | ^ attrib.c:264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 264 | exercise(i, inc_or_dec) | ^ attrib.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | init_attr(np) | ^ attrib.c:517:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | adjabil(oldlevel,newlevel) | ^ attrib.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | acurr(x) | ^ attrib.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | adjalign(n) | ^ 16 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ball.c -o ball.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ball.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ball.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | set_bc(already_blind) | ^ ball.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | move_bc(before, control, ballx, bally, chainx, chainy) | ^ ball.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay) | ^ ball.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | drop_ball(x, y) | ^ 10 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c bones.c -o bones.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from bones.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ bones.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | no_bones_level(lev) | ^ bones.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | goodfruit(id) | ^ bones.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | resetobjs(ochain,restore) | ^ bones.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | drop_upon_death(mtmp, cont) | ^ bones.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | savebones(corpse) | ^ 11 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c botl.c -o botl.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from botl.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ botl.c:48:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | int xlev_to_rank(xlev) | ^ botl.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | rank_of(lev, monnum, female) | ^ botl.c:100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 100 | title_to_mon(str, rank_indx, title_length) | ^ botl.c:182:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 182 | Sprintf(nb = eos(nb), mbot); | ^~~~ botl.c:182:25: note: treat the string as an argument to avoid this 182 | Sprintf(nb = eos(nb), mbot); | ^ | "%s", botl.c:184:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 184 | Sprintf(nb = eos(nb), rank()); | ^~~~~~ botl.c:184:25: note: treat the string as an argument to avoid this 184 | Sprintf(nb = eos(nb), rank()); | ^ | "%s", botl.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | describe_level(buf) | ^ 12 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c cmd.c -o cmd.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from cmd.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ cmd.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | set_occupation(fn, txt, xtime) | ^ cmd.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | pushch(ch) | ^ cmd.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | savech(ch) | ^ cmd.c:683:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 683 | enlght_line(start, middle, end) | ^ cmd.c:693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 693 | enlightenment(final) | ^ cmd.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | show_conduct(final) | ^ cmd.c:1373:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1373 | count_obj(chain, total_count, total_size, top, recurse) | ^ cmd.c:1396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1396 | obj_chain(win, src, chain, total_count, total_size) | ^ cmd.c:1414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1414 | mon_invent_chain(win, src, chain, total_count, total_size) | ^ cmd.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | contained(win, src, total_count, total_size) | ^ cmd.c:1461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1461 | mon_chain(win, src, chain, total_count, total_size) | ^ cmd.c:1557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1557 | rhack(cmd) | ^ cmd.c:1724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1724 | xytod(x, y) /* convert an x,y pair into a direction code */ | ^ cmd.c:1736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1736 | dtoxy(cc,dd) /* convert a direction code into an x,y pair */ | ^ cmd.c:1746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1746 | movecmd(sym) /* also sets u.dz, but returns false for <> */ | ^ cmd.c:1766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1766 | getdir(s) | ^ cmd.c:1808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1808 | isok(x,y) | ^ cmd.c:1821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1821 | click_to_cmd(x, y, mod) | ^ cmd.c:1874:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1874 | pline(in_line); | ^~~~~~~ cmd.c:1874:10: note: treat the string as an argument to avoid this 1874 | pline(in_line); | ^ | "%s", 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dbridge.c -o dbridge.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dbridge.c:13: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dbridge.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | is_pool(x,y) | ^ dbridge.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | is_lava(x,y) | ^ dbridge.c:65:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 65 | is_ice(x,y) | ^ dbridge.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | is_drawbridge_wall(x,y) | ^ dbridge.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | is_db_wall(x,y) | ^ dbridge.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | find_drawbridge(x,y) | ^ dbridge.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | get_wall_for_db(x,y) | ^ dbridge.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | create_drawbridge(x,y,dir,flag) | ^ dbridge.c:239:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 239 | e_at(x, y) | ^ dbridge.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | m_to_e(mtmp, x, y, etmp) | ^ dbridge.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | u_to_e(etmp) | ^ dbridge.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | set_entity(x, y, etmp) | ^ dbridge.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | e_nam(etmp) | ^ dbridge.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | E_phrase(etmp, verb) | ^ dbridge.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | e_survives_at(etmp, x, y) | ^ dbridge.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | e_died(etmp, dest, how) | ^ dbridge.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | automiss(etmp) | ^ dbridge.c:471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 471 | e_missed(etmp, chunks) | ^ dbridge.c:512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 512 | e_jumps(etmp) | ^ dbridge.c:538:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 538 | do_entity(etmp) | ^ dbridge.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | close_drawbridge(x,y) | ^ dbridge.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | open_drawbridge(x,y) | ^ dbridge.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | destroy_drawbridge(x,y) | ^ 29 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c decl.c -o decl.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from decl.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c detect.c -o detect.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from detect.c:10: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ detect.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | o_in(obj, oclass) | ^ detect.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | do_dknown_of(obj) | ^ detect.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | check_map_spot(x, y, oclass) | ^ detect.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | clear_stale_map(oclass) | ^ detect.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | gold_detect(sobj) | ^ detect.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | food_detect(sobj) | ^ detect.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | object_detect(detector, class) | ^ detect.c:442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 442 | monster_detect(otmp, mclass) | ^ detect.c:496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 496 | sense_trap(trap, x, y, src_cursed) | ^ detect.c:531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 531 | trap_detect(sobj) | ^ detect.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | level_distance(where) | ^ detect.c:641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 641 | use_crystal_ball(obj) | ^ detect.c:711:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 711 | if (flags.verbose) pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:711:27: note: treat the string as an argument to avoid this 711 | if (flags.verbose) pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ detect.c:756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 756 | show_map_spot(x, y) | ^ detect.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | cvt_sdoor_to_door(lev) | ^ detect.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | findone(zx,zy,num) | ^ detect.c:890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 890 | openone(zx,zy,num) | ^ detect.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | find_trap(trap) | ^ detect.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | dosearch0(aflag) | ^ 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dig.c -o dig.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dig.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dig.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | mkcavepos(x, y, dist, waslit, rockit) | ^ dig.c:79:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 79 | mkcavearea(rockit) | ^ dig.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | dig_typ(x, y) | ^ dig.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | dig_check(madeby, verbose, x, y) | ^ dig.c:334:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 334 | if(digtxt) pline(digtxt); /* after newsym */ | ^~~~~~ dig.c:334:20: note: treat the string as an argument to avoid this 334 | if(digtxt) pline(digtxt); /* after newsym */ | ^ | "%s", dig.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | fillholetyp(x,y) | ^ dig.c:429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 429 | digactualhole(x, y, madeby, ttyp) | ^ dig.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | dighole(pit_only) | ^ dig.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | use_pick_axe(obj) | ^ dig.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | mdig_tunnel(mtmp) | ^ dig.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | bury_an_obj(otmp) | ^ dig.c:1147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1147 | bury_objs(x, y) | ^ dig.c:1166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1166 | unearth_objs(x, y) | ^ dig.c:1199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1199 | rot_organic(arg, timeout) | ^ dig.c:1222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1222 | rot_corpse(arg, timeout) | ^ 21 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c display.c -o display.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from display.c:118: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from display.c:118: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from display.c:118: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ display.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | magic_map_background(x, y, show) | ^ display.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | map_background(x, y, show) | ^ display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 231 | map_trap(trap, show) | ^ display.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | map_object(obj, show) | ^ display.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 272 | map_invisible(x, y) | ^ display.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | unmap_object(x, y) | ^ display.c:348:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | void map_location(x,y,show) | ^ display.c:367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 367 | display_monster(x, y, mon, in_sight, worm_tail) | ^ display.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | display_warning(mon) | ^ display.c:490:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 490 | feel_location(x, y) | ^ display.c:615:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 615 | newsym(x,y) | ^ display.c:868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 868 | shieldeff(x,y) | ^ display.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | tmp_at(x, y) | ^ display.c:1010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1010 | swallowed(first) | ^ display.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1068 | under_water(mode) | ^ display.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | under_ground(mode) | ^ display.c:1294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1294 | show_glyph(x,y,glyph) | ^ display.c:1397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1397 | row_refresh(start,stop,y) | ^ display.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | flush_screen(cursor_on_u) | ^ display.c:1467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1467 | back_to_glyph(x,y) | ^ display.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1564 | swallow_to_glyph(mnum, loc) | ^ display.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | zapdir_to_glyph(dx, dy, beam_type) | ^ display.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | glyph_at(x, y) | ^ display.c:1668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | check_pos(x, y, which) | ^ display.c:1697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1697 | set_twall(x0,y0, x1,y1, x2,y2, x3,y3) | ^ display.c:1715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1715 | set_wall(x, y, horiz) | ^ display.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | set_corn(x1,y1, x2,y2, x3,y3, x4,y4) | ^ display.c:1767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1767 | set_crosswall(x, y) | ^ display.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1885 | set_seenv(lev, x0, y0, x, y) | ^ display.c:1952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1952 | t_warn(lev) | ^ display.c:1981:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1981 | wall_angle(lev) | ^ 37 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dlb.c -o dlb.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dlb.c:5: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dlb.c:5: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dlb.c:5: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c do.c -o do.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from do.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ do.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | boulder_hits_pool(otmp, rx, ry, pushing) | ^ do.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | flooreffects(obj,x,y,verb) | ^ do.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | doaltarobj(obj) /* obj is an object dropped on an altar */ | ^ do.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | trycall(obj) | ^ do.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | dosinkring(obj) /* obj is a ring being dropped over a kitchen sink */ | ^ do.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 390 | canletgo(obj,word) | ^ do.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | drop(obj) | ^ do.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | dropx(obj) | ^ do.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | dropy(obj) | ^ do.c:547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 547 | menu_drop(retry) | ^ do.c:799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | goto_level(newlevel, at_stairs, falling, portal) | ^ do.c:1146:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1146 | if (mesg) pline(mesg); | ^~~~ do.c:1146:22: note: treat the string as an argument to avoid this 1146 | if (mesg) pline(mesg); | ^ | "%s", do.c:1261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1261 | schedule_goto(tolev, at_stairs, falling, portal_flag, pre_msg, post_msg) | ^ do.c:1293:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1293 | if (dfr_pre_msg) pline(dfr_pre_msg); | ^~~~~~~~~~~ do.c:1293:29: note: treat the string as an argument to avoid this 1293 | if (dfr_pre_msg) pline(dfr_pre_msg); | ^ | "%s", do.c:1303:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1303 | if (dfr_post_msg) pline(dfr_post_msg); | ^~~~~~~~~~~~ do.c:1303:30: note: treat the string as an argument to avoid this 1303 | if (dfr_post_msg) pline(dfr_post_msg); | ^ | "%s", do.c:1320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1320 | revive_corpse(corpse) | ^ do.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | revive_mon(arg, timeout) | ^ do.c:1438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1438 | set_wounded_legs(side, timex) | ^ 24 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c do_name.c -o do_name.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from do_name.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ do_name.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | getpos_help(force, goal) | ^ do_name.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | getpos(cc, force, goal) | ^ do_name.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | christen_monst(mtmp, name) | ^ do_name.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | do_oname(obj) | ^ do_name.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | realloc_obj(obj, oextra_size, oextra_src, oname_size, name) | ^ do_name.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | oname(obj, name) | ^ do_name.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | docall(obj) | ^ do_name.c:572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | x_monnam(mtmp, article, adjective, suppress, called) | ^ do_name.c:743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 743 | l_monnam(mtmp) | ^ do_name.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | mon_nam(mtmp) | ^ do_name.c:766:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 766 | noit_mon_nam(mtmp) | ^ do_name.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | Monnam(mtmp) | ^ do_name.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | noit_Monnam(mtmp) | ^ do_name.c:796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 796 | m_monnam(mtmp) | ^ do_name.c:804:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 804 | y_monnam(mtmp) | ^ do_name.c:815:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 815 | Adjmonnam(mtmp, adj) | ^ do_name.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | a_monnam(mtmp) | ^ do_name.c:835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 835 | Amonnam(mtmp) | ^ do_name.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | self_pronoun(str, pronoun) | ^ do_name.c:979:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 979 | hcolor(colorpref) | ^ do_name.c:1003:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | char *coyotename(buf) | ^ 27 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c do_wear.c -o do_wear.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from do_wear.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ do_wear.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | off_msg(otmp) | ^ do_wear.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | on_msg(otmp) | ^ do_wear.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | Ring_on(obj) | ^ do_wear.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | Ring_off_or_gone(obj,gone) | ^ do_wear.c:825:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 825 | Ring_off(obj) | ^ do_wear.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | Ring_gone(obj) | ^ do_wear.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | Blindf_on(otmp) | ^ do_wear.c:864:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 864 | Blindf_off(otmp) | ^ do_wear.c:899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 899 | donning(otmp) | ^ do_wear.c:1063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1063 | cursed(otmp) | ^ do_wear.c:1078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1078 | armoroff(otmp) | ^ do_wear.c:1130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1130 | already_wearing(cc) | ^ do_wear.c:1137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1137 | already_wearing2(cc1, cc2) | ^ do_wear.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | canwearobj(otmp,mask,noisy) | ^ do_wear.c:1531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1531 | some_armor(victim) | ^ do_wear.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | erode_armor(victim,acid_dmg) | ^ do_wear.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | select_off(otmp) | ^ do_wear.c:1860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1860 | menu_remarm(retry) | ^ do_wear.c:1902:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1902 | destroy_arm(atmp) | ^ do_wear.c:1953:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1953 | adj_abon(otmp, delta) | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dog.c -o dog.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dog.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dog.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | initedog(mtmp) | ^ dog.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | make_familiar(otmp,x,y,quietly) | ^ dog.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | mon_arrive(mtmp, with_you) | ^ dog.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | mon_catchup_elapsed_time(mtmp, nmv) | ^ dog.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | keepdogs(pets_only) | ^ dog.c:515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 515 | migrate_to_level(mtmp, tolev, xyloc, cc) | ^ dog.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | dogfood(mon,obj) | ^ dog.c:668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 668 | tamedog(mtmp, obj) | ^ dog.c:767:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 767 | wary_dog(mtmp, quietly) | ^ dog.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | abuse_dog(mtmp) | ^ 16 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dogmove.c -o dogmove.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dogmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dogmove.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | DROPPABLES(mon) | ^ dogmove.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | cursed_object_at(x, y) | ^ dogmove.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | dog_nutrition(mtmp, obj) | ^ dogmove.c:120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 120 | dog_eat(mtmp, obj, x, y, devour) | ^ dogmove.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | dog_hunger(mtmp, edog) | ^ dogmove.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | dog_invent(mtmp, edog, udist) | ^ dogmove.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | dog_goal(mtmp, edog, after, udist, whappr) | ^ dogmove.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | dog_move(mtmp, after) | ^ dogmove.c:775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 775 | wantdoor(x, y, distance) | ^ 15 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dokick.c -o dokick.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dokick.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dokick.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | kickdmg(mon, clumsy) | ^ dokick.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | kick_monster(x, y) | ^ dokick.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | ghitm(mtmp, gold) | ^ dokick.c:313:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 313 | kick_object(x, y) | ^ dokick.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 537 | kickstr(buf) | ^ dokick.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | drop_to(cc, loc) | ^ dokick.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | impact_drop(missile, x, y, dlev) | ^ dokick.c:1179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1179 | ship_object(otmp, x, y, shop_floor_obj) | ^ dokick.c:1309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1309 | otransit_msg(otmp, nodrop, num) | ^ dokick.c:1339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1339 | down_gate(x, y) | ^ 16 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dothrow.c -o dothrow.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dothrow.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dothrow.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | throw_obj(obj, shotlimit) | ^ dothrow.c:289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 289 | hitfloor(obj) | ^ dothrow.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | walk_path(src_cc, dest_cc, check_proc, arg) | ^ dothrow.c:398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 398 | hurtle_step(arg, x, y) | ^ dothrow.c:465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 465 | hurtle(dx, dy, range, verbose) | ^ dothrow.c:511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 511 | check_shop_obj(obj, x, y, broken) | ^ dothrow.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | toss_up(obj, hitsroof) | ^ dothrow.c:648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | throwing_weapon(obj) | ^ dothrow.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | sho_obj_return_to_u(obj) | ^ dothrow.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | throwit(obj, wep_mask) | ^ dothrow.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | omon_adj(mon, obj, mon_notices) | ^ dothrow.c:930:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 930 | tmiss(obj, mon) | ^ dothrow.c:948:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 948 | thitmonst(mon, obj) | ^ dothrow.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | gem_accept(mon, obj) | ^ dothrow.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | hero_breaks(obj, x, y, from_invent) | ^ dothrow.c:1269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1269 | breaks(obj, x, y) | ^ dothrow.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | breakobj(obj, x, y, heros_fault, from_invent) | ^ dothrow.c:1349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1349 | breaktest(obj) | ^ dothrow.c:1371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1371 | breakmsg(obj, in_view) | ^ dothrow.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | throw_gold(obj) | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c drawing.c -o drawing.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from drawing.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ drawing.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 619 | def_char_to_objclass(ch) | ^ drawing.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | def_char_to_monclass(ch) | ^ drawing.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | assign_graphics(graph_chars, glth, maxlen, offset) | ^ drawing.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 655 | switch_graphics(gr_set_flag) | ^ drawing.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | assign_rogue_graphics(is_rlevel) | ^ 11 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c dungeon.c -o dungeon.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dungeon.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dungeon.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | save_dungeon(fd, perform_write, free_data) | ^ dungeon.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | restore_dungeon(fd) | ^ dungeon.c:177:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 177 | Fread(ptr, size, nitems, stream) | ^ dungeon.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | dname_to_dnum(s) | ^ dungeon.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | find_level(s) | ^ dungeon.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | find_branch(s, pd) | ^ dungeon.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 250 | parent_dnum(s, pd) | ^ dungeon.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | level_range(dgn, base, rand, chain, pd, adjusted_base) | ^ dungeon.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | parent_dlevel(s, pd) | ^ dungeon.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | correct_branch_type(tbr) | ^ dungeon.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | insert_branch(new_branch, extract_first) | ^ dungeon.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | add_branch(dgn, child_entry_level, pd) | ^ dungeon.c:438:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 438 | add_level(new_lev) | ^ dungeon.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | init_level(dgn, proto_index, pd) | ^ dungeon.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | possible_places(idx, map, pd) | ^ dungeon.c:524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 524 | pick_level(map, nth) | ^ dungeon.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | place_level(proto_index, pd) | ^ dungeon.c:659:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 659 | panic(tbuf); | ^~~~ dungeon.c:659:12: note: treat the string as an argument to avoid this 659 | panic(tbuf); | ^ | "%s", dungeon.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | dunlev(lev) /* return the level number for lev in *this* dungeon */ | ^ dungeon.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | dunlevs_in_dungeon(lev) /* return the lowest level number for *this* dungeon*/ | ^ dungeon.c:894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 894 | deepest_lev_reached(noquest) /* return the lowest level explored in the game*/ | ^ dungeon.c:929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 929 | ledger_no(lev) | ^ dungeon.c:954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 954 | ledger_to_dnum(ledgerno) | ^ dungeon.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | ledger_to_dlev(ledgerno) | ^ dungeon.c:984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 984 | depth(lev) | ^ dungeon.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | on_level(lev1, lev2) /* are "lev1" and "lev2" actually the same? */ | ^ dungeon.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | Is_special(lev) | ^ dungeon.c:1018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1018 | Is_branchlev(lev) | ^ dungeon.c:1032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1032 | next_level(at_stairs) | ^ dungeon.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | prev_level(at_stairs) | ^ dungeon.c:1069:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1069 | u_on_newpos(x, y) | ^ dungeon.c:1128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1128 | On_stairs(x, y) | ^ dungeon.c:1139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1139 | Is_botlevel(lev) | ^ dungeon.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | Can_dig_down(lev) | ^ dungeon.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | Can_fall_thru(lev) | ^ dungeon.c:1172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1172 | Can_rise_up(x, y, lev) | ^ dungeon.c:1198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1198 | get_level(newlevel, levnum) | ^ dungeon.c:1249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1249 | In_quest(lev) /* are you in the quest dungeon? */ | ^ dungeon.c:1259:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1259 | In_mines(lev) /* are you in the mines dungeon? */ | ^ dungeon.c:1274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1274 | dungeon_branch(s) | ^ dungeon.c:1300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1300 | at_dgn_entrance(s) | ^ dungeon.c:1310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1310 | In_V_tower(lev) /* is `lev' part of Vlad's tower? */ | ^ dungeon.c:1317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1317 | On_W_tower_level(lev) /* is `lev' a level containing the Wizard's tower? */ | ^ dungeon.c:1326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1326 | In_W_tower(x, y, lev) /* is of `lev' inside the Wizard's tower? */ | ^ dungeon.c:1348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1348 | In_hell(lev) /* are you in one of the Hell levels? */ | ^ dungeon.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | find_hell(lev) /* sets *lev to be the gateway to Gehennom... */ | ^ dungeon.c:1366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1366 | goto_hell(at_stairs, falling) /* go directly to hell... */ | ^ dungeon.c:1376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | assign_level(dest, src) /* equivalent to dest = source */ | ^ dungeon.c:1384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1384 | assign_rnd_level(dest, src, range) /* dest = src + rn1(range) */ | ^ dungeon.c:1401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1401 | induced_align(pct) | ^ dungeon.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | Invocation_lev(lev) | ^ dungeon.c:1447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1447 | lev_by_name(nam) | ^ dungeon.c:1516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1516 | br_string(type) | ^ dungeon.c:1530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1530 | print_branch(win, dnum, lower_bound, upper_bound) | ^ 60 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c eat.c -o eat.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from eat.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ eat.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | is_edible(obj) | ^ eat.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | food_xname(food, the_pfx) | ^ eat.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | choke(food) /* To a full belly all food is bad. (It.) */ | ^ eat.c:300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 300 | touchfood(otmp) | ^ eat.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | food_disappears(obj) | ^ eat.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | food_substitution(old_obj, new_obj) | ^ eat.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | done_eating(message) | ^ eat.c:410:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 410 | if (message) pline(nomovemsg); | ^~~~~~~~~ eat.c:410:22: note: treat the string as an argument to avoid this 410 | if (message) pline(nomovemsg); | ^ | "%s", eat.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | cprefx(pm) | ^ eat.c:522:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 522 | intrinsic_possible(type, ptr) | ^ eat.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 618 | givit(type, ptr) | ^ eat.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | cpostfx(pm) /* called after completely consuming a corpse */ | ^ eat.c:1046:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1046 | start_tin(otmp) /* called when starting to open a tin */ | ^ eat.c:1117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1117 | rottenfood(obj) | ^ eat.c:1148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1148 | eatcorpse(otmp) /* called when a corpse is selected as food */ | ^ eat.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | start_eating(otmp) /* called as you start to eat */ | ^ eat.c:1281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1281 | fprefx(otmp) /* called on "first bite" of (non-corpse) food */ | ^ eat.c:1389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1389 | eataccessory(otmp) | ^ eat.c:1552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1552 | foodword(otmp) | ^ eat.c:1564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1564 | fpostfx(otmp) /* called after consuming (non-corpse) food */ | ^ eat.c:1773:6: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] 1773 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ^ eat.c:1891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1891 | morehungry(num) /* called after vomiting and after performing feats of magic */ | ^ eat.c:1900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1900 | lesshungry(num) /* called after eating (and after drinking fruit juice) */ | ^ eat.c:1985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1985 | newuhs(incr) /* compute and comment on your (new?) hunger status */ | ^ eat.c:2119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2119 | floorfood(verb,corpsecheck) /* get food from floor or pack */ | ^ eat.c:2213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2213 | eaten_stat(base, obj) | ^ 32 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c end.c -o end.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from end.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ end.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | done1(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ end.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | done_intr(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ end.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | done_hangup(sig) /* signal() handler */ | ^ end.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | done_in_by(mtmp) | ^ end.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | disclose(how,taken) | ^ end.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | savelife(how) | ^ end.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | get_valuables(list) | ^ end.c:400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 400 | sort_valuables(list, size) | ^ end.c:422:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 422 | add_artifact_score(list) | ^ end.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | display_artifact_score(list,endwin) | ^ end.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | done(how) | ^ end.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | container_contents(list, identified, all_containers) | ^ end.c:870:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 870 | terminate(status) | ^ 19 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c engrave.c -o engrave.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from engrave.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ engrave.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | random_engraving(outbuf) | ^ engrave.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | wipeout_text(engr, cnt, seed) | ^ engrave.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | surface(x, y) | ^ engrave.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | ceiling(x, y) | ^ engrave.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | engr_at(x, y) | ^ engrave.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | sengr_at(s, x, y) | ^ engrave.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 243 | u_wipe_engr(cnt) | ^ engrave.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | wipe_engr_at(x,y,cnt) | ^ engrave.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 277 | read_engr_at(x,y) | ^ engrave.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | make_engr_at(x,y,s,e_time,e_type) | ^ engrave.c:380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 380 | del_engr_at(x, y) | ^ engrave.c:868:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 868 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:868:13: note: treat the string as an argument to avoid this 868 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ engrave.c:965:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 965 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:965:9: note: treat the string as an argument to avoid this 965 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ engrave.c:1065:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1065 | if (post_engr_text[0]) pline(post_engr_text); | ^~~~~~~~~~~~~~ engrave.c:1065:31: note: treat the string as an argument to avoid this 1065 | if (post_engr_text[0]) pline(post_engr_text); | ^ | "%s", engrave.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | save_engravings(fd, mode) | ^ engrave.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | rest_engravings(fd) | ^ engrave.c:1123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1123 | del_engr(ep) | ^ engrave.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1146 | rloc_engr(ep) | ^ engrave.c:1200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1200 | make_grave(x, y, str) | ^ 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c exper.c -o exper.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from exper.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ exper.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 11 | newuexp(lev) | ^ exper.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | enermod(en) | ^ exper.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | experience(mtmp, nk) /* return # of exp points for mtmp after nk killed */ | ^ exper.c:52:56: warning: operator '?:' has lower precedence than '*'; '*' will be evaluated first [-Wparentheses] 52 | if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1; | ~~~~~~~~~~~~~~~~~ ^ exper.c:52:56: note: place parentheses around the '*' expression to silence this warning 52 | if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1; | ^ | ( ) exper.c:52:56: note: place parentheses around the '?:' expression to evaluate it first 52 | if((i = find_mac(mtmp)) < 3) tmp += (7 - i) * (i < 0) ? 2 : 1; | ^ | ( ) exper.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | more_experienced(exp, rexp) | ^ exper.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | losexp(drainer) /* e.g., hit by drain life attack */ | ^ exper.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | pluslvl(incr) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c explode.c -o explode.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from explode.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ explode.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 25 | explode(x, y, type, dam, olet) | ^ explode.c:374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 374 | scatter(sx,sy,blastforce,scflags, obj) | ^ explode.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 541 | splatter_burning_oil(x, y) | ^ 9 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c extralev.c -o extralev.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from extralev.c:9: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ extralev.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 32 | roguejoin(x1,y1,x2,y2, horiz) | ^ extralev.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | roguecorr(x, y, dir) | ^ extralev.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | miniwalk(x, y) | ^ extralev.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | corr(x,y) | ^ 10 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c files.c -o files.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from files.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ files.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | fqname(basename, whichprefix, buffnum) | ^ files.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | fopen_datafile(filename, mode, use_scoreprefix) | ^ files.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | set_levelfile_name(file, lev) | ^ files.c:223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 223 | create_levelfile(lev) | ^ files.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | open_levelfile(lev) | ^ files.c:276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 276 | delete_levelfile(lev) | ^ files.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | set_bonesfile_name(file, lev) | ^ files.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | create_bonesfile(lev, bonesid) | ^ files.c:424:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | commit_bonesfile(lev) | ^ files.c:453:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | open_bonesfile(lev, bonesid) | ^ files.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | delete_bonesfile(lev) | ^ files.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | save_savefile_name(fd) | ^ files.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | redirect(filename, mode, stream, uncomp) | ^ files.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | docompress_file(filename, uncomp) | ^ files.c:798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 798 | compress(filename) | ^ files.c:806:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 806 | docompress_file(filename, FALSE); | ^~~~~~~~ files.c:813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | uncompress(filename) | ^ files.c:821:18: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 821 | docompress_file(filename, TRUE); | ^~~~~~~~ files.c:839:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 839 | make_lockname(filename, lockname) | ^ files.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | lock_file(filename, whichprefix, retryct) | ^ files.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | unlock_file(filename) | ^ files.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | fopen_config_file(filename) | ^ files.c:1154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1154 | get_uchars(fp, buf, bufp, list, size, name) | ^ files.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | parse_config_line(fp, buf, tmp_ramdisk, tmp_levels) | ^ files.c:1472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1472 | read_config_file(filename) | ^ files.c:1535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1535 | check_recordfile(dir) | ^ 32 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c fountain.c -o fountain.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from fountain.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ fountain.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | floating_above(what) | ^ fountain.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | dogushforth(drinking) /* Gushing forth along LOS from (u.ux, u.uy) */ | ^ fountain.c:103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 103 | gush(x, y, poolcnt) | ^ fountain.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | dryup(x, y, isyou) | ^ fountain.c:347:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 347 | dipfountain(obj) | ^ fountain.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | breaksink(x,y) | ^ 12 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c hack.c -o hack.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from hack.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from hack.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from hack.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ hack.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | revive_nasty(x, y, msg) | ^ hack.c:305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 305 | still_chewing(x,y) | ^ hack.c:407:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 407 | if (digtxt) You(digtxt); /* after newsym */ | ^~~~~~ hack.c:407:21: note: treat the string as an argument to avoid this 407 | if (digtxt) You(digtxt); /* after newsym */ | ^ | "%s", hack.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | movobj(obj, ox, oy) | ^ hack.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | may_dig(x,y) | ^ hack.c:483:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 483 | may_passwall(x,y) | ^ hack.c:494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 494 | bad_rock(mdat,x,y) | ^ hack.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | invocation_pos(x, y) | ^ hack.c:1076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1076 | spoteffects(pick) | ^ hack.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | monstinroom(mdat,roomno) | ^ hack.c:1183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1183 | in_rooms(x, y, typewanted) | ^ hack.c:1251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1251 | move_update(newlev) | ^ hack.c:1293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1293 | check_special_room(newlev) | ^ hack.c:1617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1617 | nomul(nval) | ^ hack.c:1628:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | void unmul(msg_override) | ^ hack.c:1634:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1634 | if (*nomovemsg) pline(nomovemsg); | ^~~~~~~~~ hack.c:1634:24: note: treat the string as an argument to avoid this 1634 | if (*nomovemsg) pline(nomovemsg); | ^ | "%s", hack.c:1676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1676 | losehp(n, knam, k_format) | ^ hack.c:1771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1771 | calc_capacity(xtra_wt) | ^ hack.c:1797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1797 | check_capacity(str) | ^ hack.c:1802:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1802 | pline(str); | ^~~ hack.c:1802:12: note: treat the string as an argument to avoid this 1802 | pline(str); | ^ | "%s", 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c hacklib.c -o hacklib.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from hacklib.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ hacklib.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | digit(c) /* is 'c' a digit? */ | ^ hacklib.c:60:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 60 | letter(c) /* is 'c' a letter? note: '@' classed as letter */ | ^ hacklib.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | highc(c) /* force 'c' into uppercase */ | ^ hacklib.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | lowc(c) /* force 'c' into lowercase */ | ^ hacklib.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | lcase(s) /* convert a string into all lowercase */ | ^ hacklib.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | mungspaces(bp) | ^ hacklib.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | eos(s) /* return the end of a string (pointing at '\0') */ | ^ hacklib.c:125:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 125 | s_suffix(s) /* return a name converted to possessive */ | ^ hacklib.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | xcrypt(str, buf) /* trivial text encryption routine (see makedefs) */ | ^ hacklib.c:161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 161 | onlyspace(s) /* is a string entirely whitespace? */ | ^ hacklib.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 172 | tabexpand(sbuf) /* expand tabs into proper number of spaces */ | ^ hacklib.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | visctrl(c) /* make a displayable string from a character */ | ^ hacklib.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | ordin(n) /* return the ordinal suffix of a number */ | ^ hacklib.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | sitoa(n) /* make a signed digit string from a number */ | ^ hacklib.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | sgn(n) /* return the sign of a number: -1, 0, or 1 */ | ^ hacklib.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | rounddiv(x, y) /* calculate x/y, rounding as appropriate */ | ^ hacklib.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | distmin(x0, y0, x1, y1) /* distance between two points, in moves */ | ^ hacklib.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 287 | dist2(x0, y0, x1, y1) /* square of euclidean distance between pair of pts */ | ^ hacklib.c:295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 295 | online2(x0, y0, x1, y1) /* are two points lined up (on a straight line)? */ | ^ hacklib.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | pmatch(patrn, strng) /* match a string against a pattern */ | ^ hacklib.c:334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 334 | strncmpi(s1, s2, n) /* case insensitive counted string comparison */ | ^ hacklib.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | strstri(str, sub) /* case insensitive substring search */ | ^ hacklib.c:396:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 396 | fuzzymatch(s1, s2, ignore_chars, caseblind) | ^ hacklib.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | yyyymmdd(date) | ^ 30 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c invent.c -o invent.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from invent.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ invent.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 | assigninvlet(otmp) | ^ invent.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | merge_choice(objlist, obj) | ^ invent.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | merged(potmp, pobj) | ^ invent.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | addinv_core1(obj) | ^ invent.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | addinv_core2(obj) | ^ invent.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | addinv(obj) | ^ invent.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | carry_obj_effects(obj) | ^ invent.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | hold_another_object(obj, drop_fmt, drop_arg, hold_msg) | ^ invent.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | useupall(obj) | ^ invent.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | useup(obj) | ^ invent.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | freeinv_core(obj) | ^ invent.c:458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 458 | freeinv(obj) | ^ invent.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | delallobj(x, y) | ^ invent.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | delobj(obj) | ^ invent.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | sobj_at(n,x,y) | ^ invent.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | carrying(type) | ^ invent.c:552:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 552 | o_on(id, objchn) | ^ invent.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | obj_here(obj, x, y) | ^ invent.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | g_at(x,y) | ^ invent.c:599:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 599 | mkgoldobj(q) | ^ invent.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | compactify(buf) | ^ invent.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | getobj(let,word) | ^ invent.c:832:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 832 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:832:10: note: treat the string as an argument to avoid this 832 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:882:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 882 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:882:14: note: treat the string as an argument to avoid this 882 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 935 | ckunpaid(otmp) | ^ invent.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | is_worn(otmp) | ^ invent.c:969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 969 | ggetobj(word, fn, mx, combo) | ^ invent.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | askchain(objchn, olets, allflag, fn, ckfn, mx, word) | ^ invent.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | fully_identify_obj(otmp) | ^ invent.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | identify(otmp) | ^ invent.c:1216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1216 | menu_identify(id_limit) | ^ invent.c:1246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1246 | identify_pack(id_limit) | ^ invent.c:1288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1288 | obj_to_let(obj) /* should of course only be called for things in invent */ | ^ invent.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | prinv(prefix, obj, quan) | ^ invent.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | xprname(obj, txt, let, dot, cost) | ^ invent.c:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | find_unpaid(list, last_found) | ^ invent.c:1410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1410 | display_inventory(lets, want_reply) | ^ invent.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | count_unpaid(list) | ^ invent.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | this_type_only(obj) | ^ invent.c:1735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1735 | dfeature_at(x, y, buf) | ^ invent.c:1801:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1801 | look_here(obj_cnt, picked_some) | ^ invent.c:1843:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1843 | if (dfeature) pline(fbuf); | ^~~~ invent.c:1843:23: note: treat the string as an argument to avoid this 1843 | if (dfeature) pline(fbuf); | ^ | "%s", invent.c:1852:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1852 | if (dfeature) pline(fbuf); | ^~~~ invent.c:1852:26: note: treat the string as an argument to avoid this 1852 | if (dfeature) pline(fbuf); | ^ | "%s", invent.c:1859:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1859 | if (dfeature) pline(fbuf); | ^~~~ invent.c:1859:26: note: treat the string as an argument to avoid this 1859 | if (dfeature) pline(fbuf); | ^ | "%s", invent.c:1893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1893 | feel_cockatrice(otmp, force_touch) | ^ invent.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1916 | stackobj(obj) | ^ invent.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | mergable(otmp, obj) /* returns TRUE if obj & otmp can be merged */ | ^ invent.c:2082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2082 | tool_in_use(obj) | ^ invent.c:2133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2133 | useupf(obj, numused) | ^ invent.c:2182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2182 | let_to_name(let,unpaid) | ^ invent.c:2277:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2277 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2277:10: note: treat the string as an argument to avoid this 2277 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | invdisp_nothing(hdr, txt) | ^ invent.c:2345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2345 | worn_wield_only(obj) | ^ invent.c:2367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2367 | display_minventory(mon, dflags) | ^ invent.c:2435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2435 | display_cinventory(obj) | ^ invent.c:2464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2464 | only_here(obj) | ^ invent.c:2477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2477 | display_binventory(x, y, as_if_seen) | ^ 63 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c light.c -o light.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from light.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ light.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | new_light_source(x, y, range, type, id) | ^ light.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | del_light_source(type, id) | ^ light.c:110:30: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 110 | case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ light.c:112:31: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 112 | case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ light.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | do_light_sources(cs_rows) | ^ light.c:218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 218 | find_mid(nid, fmflags) | ^ light.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | save_light_sources(fd, mode, range) | ^ light.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | restore_light_sources(fd) | ^ light.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | relink_light_sources(ghostly) | ^ light.c:320:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 320 | if (!lookup_id_mapping((unsigned)ls->id, &nid)) | ^~~~~~~~~~~~~~~~ light.c:323:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 323 | nid = (unsigned) ls->id; | ^~~~~~~~~~~~~~~~~ light.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | maybe_write_ls(fd, range, write_it) | ^ light.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | write_ls(fd, ls) | ^ light.c:401:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 401 | ls->id = (genericptr_t)otmp->o_id; | ^~~~~~~~~~~~~~~~~~~~~~~~ light.c:408:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 408 | ls->id = (genericptr_t)mtmp->m_id; | ^~~~~~~~~~~~~~~~~~~~~~~~ light.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | obj_move_light_source(src, dest) | ^ light.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | snuff_light_source(x, y) | ^ light.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | obj_sheds_light(obj) | ^ light.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | obj_is_burning(obj) | ^ light.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | obj_split_light_source(src, dest) | ^ light.c:532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 532 | obj_merge_light_sources(src, dest) | ^ light.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | candle_light_range(obj) | ^ 28 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c lock.c -o lock.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from lock.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ lock.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | picking_lock(x, y) | ^ lock.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | picking_at(x, y) | ^ lock.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 226 | pick_lock(pick) /* pick a lock with a given object */ | ^ lock.c:578:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 578 | obstructed(x,y) | ^ lock.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | boxlock(obj, otmp) /* returns true if something happened */ | ^ lock.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | doorlock(otmp,x,y) /* returns true if something happened */ | ^ lock.c:856:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 856 | if (msg && cansee(x,y)) pline(msg); | ^~~ lock.c:856:32: note: treat the string as an argument to avoid this 856 | if (msg && cansee(x,y)) pline(msg); | ^ | "%s", lock.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | chest_shatter_msg(otmp) | ^ 14 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mail.c -o mail.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mail.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c makemon.c -o makemon.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from makemon.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ makemon.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | is_home_elemental(ptr) | ^ makemon.c:53:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 53 | wrong_elem_type(ptr) | ^ makemon.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | m_initgrp(mtmp, x, y, n) /* make a group just like mtmp */ | ^ makemon.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | m_initthrow(mtmp,otyp,oquan) | ^ makemon.c:156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | m_initweap(mtmp) | ^ makemon.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | m_initinv(mtmp) | ^ makemon.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | clone_mon(mon) | ^ makemon.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 698 | makemon(ptr, x, y, mmflags) | ^ makemon.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | create_critters(cnt, mptr) | ^ makemon.c:1025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | uncommon(mndx) | ^ makemon.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | align_shift(ptr) | ^ makemon.c:1162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1162 | reset_rndmonst(mndx) | ^ makemon.c:1185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1185 | mkclass(class,spc) | ^ makemon.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | adj_lev(ptr) /* adjust strength of monsters based on u.uz and u.ulevel */ | ^ makemon.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | grow_up(mtmp, victim) /* `mtmp' might "grow up" into a bigger version */ | ^ makemon.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | mongets(mtmp, otyp) | ^ makemon.c:1407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1407 | golemhp(type) | ^ makemon.c:1434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1434 | peace_minded(ptr) | ^ makemon.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | set_malign(mtmp) | ^ makemon.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | set_mimic_sym(mtmp) /* KAA, modified by ERS */ | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mcastu.c -o mcastu.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mcastu.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mcastu.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 16 | cursetxt(mtmp) | ^ mcastu.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | castmu(mtmp, mattk) /* monster casts spell at you */ | ^ mcastu.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | buzzmu(mtmp, mattk) /* monster uses spell (ranged) */ | ^ 9 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mhitm.c -o mhitm.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mhitm.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | mon_nam_too(outbuf, mon, other_mon) | ^ mhitm.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | noises(magr, mattk) | ^ mhitm.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | missmm(magr, mdef, mattk) | ^ mhitm.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | fightm(mtmp) /* have monsters fight each other */ | ^ mhitm.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | mattackm(magr, mdef) | ^ mhitm.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | hitmm(magr, mdef, mattk) | ^ mhitm.c:404:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | gazemm(magr, mdef, mattk) | ^ mhitm.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | gulpmm(magr, mdef, mattk) | ^ mhitm.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | explmm(magr, mdef, mattk) | ^ mhitm.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | mdamagem(magr, mdef, mattk) | ^ mhitm.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | noattacks(ptr) /* returns 1 if monster doesn't attack */ | ^ mhitm.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | sleep_monst(mon, amt, how) | ^ mhitm.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | slept_monst(mon) | ^ mhitm.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | mrustm(magr, mdef, obj) | ^ mhitm.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | mswingsm(magr, mdef, otemp) | ^ mhitm.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | passivemm(magr,mdef,mhit,mdead) | ^ 22 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mhitu.c -o mhitu.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mhitu.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mhitu.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | hitmsg(mtmp, mattk) | ^ mhitu.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | missmu(mtmp, nearmiss, mattk) /* monster missed you */ | ^ mhitu.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | mswings(mtmp, otemp) /* monster swings obj */ | ^ mhitu.c:118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 118 | mpoisons_subj(mtmp, mattk) | ^ mhitu.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | wildmiss(mtmp, mattk) /* monster attacked your displaced image */ | ^ mhitu.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | expels(mtmp, mdat, message) | ^ mhitu.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | mattacku(mtmp) | ^ mhitu.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | hurtarmor(attk) | ^ mhitu.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | diseasemu(mdat) | ^ mhitu.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | u_slip_free(mtmp, mattk) | ^ mhitu.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | hitmu(mtmp, mattk) | ^ mhitu.c:1475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1475 | gulpmu(mtmp, mattk) /* monster swallows you, or damage if u.uswallow */ | ^ mhitu.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | explmu(mtmp, mattk, ufound) /* monster explodes in your face */ | ^ mhitu.c:1734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1734 | gazemu(mtmp, mattk) /* monster gazes at you */ | ^ mhitu.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | mdamageu(mtmp, n) /* mtmp hits you for n points damage */ | ^ mhitu.c:1875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1875 | urustm(mon, obj) | ^ mhitu.c:1916:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1916 | could_seduce(magr,mdef,mattk) | ^ mhitu.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | doseduce(mon) | ^ mhitu.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | mayberem(obj, str) | ^ mhitu.c:2234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2234 | passiveum(olduasmon,mtmp,mattk) | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c minion.c -o minion.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from minion.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ minion.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | msummon(ptr) /* ptr summons a monster */ | ^ minion.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | summon_minion(alignment, talk) | ^ minion.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 110 | demon_talk(mtmp) /* returns 1 if it won't attack. */ | ^ minion.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | bribe(mtmp) | ^ minion.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | dprince(atyp) | ^ minion.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | dlord(atyp) | ^ minion.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | ndemon(atyp) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mklev.c -o mklev.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mklev.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mklev.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | do_comp(vx,vy) | ^ mklev.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | finddpos(cc, xl,yl,xh,yh) | ^ mklev.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) | ^ mklev.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | add_room(lowx, lowy, hix, hiy, lit, rtype, special) | ^ mklev.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special) | ^ mklev.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | join(a,b,nxcor) | ^ mklev.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | add_door(x,y,aroom) | ^ mklev.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | dosdoor(x,y,aroom,type) | ^ mklev.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | place_niche(aroom,dy,xx,yy) | ^ mklev.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | makeniche(trap_type) | ^ mklev.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | topologize(croom) | ^ mklev.c:1013:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1013 | find_branch_room(mp) | ^ mklev.c:1043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | pos_to_room(x, y) | ^ mklev.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | place_branch(br, x, y) | ^ mklev.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | bydoor(x, y) | ^ mklev.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | okdoor(x,y) | ^ mklev.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | dodoor(x,y,aroom) | ^ mklev.c:1164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1164 | occupied(x, y) | ^ mklev.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | mktrap(num, mazeflag, croom, tm) | ^ mklev.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | mkstairs(x, y, up, croom) | ^ mklev.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | mkfount(mazeflag,croom) | ^ mklev.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | mksink(croom) | ^ mklev.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | mkaltar(croom) | ^ mklev.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | mkgrave(croom) | ^ mklev.c:1468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1468 | mkinvpos(x,y,dist) | ^ mklev.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | mk_knox_portal(x, y) | ^ 32 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mkmap.c -o mkmap.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mkmap.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mkmap.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | init_map(bg_typ) | ^ mkmap.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | init_fill(bg_typ, fg_typ) | ^ mkmap.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | get_map(col,row, bg_typ) | ^ mkmap.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | pass_one(bg_typ, fg_typ) | ^ mkmap.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | pass_two(bg_typ, fg_typ) | ^ mkmap.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | pass_three(bg_typ, fg_typ) | ^ mkmap.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | flood_fill_rm(sx, sy, rmno, lit, anyroom) | ^ mkmap.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | join_map(bg_typ, fg_typ) | ^ mkmap.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | finish_map(fg_typ, bg_typ, lit, walled) | ^ mkmap.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | mkmap(init_lev) | ^ 16 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mkmaze.c -o mkmaze.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mkmaze.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mkmaze.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | iswall(x,y) | ^ mkmaze.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | iswall_or_stone(x,y) | ^ mkmaze.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | is_solid(x,y) | ^ mkmaze.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | extend_spine(locale, wall_there, dx, dy) | ^ mkmaze.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | wallification(x1, y1, x2, y2) | ^ mkmaze.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | okay(x,y,dir) | ^ mkmaze.c:206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 206 | maze0xy(cc) /* find random starting point for maze generation */ | ^ mkmaze.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | bad_location(x, y, lx, ly, hx, hy) | ^ mkmaze.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | place_lregion(lx, ly, hx, hy, nlx, nly, nhx, nhy, rtype, lev) | ^ mkmaze.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | put_lregion_here(x,y,nlx,nly,nhx,nhy,rtype,oneshot,lev) | ^ mkmaze.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | makemaz(s) | ^ mkmaze.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | walkfrom(x,y) | ^ mkmaze.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | move(x,y,dir) | ^ mkmaze.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | mazexy(cc) /* find random point in generated corridors, | ^ mkmaze.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | mkportal(x, y, todnum, todlevel) | ^ mkmaze.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | save_waterlevel(fd, mode) | ^ mkmaze.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | restore_waterlevel(fd) | ^ mkmaze.c:1181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1181 | mk_bubble(x,y,n) | ^ mkmaze.c:1238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1238 | mv_bubble(b,dx,dy,ini) | ^ 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mkobj.c -o mkobj.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mkobj.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mkobj.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | mkobj_at(let,x,y, artif) | ^ mkobj.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | mksobj_at(otyp,x,y,init) | ^ mkobj.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | mkobj(oclass, artif) | ^ mkobj.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | mkbox_cnts(box) | ^ mkobj.c:234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 234 | splitobj(obj, num) | ^ mkobj.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | replace_object(obj, otmp) | ^ mkobj.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | bill_dummy_object(otmp) | ^ mkobj.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | mksobj(otyp, init, artif) | ^ mkobj.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | start_corpse_timeout(body) | ^ mkobj.c:676:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 676 | bless(otmp) | ^ mkobj.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | unbless(otmp) | ^ mkobj.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | curse(otmp) | ^ mkobj.c:724:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 724 | uncurse(otmp) | ^ mkobj.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | blessorcurse(otmp, chance) | ^ mkobj.c:762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 762 | bcsign(otmp) | ^ mkobj.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | weight(obj) | ^ mkobj.c:834:20: warning: parameter 'y' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 834 | rnd_treefruit_at(x,y) | ^ 835 | { mkobj.c:834:18: warning: parameter 'x' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 834 | rnd_treefruit_at(x,y) | ^ 835 | { mkobj.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | rnd_treefruit_at(x,y) | ^ mkobj.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | mkgold(amount, x, y) | ^ mkobj.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | mkcorpstat(objtype, mtmp, ptr, x, y, init) | ^ mkobj.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | obj_attach_mid(obj, mid) | ^ mkobj.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | save_mtraits(obj, mtmp) | ^ mkobj.c:972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 972 | get_mtraits(obj, copyof) | ^ mkobj.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | mk_tt_object(objtype, x, y) | ^ mkobj.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | mk_named_object(objtype, ptr, x, y, nm) | ^ mkobj.c:1035:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1035 | is_flammable(otmp) | ^ mkobj.c:1056:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1056 | place_object(otmp, x, y) | ^ mkobj.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | obj_ice_effects(x, y, do_buried) | ^ mkobj.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | peek_at_iced_corpse_age(otmp) | ^ mkobj.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | obj_timer_checks(otmp, x, y, force) | ^ mkobj.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | remove_object(otmp) | ^ mkobj.c:1226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1226 | discard_minvent(mtmp) | ^ mkobj.c:1254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1254 | obj_extract_self(obj) | ^ mkobj.c:1291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1291 | extract_nobj(obj, head_ptr) | ^ mkobj.c:1318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1318 | extract_nexthere(obj, head_ptr) | ^ mkobj.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | add_to_minv(mon, obj) | ^ mkobj.c:1365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1365 | add_to_container(container, obj) | ^ mkobj.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | add_to_migration(obj) | ^ mkobj.c:1390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | add_to_buried(obj) | ^ mkobj.c:1403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1403 | container_weight(container) | ^ mkobj.c:1420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | dealloc_obj(obj) | ^ mkobj.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | where_name(where) | ^ mkobj.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | check_contained(container, mesg) | ^ 50 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mkroom.c -o mkroom.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mkroom.c:16: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mkroom.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | isbig(sroom) | ^ mkroom.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mkroom(roomtype) | ^ mkroom.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 184 | pick_room(strict) | ^ mkroom.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | mkzoo(type) | ^ mkroom.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | fill_zoo(sroom) | ^ mkroom.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | mkundead(mm, revive_corpses, mm_flags) | ^ mkroom.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | shrine_pos(roomno) | ^ mkroom.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | nexttodoor(sx,sy) | ^ mkroom.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | has_dnstairs(sroom) | ^ mkroom.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | has_upstairs(sroom) | ^ mkroom.c:553:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | somex(croom) | ^ mkroom.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | somey(croom) | ^ mkroom.c:567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 567 | inside_room(croom, x, y) | ^ mkroom.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | somexy(croom, c) | ^ mkroom.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | search_special(type) | ^ mkroom.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | save_room(fd, r) | ^ mkroom.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | save_rooms(fd) | ^ mkroom.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | rest_room(fd, r) | ^ mkroom.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | rest_rooms(fd) | ^ 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mon.c -o mon.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mon.c:10: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mon.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | undead_to_corpse(mndx) | ^ mon.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | pm_to_cham(mndx) | ^ mon.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 114 | make_corpse(mtmp) | ^ mon.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | minwater(mtmp) | ^ mon.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | mcalcmove(mon) | ^ mon.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | meatgold(mtmp) | ^ mon.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | meatobj(mtmp) /* for gelatinous cubes */ | ^ mon.c:717:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 717 | mpickgold(mtmp) | ^ mon.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | mpickstuff(mtmp, str) | ^ mon.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | curr_mon_load(mtmp) | ^ mon.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | max_mon_load(mtmp) | ^ mon.c:831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 831 | can_carry(mtmp,otmp) | ^ mon.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | mfndpos(mon, poss, info, flag) | ^ mon.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | mm_aggression(magr, mdef) | ^ mon.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | monnear(mon, x, y) | ^ mon.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | replmon(mtmp, mtmp2) | ^ mon.c:1168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1168 | relmon(mon) | ^ mon.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | m_detach(mtmp, mptr) | ^ mon.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | mlifesaver(mon) | ^ mon.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | lifesaved_monster(mtmp) | ^ mon.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | mondead(mtmp) | ^ mon.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | corpse_chance(mon) | ^ mon.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | mondied(mdef) | ^ mon.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | mongone(mdef) | ^ mon.c:1421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1421 | monstone(mdef) | ^ mon.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | monkilled(mdef, fltxt, how) | ^ mon.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | unstuck(mtmp) | ^ mon.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | killed(mtmp) | ^ mon.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | xkilled(mtmp, dest) | ^ mon.c:1706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1706 | mon_to_stone(mtmp) | ^ mon.c:1725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1725 | mnexto(mtmp) /* Make monster mtmp next to you (if possible) */ | ^ mon.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | mnearto(mtmp,x,y,move_other) | ^ mon.c:1802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | poisontell(typ) | ^ mon.c:1810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1810 | poisoned(string, typ, pname, fatal) | ^ mon.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | m_respond(mtmp) | ^ mon.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | setmangry(mtmp) | ^ mon.c:1928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1928 | wakeup(mtmp) | ^ mon.c:1954:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1954 | wake_nearto(x, y, distance) | ^ mon.c:1968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1968 | seemimic(mtmp) | ^ mon.c:2030:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2030 | restore_cham(mon) | ^ mon.c:2050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2050 | restrap(mtmp) | ^ mon.c:2073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2073 | mon_animal_list(construct) | ^ mon.c:2106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2106 | select_newcham_form(mon) | ^ mon.c:2132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2132 | newcham(mtmp, mdat) | ^ mon.c:2305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2305 | can_be_hatched(mnum) | ^ mon.c:2322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2322 | egg_type_from_parent(mnum, force_ordinary) | ^ mon.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | dead_species(m_idx, egg) | ^ mon.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | kill_eggs(obj_list) | ^ mon.c:2429:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2429 | golemeffects(mon, damtype, dam) | ^ mon.c:2464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2464 | angry_guards(silent) | ^ 56 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mondata.c -o mondata.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mondata.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mondata.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | set_mon_data(mon, ptr, flag) | ^ mondata.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | attacktype(ptr, atyp) | ^ mondata.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | poly_when_stoned(ptr) | ^ mondata.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | resists_drli(mon) /* returns TRUE if monster is drain-life resistant */ | ^ mondata.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | resists_magm(mon) /* TRUE if monster is magic-missile resistant */ | ^ mondata.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | resists_blnd(mon) | ^ mondata.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | can_blnd(magr, mdef, aatyp, obj) | ^ mondata.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | ranged_attk(ptr) /* returns TRUE if monster can attack at range */ | ^ mondata.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | hates_silver(ptr) | ^ mondata.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | can_track(ptr) /* returns TRUE if monster can track well */ | ^ mondata.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | sliparm(ptr) /* creature will slide out of armor */ | ^ mondata.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 266 | breakarm(ptr) /* creature will break out of armor */ | ^ mondata.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 278 | sticks(ptr) /* creature sticks other creatures it hits */ | ^ mondata.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | dmgtype(ptr, dtyp) | ^ mondata.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | max_passive_dmg(mdef, magr) | ^ mondata.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | monsndx(ptr) /* return an index into the mons array */ | ^ mondata.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | name_to_mon(in_str) | ^ mondata.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | gender(mtmp) | ^ mondata.c:473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | pronoun_gender(mtmp) | ^ mondata.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | levl_follower(mtmp) | ^ mondata.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | little_to_big(montype) | ^ mondata.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | big_to_little(montype) | ^ mondata.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | locomotion(ptr, def) | ^ 29 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c monmove.c -o monmove.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from monmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ monmove.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | mb_trapped(mtmp) | ^ monmove.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | watch_on_duty(mtmp) | ^ monmove.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | dochugw(mtmp) | ^ monmove.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | onscary(x, y, mtmp) | ^ monmove.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | mon_regen(mon, digest_meal) | ^ monmove.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | disturb(mtmp) | ^ monmove.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | distfleeck(mtmp,inrange,nearby,scared) | ^ monmove.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | m_arrival(mon) | ^ monmove.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | dochug(mtmp) | ^ monmove.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | itsstuck(mtmp) | ^ monmove.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | m_move(mtmp, after) | ^ monmove.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | closed_door(x, y) | ^ monmove.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | accessible(x, y) | ^ monmove.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | set_apparxy(mtmp) | ^ monmove.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | can_ooze(mtmp) | ^ 21 warnings generated. ./makedefs -m cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c monstr.c -o monstr.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from monstr.c:2: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from monstr.c:2: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from monstr.c:2: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mplayer.c -o mplayer.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mplayer.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mplayer.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | get_mplname(mtmp, nam) | ^ mplayer.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | mk_mplayer_armor(mon, typ) | ^ mplayer.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | mk_mplayer(ptr, x, y, special) | ^ mplayer.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | create_mplayers(num, special) | ^ mplayer.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | mplayer_talk(mtmp) | ^ 11 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c mthrowu.c -o mthrowu.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from mthrowu.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ mthrowu.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | thitu(tlev, dam, obj, name) /* u is hit by sth, but not a monster */ | ^ mthrowu.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | drop_throw(obj, ohit, x, y) | ^ mthrowu.c:146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 146 | ohitmon(mtmp, otmp, range, verbose) | ^ mthrowu.c:246:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | m_throw(mon, x, y, dx, dy, range, obj) | ^ mthrowu.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | m_useup(mon, obj) | ^ mthrowu.c:470:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 470 | thrwmu(mtmp) /* monster throws item at you */ | ^ mthrowu.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | spitmu(mtmp, mattk) /* monster spits substance at you */ | ^ mthrowu.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | breamu(mtmp, mattk) /* monster breathes at you (ranged) */ | ^ mthrowu.c:675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 675 | linedup(ax, ay, bx, by) | ^ mthrowu.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | lined_up(mtmp) /* is mtmp in position to use ranged attack? */ | ^ mthrowu.c:706:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 706 | m_carrying(mtmp, type) | ^ 17 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c muse.c -o muse.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from muse.c:9: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ muse.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | precheck(mon, obj) | ^ muse.c:79:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 79 | if (vis) pline(empty); | ^~~~~ muse.c:79:19: note: treat the string as an argument to avoid this 79 | if (vis) pline(empty); | ^ | "%s", muse.c:102:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 102 | if (vis) pline(empty); | ^~~~~ muse.c:102:22: note: treat the string as an argument to avoid this 102 | if (vis) pline(empty); | ^ | "%s", muse.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | mzapmsg(mtmp, otmp, self) | ^ muse.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 164 | mreadmsg(mtmp, otmp) | ^ muse.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | mquaffmsg(mtmp, otmp) | ^ muse.c:249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 249 | find_defensive(mtmp) | ^ muse.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | use_defensive(mtmp) | ^ muse.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | rnd_defensive_item(mtmp) | ^ muse.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | find_offensive(mtmp) | ^ muse.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | mbhitm(mtmp, otmp) | ^ muse.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | mbhit(mon,range,fhitm,fhito,obj) | ^ muse.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | use_offensive(mtmp) | ^ muse.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | rnd_offensive_item(mtmp) | ^ muse.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | find_misc(mtmp) | ^ muse.c:1624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1624 | use_misc(mtmp) | ^ muse.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | you_aggravate(mtmp) | ^ muse.c:1841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1841 | rnd_misc_item(mtmp) | ^ muse.c:1877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1877 | searches_for_item(mon, obj) | ^ muse.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | mon_reflects(mon,str) | ^ muse.c:1989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1989 | ureflects (fmt, str) | ^ muse.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | munstone(mon, by_you) | ^ 28 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c music.c -o music.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from music.c:29: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ music.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | awaken_monsters(distance) | ^ music.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | put_monsters_to_sleep(distance) | ^ music.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | charm_snakes(distance) | ^ music.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | calm_nymphs(distance) | ^ music.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | charm_monsters(distance) | ^ music.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | do_earthquake(force) | ^ music.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 343 | do_improvisation(instr) | ^ music.c:468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 468 | do_play_instrument(instr) | ^ 14 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c o_init.c -o o_init.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from o_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ o_init.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 | setgemprobs(dlev) | ^ o_init.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | shuffle(o_low, o_high, domaterial) | ^ o_init.c:253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 253 | savenames(fd, mode) | ^ o_init.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | restnames(fd) | ^ o_init.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | discover_object(oindx, mark_as_known, credit_hero) | ^ o_init.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | undiscover_object(oindx) | ^ o_init.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | interesting_to_discover(i) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c objnam.c -o objnam.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from objnam.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ objnam.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | strprepend(s,pref) | ^ objnam.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | obj_typename(otyp) | ^ objnam.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | simple_typename(otyp) | ^ objnam.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | obj_is_pname(obj) | ^ objnam.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | distant_name(obj, func) | ^ objnam.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | xname(obj) | ^ objnam.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | the_unique_obj(obj) | ^ objnam.c:472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 472 | add_erosion_words(obj,prefix) | ^ objnam.c:508:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 508 | doname(obj) | ^ objnam.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | not_fully_identified(otmp) | ^ objnam.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | corpse_xname(otmp, ignore_oquan) | ^ objnam.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | singular(otmp, func) | ^ objnam.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | an(str) | ^ objnam.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | An(str) | ^ objnam.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | the(str) | ^ objnam.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | The(str) | ^ objnam.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | aobjnam(otmp,verb) | ^ objnam.c:934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 934 | Doname2(obj) | ^ objnam.c:945:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 945 | yname(obj) | ^ objnam.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | Yname2(obj) | ^ objnam.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 993 | makeplural(oldstr) | ^ objnam.c:1263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1263 | makesingular(oldstr) | ^ objnam.c:1355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1355 | wishymatch(u_str, o_str, retry_inverted) | ^ objnam.c:1450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1450 | readobjnam(bp) | ^ objnam.c:2395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2395 | rnd_class(first,last) | ^ objnam.c:2414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2414 | Japanese_item_name(i) | ^ 32 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c options.c -o options.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from options.c:13: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ options.c:407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 407 | match_optname(user_string, opt_name, min_length, val_allowed) | ^ options.c:434:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 434 | nh_getenv(ev) | ^ options.c:554:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 554 | nmcpy(dest, src, maxlen) | ^ options.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | escapes(cp, tp) | ^ options.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 633 | boolopt_only_initial(i) | ^ options.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | rejectoption(optname) | ^ options.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | badoption(opts) | ^ options.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | string_for_opt(opts, val_optional) | ^ options.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | string_for_env_opt(optname, opts, val_optional) | ^ options.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | bad_negation(optname, with_parameter) | ^ options.c:745:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 745 | change_inv_order(op) | ^ options.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 779 | graphics_opts(opts, optype, maxlen, offset) | ^ options.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | warning_opts(opts, optype) | ^ options.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | assign_warnings(graph_chars) | ^ options.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | feature_alert_opts(op, optn) | ^ options.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | parseoptions(opts, tinitial, tfrom_file) | ^ options.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | oc_to_str(src,dest) | ^ options.c:1826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1826 | add_menu_cmd_alias(from_ch, to_ch) | ^ options.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | map_menu_cmd(ch) | ^ options.c:1866:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1866 | doset_add_menu(win, option, indexoffset) | ^ options.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | special_handling(optname, setinitial, setfromfile) | ^ options.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | get_compopt_value(optname, buf) | ^ options.c:2319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2319 | next_opt(datawin, str) | ^ options.c:2357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2357 | fruitadd(str) | ^ options.c:2459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2459 | choose_classes_menu(prompt, category, way, class_list, class_select) | ^ 31 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c pager.c -o pager.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from pager.c:8: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ pager.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | is_swallow_sym(c) | ^ pager.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | append_str(buf, new_str) | ^ pager.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | lookat(x, y, buf, monbuf) | ^ pager.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | checkfile(inp, pm, user_typed_name, without_asking) | ^ pager.c:410:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 410 | do_look(quick) | ^ pager.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | jtp_do_lookat(x, y, buf, monbuf) | ^ pager.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | help_menu(sel) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c pickup.c -o pickup.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from pickup.c:9: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ pickup.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | simple_look(otmp, here) | ^ pickup.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | collect_obj_classes(ilets, otmp, here, incl_gold, filter) | ^ pickup.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | query_classes(oclasses, one_at_a_time, everything, action, objs, | ^ pickup.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | check_here(picked_some) | ^ pickup.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 240 | n_or_more(obj) | ^ pickup.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | add_valid_menu_class(c) | ^ pickup.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | all_but_uchain(obj) | ^ pickup.c:274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 274 | allow_all(obj) | ^ pickup.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | allow_category(obj) | ^ pickup.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | is_worn_by_type(otmp) | ^ pickup.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | pickup(what) | ^ pickup.c:513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 513 | autopick(olist, follow, pick_list) | ^ pickup.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | query_objlist(qstr, olist, qflags, pick_list, how, allow) | ^ pickup.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | query_category(qstr, olist, qflags, pick_list, how) | ^ pickup.c:763:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 763 | count_categories(olist, qflags) | ^ pickup.c:794:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | long carry_count(obj, container, count, telekinesis, wt_before, wt_after) | ^ pickup.c:924:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | int lift_object(obj, container, cnt_p, telekinesis) | ^ pickup.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | pickup_object(obj, count, telekinesis) | ^ pickup.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | pick_obj(otmp) | ^ pickup.c:1169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1169 | container_at(x, y, countem) | ^ pickup.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | able_to_loot(x, y) | ^ pickup.c:1212:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | boolean mon_beside(x,y) | ^ pickup.c:1331:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1331 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pickup.c:1331:12: note: treat the string as an argument to avoid this 1331 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ pickup.c:1448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1448 | mbag_explodes(obj, depthin) | ^ pickup.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | in_container(obj) | ^ pickup.c:1614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1614 | ck_bag(obj) | ^ pickup.c:1622:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1622 | out_container(obj) | ^ pickup.c:1686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1686 | use_container(obj, held) | ^ pickup.c:1893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1893 | menu_loot(retry, container, put_in) | ^ pickup.c:1963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1963 | in_or_out_menu(prompt, obj) | ^ 36 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c pline.c -o pline.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from pline.c:6: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ pline.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | You_buf(siz) | ^ pline.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | align_str(alignment) | ^ pline.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | mstatusline(mtmp) | ^ 9 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c polyself.c -o polyself.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from polyself.c:13: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ polyself.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | polyman(fmt, arg) | ^ polyself.c:219:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 219 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:219:7: note: treat the string as an argument to avoid this 219 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ polyself.c:241:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 241 | if (tries==5) pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:241:23: note: treat the string as an argument to avoid this 241 | if (tries==5) pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ polyself.c:309:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | polymon(mntmp) /* returns 1 if polymorph successful */ | ^ polyself.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | drop_weapon(alone) | ^ polyself.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | mbodypart(mon, part) | ^ polyself.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | body_part(part) | ^ polyself.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | ugolemeffects(damtype, dam) | ^ polyself.c:1155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1155 | armor_to_dragon(atyp) | ^ 15 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c potion.c -o potion.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from potion.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ potion.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | itimeout(val) | ^ potion.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 31 | itimeout_incr(old, incr) | ^ potion.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 40 | set_itimeout(which, val) | ^ potion.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | incr_itimeout(which, incr) | ^ potion.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | make_confused(xtime,talk) | ^ potion.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | make_stunned(xtime,talk) | ^ potion.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | make_sick(xtime, cause, talk, type) | ^ potion.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | make_vomiting(xtime, talk) | ^ potion.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | make_blinded(xtime, talk) | ^ potion.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | make_hallucinated(xtime, talk, mask) | ^ potion.c:231:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 231 | if (!Blind && talk) pline(message); | ^~~~~~~ potion.c:231:32: note: treat the string as an argument to avoid this 231 | if (!Blind && talk) pline(message); | ^ | "%s", potion.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | dopotion(otmp) | ^ potion.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | peffects(otmp) | ^ potion.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | healup(nhp, nxtra, curesick, cureblind) | ^ potion.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | strange_feeling(obj,txt) | ^ potion.c:836:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 836 | pline(txt); | ^~~ potion.c:836:9: note: treat the string as an argument to avoid this 836 | pline(txt); | ^ | "%s", potion.c:852:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 852 | potionhit(mon, obj, your_fault) | ^ potion.c:1072:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1072 | potionbreathe(obj) | ^ potion.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | mixtype(o1, o2) | ^ potion.c:1301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | get_wet(obj) | ^ potion.c:1505:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1505 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1505:9: note: treat the string as an argument to avoid this 1505 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ potion.c:1740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1740 | djinni_from_bottle(obj) | ^ potion.c:1788:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1788 | split_mon(mon, mtmp) | ^ 29 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c pray.c -o pray.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from pray.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ pray.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | fix_worst_trouble(trouble) | ^ pray.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | god_zaps_you(resp_god) | ^ pray.c:446:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 446 | fry_by_god(resp_god) | ^ pray.c:459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 459 | angrygods(resp_god) | ^ pray.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 526 | pleased(g_align) | ^ pray.c:861:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 861 | water_prayer(bless_water) | ^ pray.c:889:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 889 | godvoice(g_align, words) | ^ pray.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | gods_angry(g_align) | ^ pray.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | gods_upset(g_align) | ^ pray.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | consume_offering(otmp) | ^ pray.c:1148:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1148 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1148:8: note: treat the string as an argument to avoid this 1148 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ pray.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | can_pray(praying) | ^ pray.c:1570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1570 | a_gname_at(x,y) /* returns the name of an altar's deity */ | ^ pray.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | align_gname(alignment) | ^ pray.c:1605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1605 | halu_gname(alignment) | ^ pray.c:1627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1627 | align_gtitle(alignment) | ^ pray.c:1643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1643 | altar_wrath(x, y) | ^ pray.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | blocked_boulder(dx,dy) | ^ 24 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c priest.c -o priest.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from priest.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ priest.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | move_special(mtmp,in_his_shop,appr,uondoor,avoid,omx,omy,gx,gy) | ^ priest.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | temple_occupied(array) | ^ priest.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | histemple_at(priest, x, y) | ^ priest.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | pri_move(priest) | ^ priest.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | priestini(lvl, sroom, sx, sy, sanctum) | ^ priest.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 254 | priestname(mon, pname) | ^ priest.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | p_coaligned(priest) | ^ priest.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | has_shrine(pri) | ^ priest.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | findpriest(roomno) | ^ priest.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | intemple(roomno) | ^ priest.c:366:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 366 | verbalize(msg1); | ^~~~ priest.c:366:17: note: treat the string as an argument to avoid this 366 | verbalize(msg1); | ^ | "%s", priest.c:367:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 367 | if (msg2) verbalize(msg2); | ^~~~ priest.c:367:27: note: treat the string as an argument to avoid this 367 | if (msg2) verbalize(msg2); | ^ | "%s", priest.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | priest_talk(priest) | ^ priest.c:435:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 435 | verbalize(cranky_msg[rn2(3)]); | ^~~~~~~~~~~~~~~~~~ priest.c:435:16: note: treat the string as an argument to avoid this 435 | verbalize(cranky_msg[rn2(3)]); | ^ | "%s", priest.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | mk_roamer(ptr, alignment, x, y, peaceful) | ^ priest.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | reset_hostility(roamer) | ^ priest.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | in_your_sanctuary(mon, x, y) | ^ priest.c:581:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 581 | ghod_hitsu(priest) /* when attacking "priest" in his temple */ | ^ priest.c:685:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 685 | restpriest(mtmp, ghostly) | ^ 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c quest.c -o quest.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from quest.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ quest.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | is_pure(talk) | ^ quest.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | expulsion(seal) | ^ quest.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | finish_quest(obj) | ^ quest.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | leader_speaks(mtmp) | ^ quest.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | prisoner_speaks (mtmp) | ^ quest.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | quest_chat(mtmp) | ^ quest.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | quest_talk(mtmp) | ^ quest.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | quest_stat_check(mtmp) | ^ 14 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c questpgr.c -o questpgr.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from questpgr.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ questpgr.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | Fread(ptr, size, nitems, stream) | ^ questpgr.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 69 | construct_qtlist(hdr_offset) | ^ questpgr.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | quest_info(typ) | ^ questpgr.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 181 | is_quest_artifact(otmp) | ^ questpgr.c:222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 222 | msg_in(qtm_list, msgnum) | ^ questpgr.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | convert_arg(c) | ^ questpgr.c:368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 368 | deliver_by_pline(qt_msg) | ^ questpgr.c:376:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 376 | pline(out_line); | ^~~~~~~~ questpgr.c:376:12: note: treat the string as an argument to avoid this 376 | pline(out_line); | ^ | "%s", questpgr.c:382:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 382 | deliver_by_window(qt_msg, how) | ^ questpgr.c:399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 399 | com_pager(msgnum) | ^ questpgr.c:417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 417 | qt_pager(msgnum) | ^ 17 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c read.c -o read.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from read.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ read.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | stripspe(obj) | ^ read.c:155:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 155 | if (obj->blessed) pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:155:26: note: treat the string as an argument to avoid this 155 | if (obj->blessed) pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:162:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 162 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:162:16: note: treat the string as an argument to avoid this 162 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | p_glow1(otmp) | ^ read.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | p_glow2(otmp,color) | ^ read.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | is_chargeable(obj) | ^ read.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 208 | recharge(obj, curse_bless) | ^ read.c:318:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 318 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:318:10: note: treat the string as an argument to avoid this 318 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:376:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 376 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:376:20: note: treat the string as an argument to avoid this 376 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:427:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 427 | forget_single_object(obj_id) | ^ read.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | randomize(indices, count) | ^ read.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | forget_objects(percent) | ^ read.c:505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 505 | forget_map(howmuch) | ^ read.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | forget_levels(percent) | ^ read.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | forget(howmuch) | ^ read.c:627:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 627 | seffects(sobj) | ^ read.c:1227:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1227 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1227:13: note: treat the string as an argument to avoid this 1227 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ read.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | wand_explode(obj) | ^ read.c:1260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1260 | set_lit(x,y,val) | ^ read.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | litroom(on,obj) | ^ read.c:1371:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1371 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1371:10: note: treat the string as an argument to avoid this 1371 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ read.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | do_genocide(how) | ^ read.c:1523:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1523 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1523:13: note: treat the string as an argument to avoid this 1523 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ read.c:1629:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1629 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1629:9: note: treat the string as an argument to avoid this 1629 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:1634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1634 | punish(sobj) | ^ read.c:1682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1682 | cant_create(mtype, revival) | ^ read.c:1713:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1713 | if (tries == 5) pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1713:24: note: treat the string as an argument to avoid this 1713 | if (tries == 5) pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ 33 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c rect.c -o rect.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from rect.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ rect.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | get_rect_ind(r) | ^ rect.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | get_rect(r) | ^ rect.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | intersect(r1, r2, r3) | ^ rect.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | remove_rect(r) | ^ rect.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | add_rect(r) | ^ rect.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | split_rects(r1, r2) | ^ 12 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c region.c -o region.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from region.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from region.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from region.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ region.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | inside_rect(r, x, y) | ^ region.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | inside_region(reg, x, y) | ^ region.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | create_region(rects, nrect) | ^ region.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | add_rect_to_reg(reg, rect) | ^ region.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 168 | add_mon_to_reg(reg, mon) | ^ region.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | remove_mon_from_reg(reg, mon) | ^ region.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 213 | mon_in_region(reg, mon) | ^ region.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | free_region(reg) | ^ region.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | add_region(reg) | ^ region.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | remove_region(reg) | ^ region.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | in_out_region(x, y) | ^ region.c:442:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 442 | pline(regions[i]->leave_msg); | ^~~~~~~~~~~~~~~~~~~~~ region.c:442:9: note: treat the string as an argument to avoid this 442 | pline(regions[i]->leave_msg); | ^ | "%s", region.c:453:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 453 | pline(regions[i]->enter_msg); | ^~~~~~~~~~~~~~~~~~~~~ region.c:453:9: note: treat the string as an argument to avoid this 453 | pline(regions[i]->enter_msg); | ^ | "%s", region.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | m_in_out_region(mon, x, y) | ^ region.c:527:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 527 | update_monster_region(mon) | ^ region.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | visible_region_at(x, y) | ^ region.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | show_region(reg, x, y) | ^ region.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | save_regions(fd, mode) | ^ region.c:653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 653 | rest_regions(fd) | ^ region.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | expire_gas_cloud(p1, p2) | ^ region.c:841:14: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 841 | damage = (int) reg->arg; | ^~~~~~~~~~~~~~ region.c:846:13: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 846 | reg->arg = (genericptr_t) damage; | ^~~~~~~~~~~~~~~~~~~~~ region.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | inside_gas_cloud(p1, p2) | ^ region.c:863:11: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 863 | dam = (int) reg->arg; | ^~~~~~~~~~~~~~ region.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | create_gas_cloud(x, y, radius, damage) | ^ region.c:926:18: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 926 | cloud->arg = (genericptr_t) damage; | ^~~~~~~~~~~~~~~~~~~~~ 32 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c restore.c -o restore.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from restore.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ restore.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | inven_inuse(quietly) | ^ restore.c:116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 116 | restlevchn(fd) | ^ restore.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | restdamage(fd, ghostly) | ^ restore.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | restobjchn(fd, ghostly, frozen) | ^ restore.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | restmonchn(fd, ghostly) | ^ restore.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | loadfruitchn(fd) | ^ restore.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | freefruitchn(flist) | ^ restore.c:327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 327 | ghostfruit(otmp) | ^ restore.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | restgamestate(fd, mid, steedid) | ^ restore.c:437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | restlevelstate(mid, steedid) | ^ restore.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | restlevelfile(fd, ltmp) | ^ restore.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | dorecover(fd) | ^ restore.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | getlev(fd, pid, lev, ghostly) | ^ restore.c:867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 867 | add_id_mapping(gid, nid) | ^ restore.c:892:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 892 | lookup_id_mapping(gid, nidp) | ^ restore.c:918:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 918 | reset_oattached_mids(ghostly) | ^ restore.c:1005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1005 | mread(fd, buf, len) | ^ 23 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c rip.c -o rip.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from rip.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ rip.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | center(line, text) | ^ rip.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | genl_outrip(tmpwin, how) | ^ 8 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c rnd.c -o rnd.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from rnd.c:4: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ rnd.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | rn2(x) /* 0 <= rn2(x) < x */ | ^ rnd.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | rnl(x) /* 0 <= rnl(x) < x; sometimes subtracting Luck */ | ^ rnd.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | rnd(x) /* 1 <= rnd(x) <= x */ | ^ rnd.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | d(n,x) /* n <= d(n,x) <= (n*x) */ | ^ rnd.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | rne(x) | ^ rnd.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | rnz(i) | ^ 12 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c role.c -o role.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from role.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from role.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from role.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ role.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | validrole(rolenum) | ^ role.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | str2role(str) | ^ role.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | validrace(rolenum, racenum) | ^ role.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | randrace(rolenum) | ^ role.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | str2race(str) | ^ role.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | validgend(rolenum, racenum, gendnum) | ^ role.c:634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 634 | randgend(rolenum, racenum) | ^ role.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 660 | str2gend(str) | ^ role.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | validalign(rolenum, racenum, alignnum) | ^ role.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | randalign(rolenum, racenum) | ^ role.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | str2align(str) | ^ role.c:755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 755 | ok_role(rolenum, racenum, gendnum, alignnum) | ^ role.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | pick_role(racenum, gendnum, alignnum) | ^ role.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | ok_race(rolenum, racenum, gendnum, alignnum) | ^ role.c:857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 857 | pick_race(rolenum, gendnum, alignnum) | ^ role.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | ok_gend(rolenum, racenum, gendnum, alignnum) | ^ role.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | pick_gend(rolenum, racenum, alignnum) | ^ role.c:944:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 944 | ok_align(rolenum, racenum, gendnum, alignnum) | ^ role.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | pick_align(rolenum, racenum, gendnum) | ^ role.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | Hello(mtmp) | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c rumors.c -o rumors.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from rumors.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ rumors.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | init_rumors(fp) | ^ rumors.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | getrumor(truth, rumor_buf, exclude_cookie) | ^ rumors.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | outrumor(truth, mechanism) | ^ rumors.c:178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 178 | init_oracles(fp) | ^ rumors.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | save_oracles(fd, mode) | ^ rumors.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | restore_oracles(fd) | ^ rumors.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | outoracle(special, delphi) | ^ rumors.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | doconsult(oracl) | ^ 14 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c save.c -o save.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from save.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ save.c:87:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 87 | hangup(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ save.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | savegamestate(fd, mode) | ^ save.c:412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 412 | savelev(fd,lev,mode) | ^ save.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | bufon(fd) | ^ save.c:691:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 691 | bufoff(fd) | ^ save.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | bflush(fd) | ^ save.c:712:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 712 | bwrite(fd,loc,num) | ^ save.c:752:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 752 | bclose(fd) | ^ save.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | savelevchn(fd, mode) | ^ save.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | savedamage(fd, mode) | ^ save.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | saveobjchn(fd, otmp, mode) | ^ save.c:847:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 847 | savemonchn(fd, mtmp, mode) | ^ save.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | savetrapchn(fd, trap, mode) | ^ save.c:901:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 901 | savefruitchn(fd, mode) | ^ 20 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c shk.c -o shk.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from shk.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ shk.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 74 | next_shkp(shkp, withbill) | ^ shk.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | shkname(mtmp) /* called in do_name.c */ | ^ shk.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | shkgone(mtmp) /* called in mon.c */ | ^ shk.c:124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 124 | set_residency(shkp, zero_out) | ^ shk.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | replshk(mtmp,mtmp2) | ^ shk.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 145 | restshk(shkp, ghostly) | ^ shk.c:169:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 169 | clear_unpaid(list) | ^ shk.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | setpaid(shkp) /* either you paid or left the shop or the shopkeeper died */ | ^ shk.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | addupbill(shkp) | ^ shk.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 228 | call_kops(shkp, nearshop) | ^ shk.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | inside_shop(x, y) | ^ shk.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | u_left_shop(leavestring, newlev) | ^ shk.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | u_entered_shop(enterstring) | ^ shk.c:482:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | boolean same_price(obj1, obj2) | ^ shk.c:514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | shop_debt(eshkp) | ^ shk.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | inhishop(mtmp) | ^ shk.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | shop_keeper(rmno) | ^ shk.c:592:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 592 | tended_shop(sroom) | ^ shk.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | onbill(obj, shkp, silent) | ^ shk.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | delete_contents(obj) | ^ shk.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | obfree(obj, merge) | ^ shk.c:699:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 699 | check_credit(tmp, shkp) | ^ shk.c:719:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 719 | pay(tmp,shkp) | ^ shk.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | home_shk(shkp, killkops) | ^ shk.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | pacify_shk(shkp) | ^ shk.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | rile_shk(shkp) | ^ shk.c:808:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 808 | make_happy_shk(shkp, silentkops) | ^ shk.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | hot_pursuit(shkp) | ^ shk.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | make_angry_shk(shkp, ox, oy) | ^ shk.c:906:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 906 | cheapest_item(shkp) /* delivers the cheapest item on the list */ | ^ shk.c:1125:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1125 | pline(sbuf); | ^~~~ shk.c:1125:9: note: treat the string as an argument to avoid this 1125 | pline(sbuf); | ^ | "%s", shk.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | dopayobj(shkp, bp, obj_p, which, itemize) | ^ shk.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | paybill(croaked) | ^ shk.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | inherits(shkp, numsk, croaked) | ^ shk.c:1465:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1465 | set_repo_loc(eshkp) | ^ shk.c:1513:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1513 | bp_to_obj(bp) | ^ shk.c:1532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1532 | find_oid(id) | ^ shk.c:1561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1561 | get_cost(obj, shkp) | ^ shk.c:1611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1611 | contained_cost(obj, shkp, price, usell) | ^ shk.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | contained_gold(obj) | ^ shk.c:1659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1659 | dropped_container(obj, shkp, sale) | ^ shk.c:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1679 | picked_container(obj) | ^ shk.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | set_cost(obj, shkp) | ^ shk.c:1738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1738 | unpaid_cost(unp_obj) | ^ shk.c:1755:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1755 | add_one_tobill(obj, dummy) | ^ shk.c:1798:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1798 | add_to_billobjs(obj) | ^ shk.c:1813:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1813 | bill_box_content(obj, ininv, dummy, shkp) | ^ shk.c:1834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1834 | shk_names_obj(shkp, obj, fmt, amt, arg) | ^ shk.c:1869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1869 | addtobill(obj, ininv, dummy, silent) | ^ shk.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | splitbill(obj, otmp) | ^ shk.c:2015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2015 | sub_one_frombill(obj, shkp) | ^ shk.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | subfrombill(obj, shkp) | ^ shk.c:2081:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2081 | stolen_container(obj, shkp, price, ininv) | ^ shk.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2126 | stolen_value(obj, x, y, peaceful, silent) | ^ shk.c:2186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2186 | sellobj_state(deliberate) /* called from dodrop(do.c) and doddrop() */ | ^ shk.c:2200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2200 | sellobj(obj, x, y) | ^ shk.c:2409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2409 | doinvbill(mode) | ^ shk.c:2499:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2499 | getprice(obj, shk_buying) | ^ shk.c:2534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | shkcatch(obj, x, y) | ^ shk.c:2566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2566 | add_damage(x, y, cost) | ^ shk.c:2614:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2614 | remove_damage(shkp, croaked) | ^ shk.c:2709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2709 | repair_damage(shkp, tmp_dam, catchup) | ^ shk.c:2837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2837 | shk_move(shkp) | ^ shk.c:2942:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2942 | is_fshk(mtmp) | ^ shk.c:2950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2950 | shopdig(fall) | ^ shk.c:3006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3006 | makekops(mm) | ^ shk.c:3032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | pay_for_damage(dmgstr) | ^ shk.c:3182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3182 | costly_spot(x, y) | ^ shk.c:3201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3201 | shop_object(x, y) | ^ shk.c:3221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3221 | price_quote(first_obj) | ^ shk.c:3270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3270 | shk_embellish(itm, cost) | ^ shk.c:3315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3315 | shk_chat(shkp) | ^ shk.c:3357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3357 | kops_gone(silent) | ^ shk.c:3380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3380 | cost_per_charge(shkp, otmp, altusage) | ^ shk.c:3435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3435 | check_unpaid_usage(otmp, altusage) | ^ shk.c:3472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3472 | check_unpaid(otmp) | ^ shk.c:3479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3479 | costly_gold(x, y, amount) | ^ shk.c:3516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3516 | block_door(x,y) | ^ shk.c:3548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3548 | block_entry(x,y) | ^ shk.c:3588:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3588 | shk_your(buf, obj) | ^ shk.c:3598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3598 | Shk_Your(buf, obj) | ^ shk.c:3608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3608 | shk_owns(buf, obj) | ^ shk.c:3625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3625 | mon_owns(buf, obj) | ^ 89 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c shknam.c -o shknam.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from shknam.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ shknam.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | mkshobj_at(shp, sx, sy) | ^ shknam.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | nameshk(shk, nlp) | ^ shknam.c:329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | shkinit(shp, sroom) /* create a new shopkeeper in the given room */ | ^ shknam.c:413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 413 | stock_room(shp_indx, sroom) | ^ shknam.c:485:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 485 | saleable(shkp, obj) | ^ shknam.c:503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 503 | get_shop_item(type) | ^ 12 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c sit.c -o sit.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from sit.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c sounds.c -o sounds.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from sounds.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ sounds.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | mon_in_room(mon, rmtyp) | ^ sounds.c:51:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 51 | You_hear(fountain_msg[rn2(3)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:51:11: note: treat the string as an argument to avoid this 51 | You_hear(fountain_msg[rn2(3)+hallu]); | ^ | "%s", sounds.c:60:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 60 | You_hear(sink_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:60:11: note: treat the string as an argument to avoid this 60 | You_hear(sink_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:79:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 79 | if (which != 2) You_hear(throne_msg[which]); | ^~~~~~~~~~~~~~~~~ sounds.c:79:28: note: treat the string as an argument to avoid this 79 | if (which != 2) You_hear(throne_msg[which]); | ^ | "%s", sounds.c:91:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 91 | You(swamp_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:91:6: note: treat the string as an argument to avoid this 91 | You(swamp_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:199:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 199 | You_hear(barracks_msg[rn2(3)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:199:12: note: treat the string as an argument to avoid this 199 | You_hear(barracks_msg[rn2(3)+hallu]); | ^ | "%s", sounds.c:214:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 214 | You_hear(zoo_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~ sounds.c:214:12: note: treat the string as an argument to avoid this 214 | You_hear(zoo_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:232:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 232 | You_hear(shop_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:232:15: note: treat the string as an argument to avoid this 232 | You_hear(shop_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:250:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 250 | You_hear(ora_msg[rn2(3)+hallu*2]); | ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:250:15: note: treat the string as an argument to avoid this 250 | You_hear(ora_msg[rn2(3)+hallu*2]); | ^ | "%s", sounds.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | growl_sound(mtmp) | ^ sounds.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | growl(mtmp) | ^ sounds.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | yelp(mtmp) | ^ sounds.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | whimper(mtmp) | ^ sounds.c:403:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 403 | beg(mtmp) | ^ sounds.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | domonnoise(mtmp) | ^ sounds.c:797:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 797 | else if (verbl_msg) verbalize(verbl_msg); | ^~~~~~~~~ sounds.c:797:35: note: treat the string as an argument to avoid this 797 | else if (verbl_msg) verbalize(verbl_msg); | ^ | "%s", 22 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c sp_lev.c -o sp_lev.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from sp_lev.c:12: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ sp_lev.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | set_wall_property(x1,y1,x2,y2, prop) | ^ sp_lev.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | get_location(x, y, humidity) | ^ sp_lev.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | is_ok_location(x, y, humidity) | ^ sp_lev.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | sp_lev_shuffle(list1, list2, n) | ^ sp_lev.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | get_room_loc(x,y, croom) | ^ sp_lev.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 290 | get_free_room_loc(x,y, croom) | ^ sp_lev.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 308 | check_room(lowx, ddx, lowy, ddy, vault) | ^ sp_lev.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | create_room(x,y,w,h,xal,yal,rtype,rlit) | ^ sp_lev.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 533 | create_subroom(proom, x, y, w, h, rtype, rlit) | ^ sp_lev.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 582 | create_door(dd, broom) | ^ sp_lev.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | create_secret_door(croom, walls) | ^ sp_lev.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | create_trap(t,croom) | ^ sp_lev.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 735 | noncoalignment(alignment) | ^ sp_lev.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | create_monster(m,croom) | ^ sp_lev.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | create_object(o,croom) | ^ sp_lev.c:1044:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1044 | create_engraving(e, croom) | ^ sp_lev.c:1066:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | create_stairs(s,croom) | ^ sp_lev.c:1082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1082 | create_altar(a, croom) | ^ sp_lev.c:1152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1152 | create_gold(g,croom) | ^ sp_lev.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | create_feature(fx, fy, croom, typ) | ^ sp_lev.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | search_door(croom,x,y,wall,cnt) | ^ sp_lev.c:1268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1268 | dig_corridor(org,dest,nxcor,ftyp,btyp) | ^ sp_lev.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | create_corridor(c) | ^ sp_lev.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | fill_room(croom, prefilled) | ^ sp_lev.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | free_rooms(ro, n) | ^ sp_lev.c:1593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1593 | build_room(r, pr) | ^ sp_lev.c:1674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1674 | light_region(tmpregion) | ^ sp_lev.c:1703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1703 | load_common_data(fd, typ) | ^ sp_lev.c:1751:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1751 | load_one_monster(fd, m) | ^ sp_lev.c:1773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1773 | load_one_object(fd, o) | ^ sp_lev.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | load_one_engraving(fd, e) | ^ sp_lev.c:1803:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1803 | load_rooms(fd) | ^ sp_lev.c:2033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2033 | maze1xy(m, humidity) | ^ sp_lev.c:2059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2059 | load_maze(fd) | ^ sp_lev.c:2621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2621 | load_special(name) | ^ 41 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c spell.c -o spell.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from spell.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ spell.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | spell_let_to_idx(ilet) | ^ spell.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | cursed_book(lev) | ^ spell.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | deadbook(book2) | ^ spell.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | study_book(spellbook) | ^ spell.c:449:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 449 | book_substitution(old_obj, new_obj) | ^ spell.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | getspell(spell_no) | ^ spell.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | spelltypemnemonic(skill) | ^ spell.c:555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | spell_skilltype(booktype) | ^ spell.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | spelleffects(spell, atme) | ^ spell.c:854:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 854 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:854:10: note: treat the string as an argument to avoid this 854 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | dospellmenu(prompt, splaction, spell_no) | ^ spell.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | isqrt(val) | ^ spell.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | percent_success(spell) | ^ spell.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | initialspell(obj) | ^ 20 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c steal.c -o steal.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from steal.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ steal.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 13 | equipname(otmp) | ^ steal.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | stealgold(mtmp) | ^ steal.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | remove_worn_item(obj) | ^ steal.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | steal(mtmp) | ^ steal.c:282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 282 | mpickobj(mtmp,otmp) | ^ steal.c:321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 321 | stealamulet(mtmp) | ^ steal.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | relobj(mtmp,show,is_pet) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c steed.c -o steed.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from steed.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from steed.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from steed.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ steed.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 20 | can_saddle(mtmp) | ^ steed.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | use_saddle(otmp) | ^ steed.c:53:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 53 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ steed.c:53:12: note: treat the string as an argument to avoid this 53 | pline(Never_mind); | ^ | "%s", ../include/decl.h:291:23: note: expanded from macro 'Never_mind' 291 | #define Never_mind c_common_strings.c_Never_mind | ^ steed.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | can_ride(mtmp) | ^ steed.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | mount_steed(mtmp, force) | ^ steed.c:348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 348 | dismount_steed(reason) | ^ steed.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | place_monster(mon, x, y) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c teleport.c -o teleport.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from teleport.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ teleport.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 21 | goodpos(x, y, mtmp) | ^ teleport.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | enexto(cc, xx, yy, mdat) | ^ teleport.c:160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 160 | tele_jump_ok(x1, y1, x2, y2) | ^ teleport.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | teleok(x, y, trapok) | ^ teleport.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | teleds(nux, nuy) | ^ teleport.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | teleport_pet(mtmp, force_it) | ^ teleport.c:474:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 474 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:474:7: note: treat the string as an argument to avoid this 474 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:536:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 536 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:536:7: note: treat the string as an argument to avoid this 536 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:553:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 553 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:553:7: note: treat the string as an argument to avoid this 553 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:559:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 559 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:559:7: note: treat the string as an argument to avoid this 559 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | domagicportal(ttmp) | ^ teleport.c:669:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 669 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:669:7: note: treat the string as an argument to avoid this 669 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 695 | tele_trap(trap) | ^ teleport.c:703:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 703 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:703:7: note: treat the string as an argument to avoid this 703 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:287:28: note: expanded from macro 'shudder_for_moment' 287 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | level_tele_trap(trap) | ^ teleport.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | rloc_pos_ok(x, y, mtmp) | ^ teleport.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | rloc_to(mtmp, x, y) | ^ teleport.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 827 | rloc(mtmp) | ^ teleport.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 882 | mvault_tele(mtmp) | ^ teleport.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | tele_restrict(mon) | ^ teleport.c:910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 910 | mtele_trap(mtmp, trap, in_sight) | ^ teleport.c:941:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | mlevel_tele_trap(mtmp, trap, force_it, in_sight) | ^ teleport.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | rloco(obj) | ^ teleport.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | u_teleport_mon(mtmp, give_feedback) | ^ 30 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c timeout.c -o timeout.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from timeout.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ timeout.c:33:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 33 | pline(stoned_texts[SIZE(stoned_texts) - i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:33:9: note: treat the string as an argument to avoid this 33 | pline(stoned_texts[SIZE(stoned_texts) - i]); | ^ | "%s", timeout.c:57:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 57 | You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:57:7: note: treat the string as an argument to avoid this 57 | You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); | ^ | "%s", timeout.c:104:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 104 | pline(str); | ^~~ timeout.c:104:13: note: treat the string as an argument to avoid this 104 | pline(str); | ^ | "%s", timeout.c:134:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 134 | pline(str); | ^~~ timeout.c:134:9: note: treat the string as an argument to avoid this 134 | pline(str); | ^ | "%s", timeout.c:359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 359 | fall_asleep(how_long, wakeup_msg) | ^ timeout.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | attach_egg_hatch_timeout(egg) | ^ timeout.c:397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 397 | kill_egg(egg) | ^ timeout.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | hatch_egg(arg, timeout) | ^ timeout.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | learn_egg_type(mnum) | ^ timeout.c:589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 589 | attach_fig_transform_timeout(figurine) | ^ timeout.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | see_lamp_flicker(obj, tailer) | ^ timeout.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | lantern_message(obj) | ^ timeout.c:703:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 703 | burn_object(arg, timeout) | ^ timeout.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | begin_burn(obj, already_lit) | ^ timeout.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | end_burn(obj, timer_attached) | ^ timeout.c:1262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1262 | kind_name(kind) | ^ timeout.c:1275:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1275 | print_queue(win, base) | ^ timeout.c:1374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1374 | start_timer(when, kind, func_index, arg) | ^ timeout.c:1408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | stop_timer(func_index, arg) | ^ timeout.c:1432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1432 | obj_move_timers(src, dest) | ^ timeout.c:1454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | obj_split_timers(src, dest) | ^ timeout.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | obj_stop_timers(obj) | ^ timeout.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | insert_timer(gnu) | ^ timeout.c:1514:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1514 | remove_timer(base, func_index, arg) | ^ timeout.c:1555:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 1555 | timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:1569:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 1569 | timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | write_timer(fd, timer) | ^ timeout.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | obj_is_local(obj) | ^ timeout.c:1610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1610 | mon_is_local(mon) | ^ timeout.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | timer_is_local(timer) | ^ timeout.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | maybe_write_timer(fd, range, write_it) | ^ timeout.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | save_timers(fd, mode, range) | ^ timeout.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | restore_timers(fd, range, ghostly, adjust) | ^ timeout.c:1757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1757 | relink_timers(ghostly) | ^ timeout.c:1767:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1767 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) | ^~~~~~~~~~~~~~~~~~~ timeout.c:1770:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 1770 | nid = (unsigned) curr->arg; | ^~~~~~~~~~~~~~~~~~~~ 42 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c topten.c -o topten.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from topten.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ topten.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | topten_print(x) | ^ topten.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | topten_print_bold(x) | ^ topten.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | observable_depth(lev) | ^ topten.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | readentry(rfile,tt) | ^ topten.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 189 | writeentry(rfile,tt) | ^ topten.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | free_ttlist(tt) | ^ topten.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | topten(how) | ^ topten.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | outentry(rank, t1, so) | ^ topten.c:704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 704 | score_wanted(current_ver, rank, t1, playerct, players, uid) | ^ topten.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | prscore(argc,argv) | ^ topten.c:875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 875 | classmon(plch, fem) | ^ topten.c:903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 903 | tt_oname(otmp) | ^ 18 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c track.c -o track.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from track.c:6: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ track.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | gettrack(x, y) | ^ 7 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c trap.c -o trap.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from trap.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ trap.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | burnarmor(victim) | ^ trap.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | rust_dmg(otmp, ostr, type, print, victim) | ^ trap.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | grease_protect(otmp,ostr,plu,victim) | ^ trap.c:229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 229 | maketrap(x,y,typ) | ^ trap.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | fall_through(td) | ^ trap.c:353:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 353 | You(dont_fall); | ^~~~~~~~~ trap.c:353:10: note: treat the string as an argument to avoid this 353 | You(dont_fall); | ^ | "%s", trap.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | animate_statue(statue, x, y, cause, fail_reason) | ^ trap.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | activate_statue_trap(trap, x, y, shatter) | ^ trap.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | dotrap(trap) | ^ trap.c:931:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 931 | blow_up_landmine(trap) | ^ trap.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | launch_obj(otyp, x1, y1, x2, y2, style) | ^ trap.c:1084:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1084 | seetrap(trap) | ^ trap.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | mkroll_launch(ttmp, x, y, otyp, ocount) | ^ trap.c:1159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1159 | isclearpath(cc,distance,dx,dy) | ^ trap.c:1184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1184 | mintrap(mtmp) | ^ trap.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | instapetrify(str) | ^ trap.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | minstapetrify(mon,byplayer) | ^ trap.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | selftouch(arg) | ^ trap.c:1694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1694 | mselftouch(mon,arg,byplayer) | ^ trap.c:1760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1760 | fill_pit(x, y) | ^ trap.c:1775:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1775 | float_down(hmask, emask) | ^ trap.c:1885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1885 | dofiretrap(box) | ^ trap.c:2026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2026 | water_damage(obj, force, here) | ^ trap.c:2089:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2089 | emergency_disrobe(lostsome) | ^ trap.c:2288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2288 | drain_en(n) | ^ trap.c:2328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2328 | untrap_prob(ttmp) | ^ trap.c:2348:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2348 | cnv_trap_obj(otyp, cnt, ttmp) | ^ trap.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | move_into_trap(ttmp) | ^ trap.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | try_disarm(ttmp, force_failure) | ^ trap.c:2447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2447 | reward_untrap(ttmp, mtmp) | ^ trap.c:2468:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2468 | disarm_beartrap(ttmp) /* Helge Hafting */ | ^ trap.c:2491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2491 | disarm_landmine(ttmp) /* Helge Hafting */ | ^ trap.c:2507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2507 | disarm_squeaky_board(ttmp) | ^ trap.c:2541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2541 | disarm_shooting_trap(ttmp, otyp) | ^ trap.c:2556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2556 | try_lift(mtmp, ttmp, wt, stuff) | ^ trap.c:2580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2580 | help_monster_out(mtmp, ttmp) | ^ trap.c:2648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2648 | untrap(force) | ^ trap.c:2806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2806 | chest_trap(obj, bodypart, disarm) | ^ trap.c:2973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2973 | t_at(x,y) | ^ trap.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | deltrap(trap) | ^ trap.c:3002:9: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3002 | boolean delfloortrap(ttmp) | ^ trap.c:3036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3036 | b_trapped(item, bodypart) | ^ trap.c:3054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3054 | thitm(tlev, mon, obj, d_override) | ^ 49 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c u_init.c -o u_init.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from u_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ u_init.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | knows_object(obj) | ^ u_init.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | knows_class(sym) | ^ u_init.c:854:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 854 | restricted_spell_discipline(otyp) | ^ u_init.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | ini_inv(trop) | ^ 10 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c uhitm.c -o uhitm.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from uhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ uhitm.c:30:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 30 | hurtmarmor(mdef, attk) | ^ uhitm.c:91:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 91 | attack_checks(mtmp, wep) | ^ uhitm.c:194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 194 | find_roll_to_hit(mtmp) | ^ uhitm.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | attack(mtmp) | ^ uhitm.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | known_hitum(mon, mhit, uattk) /* returns TRUE if monster still lives */ | ^ uhitm.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | hitum(mon, tmp, uattk) /* returns TRUE if monster still lives */ | ^ uhitm.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | hmon(mon, obj, thrown) /* return TRUE if mon still alive */ | ^ uhitm.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | hmon_hitmon(mon, obj, thrown) | ^ uhitm.c:964:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 964 | m_slips_free(mdef, mattk) | ^ uhitm.c:1039:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1039 | steal_it(mdef, mattk) | ^ uhitm.c:1113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1113 | damageum(mdef, mattk) | ^ uhitm.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | explum(mdef, mattk) | ^ uhitm.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | start_engulf(mdef) | ^ uhitm.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | gulpum(mdef,mattk) | ^ uhitm.c:1653:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1653 | missum(mdef,mattk) | ^ uhitm.c:1668:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1668 | hmonas(mon, tmp) /* attack monster as a monster. */ | ^ uhitm.c:1857:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1857 | passive(mon, mhit, malive, aatyp) | ^ uhitm.c:2054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2054 | stumble_onto_mimic(mtmp) | ^ uhitm.c:2093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2093 | nohandglow(mon) | ^ uhitm.c:2115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2115 | flash_hits_mon(mtmp, otmp) | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c vault.c -o vault.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from vault.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ vault.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | clear_fcorr(grd, forceshow) | ^ vault.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | restfakecorr(grd) | ^ vault.c:66:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 66 | grddead(grd) /* called in mon.c */ | ^ vault.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | in_fcorridor(grd, x, y) | ^ vault.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | vault_occupied(array) | ^ vault.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 319 | move_gold(gold, vroom) | ^ vault.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | wallify_vault(grd) | ^ vault.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | gd_move(grd) | ^ 14 warnings generated. ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c vision.c -o vision.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from vision.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ vision.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | does_block(x,y,lev) | ^ vision.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | get_unused_cs(rows, rmin, rmax) | ^ vision.c:299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 299 | rogue_vision(next, rmin, rmax) | ^ vision.c:491:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 491 | vision_recalc(control) | ^ vision.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | block_point(x,y) | ^ vision.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | unblock_point(x,y) | ^ vision.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | dig_point(row,col) | ^ vision.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | fill_point(row,col) | ^ vision.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | _q1_path(srow,scol,y2,x2) | ^ vision.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | _q4_path(srow,scol,y2,x2) | ^ vision.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | _q2_path(srow,scol,y2,x2) | ^ vision.c:1444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | _q3_path(srow,scol,y2,x2) | ^ vision.c:1494:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | clear_path(col1,row1,col2,row2) | ^ vision.c:1572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1572 | close_shadow(side,this_row,block_row,block_col) | ^ vision.c:1601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | far_shadow(side,this_row,block_row,block_col) | ^ vision.c:1641:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1641 | right_side(row, cb_row, cb_col, fb_row, fb_col, left, right_mark, limits) | ^ vision.c:1893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1893 | left_side(row, cb_row, cb_col, fb_row, fb_col, left_mark, right, limits) | ^ vision.c:2071:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2071 | view_from(srow,scol,loc_cs_rows,left_most,right_most, range, func, arg) | ^ vision.c:2574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2574 | do_clear_area(scol,srow,range,func,arg) | ^ 25 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c vis_tab.c -o vis_tab.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from vis_tab.c:2: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from vis_tab.c:2: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from vis_tab.c:2: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c weapon.c -o weapon.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from weapon.c:10: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ weapon.c:80:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 80 | void give_may_advance_msg(skill) | ^ weapon.c:121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 121 | hitval(otmp, mon) | ^ weapon.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | dmgval(otmp, mon) | ^ weapon.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | oselect(mtmp, x) | ^ weapon.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | select_rwep(mtmp) /* select a ranged weapon for the monster */ | ^ weapon.c:487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 487 | select_hwep(mtmp) /* select a hand to hand weapon for the monster */ | ^ weapon.c:525:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 525 | possibly_unwield(mon) | ^ weapon.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | mon_wield_item(mon) | ^ weapon.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | skill_level_name(skill, buf) | ^ weapon.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | slots_required(skill) | ^ weapon.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | can_advance(skill, speedy) | ^ weapon.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | skill_advance(skill) | ^ weapon.c:893:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 893 | unrestrict_weapon_skill(skill) | ^ weapon.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | use_skill(skill,degree) | ^ weapon.c:922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 922 | add_weapon_skill(n) | ^ weapon.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | lose_weapon_skill(n) | ^ weapon.c:961:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 961 | weapon_type(obj) | ^ weapon.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | weapon_hit_bonus(weapon) | ^ weapon.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | weapon_dam_bonus(weapon) | ^ weapon.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | skill_init(class_skill) | ^ 26 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c were.c -o were.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from were.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ were.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | were_change(mon) | ^ were.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | counter_were(pm) | ^ were.c:59:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 59 | new_were(mon) | ^ were.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 90 | were_summon(ptr,yours) /* were-creature (even you) summons a horde */ | ^ were.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | you_unwere(purify) | ^ 11 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c wield.c -o wield.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from wield.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ wield.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | setuwep(obj) | ^ wield.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | ready_weapon(wep) | ^ wield.c:202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 202 | setuqwep(obj) | ^ wield.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 210 | setuswapwep(obj) | ^ wield.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | erode_weapon(target, acid_dmg) | ^ wield.c:577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 577 | chwepon(otmp, amount) | ^ wield.c:659:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 659 | welded(obj) | ^ wield.c:670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 670 | weldmsg(obj) | ^ 14 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c windows.c -o windows.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from windows.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ windows.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | def_raw_print(s) | ^ windows.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | choose_windows(s) | ^ windows.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | genl_message_menu(let, how, mesg) | ^ 9 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c wizard.c -o wizard.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from wizard.c:10: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ wizard.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 96 | mon_has_amulet(mtmp) | ^ wizard.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | mon_has_special(mtmp) | ^ wizard.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 133 | which_arti(mask) | ^ wizard.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | mon_has_arti(mtmp, otyp) | ^ wizard.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | other_mon_has_arti(mtmp, otyp) | ^ wizard.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | on_ground(otyp) | ^ wizard.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | you_have(mask) | ^ wizard.c:215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 215 | target_on(mask, mtmp) | ^ wizard.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 238 | strategy(mtmp) | ^ wizard.c:292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 292 | tactics(mtmp) | ^ wizard.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | nasty(mcast) | ^ wizard.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | cuss(mtmp) | ^ 18 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c worm.c -o worm.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from worm.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ worm.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | initworm(worm, wseg_count) | ^ worm.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | toss_wsegs(curr, display_update) | ^ worm.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | shrink_worm(wnum) | ^ worm.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | worm_move(worm) | ^ worm.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | worm_nomove(worm) | ^ worm.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | wormgone(worm) | ^ worm.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | wormhitu(worm) | ^ worm.c:315:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 315 | cutworm(worm, x, y, weap) | ^ worm.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | see_wsegs(worm) | ^ worm.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | save_worm(fd, mode) | ^ worm.c:507:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 507 | rest_worm(fd) | ^ worm.c:540:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 540 | place_wsegs(worm) | ^ worm.c:562:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 562 | remove_worm(worm) | ^ worm.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | place_worm_tail_randomly(worm, x, y) | ^ worm.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 643 | random_dir(x, y, nx, ny) | ^ worm.c:678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 678 | count_wsegs(mtmp) | ^ worm.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | create_worm_tail(num_segs) | ^ worm.c:732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 732 | worm_known(worm) | ^ 24 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c worn.c -o worn.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from worn.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ worn.c:46:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 46 | setworn(obj, mask) | ^ worn.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 108 | setnotworn(obj) | ^ worn.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | mon_set_minvis(mon) | ^ worn.c:143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 143 | mon_adjust_speed(mon, adjust) | ^ worn.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | update_mon_intrinsics(mon, obj, on) | ^ worn.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | find_mac(mon) | ^ worn.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | m_dowear(mon, creation) | ^ worn.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | m_dowear_type(mon, flag, creation) | ^ worn.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | which_armor(mon, flag) | ^ worn.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | m_lose_armor(mon, obj) | ^ worn.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | mon_break_armor(mon) | ^ 17 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c write.c -o write.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from write.c:4: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ write.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | cost(otmp) | ^ write.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 70 | dowrite(pen) | ^ 8 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c zap.c -o zap.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from zap.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ zap.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | bhitm(mtmp, otmp) | ^ zap.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | probe_monster(mtmp) | ^ zap.c:371:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 371 | get_obj_location(obj, xp, yp, locflags) | ^ zap.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | get_mon_location(mon, xp, yp, locflags) | ^ zap.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | montraits(obj,cc) | ^ zap.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 492 | revive(obj) | ^ zap.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | revive_egg(obj) | ^ zap.c:616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 616 | unturn_dead(mon) | ^ zap.c:656:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 656 | costly_cancel(obj) | ^ zap.c:688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 688 | cancel_item(obj) | ^ zap.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | drain_item(obj) | ^ zap.c:862:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 862 | obj_resists(obj, ochance, achance) | ^ zap.c:880:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 880 | obj_shudders(obj) | ^ zap.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | polyuse(objhdr, mat, minwt) | ^ zap.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | create_polymon(obj, okind) | ^ zap.c:1029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1029 | do_osshock(obj) | ^ zap.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | poly_obj(obj, id) | ^ zap.c:1321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | bhito(obj, otmp) | ^ zap.c:1534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1534 | bhitpile(obj,fhito,tx,ty) | ^ zap.c:1574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1574 | zappable(wand) | ^ zap.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | zapnodir(obj) | ^ zap.c:1636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | backfire(otmp) | ^ zap.c:1660:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1660 | if(!zappable(obj)) pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:1660:27: note: treat the string as an argument to avoid this 1660 | if(!zappable(obj)) pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ zap.c:1695:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1695 | zapyourself(obj, ordinary) | ^ zap.c:1976:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1976 | zap_steed(obj) | ^ zap.c:2042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2042 | cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel) | ^ zap.c:2097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2097 | zap_updown(obj) | ^ zap.c:2169:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2169 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2169:9: note: treat the string as an argument to avoid this 2169 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:284:28: note: expanded from macro 'nothing_happens' 284 | #define nothing_happens c_common_strings.c_nothing_happens | ^ zap.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | weffects(obj) | ^ zap.c:2324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2324 | spell_hit_bonus(skill) | ^ zap.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | exclam(force) | ^ zap.c:2363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2363 | hit(str,mtmp,force) | ^ zap.c:2374:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2374 | miss(str,mtmp) | ^ zap.c:2387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2387 | hits_bars(obj_type) | ^ zap.c:2418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2418 | bhit(ddx,ddy,range,weapon,fhitm,fhito,obj) | ^ zap.c:2595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2595 | boomhit(dx, dy) | ^ zap.c:2652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2652 | zhitm(mon, type, nd, ootmp) /* returns damage to mon */ | ^ zap.c:2821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2821 | zhitu(type, nd, fltxt, sx, sy) | ^ zap.c:2952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2952 | burn_floor_paper(x, y, give_feedback) | ^ zap.c:2993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2993 | zap_hit(ac, type) | ^ zap.c:3017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3017 | buzz(type,nd,sx,sy,dx,dy) | ^ zap.c:3262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3262 | melt_ice(x, y) | ^ zap.c:3304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3304 | zap_over_floor(x, y, type, shopdamage) | ^ zap.c:3330:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3330 | Norep(msgtxt); | ^~~~~~ zap.c:3330:9: note: treat the string as an argument to avoid this 3330 | Norep(msgtxt); | ^ | "%s", zap.c:3453:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3453 | pline(see_txt); | ^~~~~~~ zap.c:3453:10: note: treat the string as an argument to avoid this 3453 | pline(see_txt); | ^ | "%s", zap.c:3456:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3456 | You(sense_txt); | ^~~~~~~~~ zap.c:3456:8: note: treat the string as an argument to avoid this 3456 | You(sense_txt); | ^ | "%s", zap.c:3458:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3458 | if (flags.soundok) You_hear(hear_txt); | ^~~~~~~~ zap.c:3458:32: note: treat the string as an argument to avoid this 3458 | if (flags.soundok) You_hear(hear_txt); | ^ | "%s", zap.c:3492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3492 | fracture_rock(obj) /* fractured by pick-axe or wand of striking */ | ^ zap.c:3515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3515 | break_statue(obj) | ^ zap.c:3549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3549 | destroy_item(osym, dmgtyp) | ^ zap.c:3670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3670 | destroy_mitem(mtmp, osym, dmgtyp) | ^ zap.c:3771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3771 | resist(mtmp, oclass, damage, tell) | ^ zap.c:3827:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3827 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:3827:12: note: treat the string as an argument to avoid this 3827 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:285:28: note: expanded from macro 'thats_enough_tries' 285 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ 59 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../sys/share/ioctl.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../sys/unix/unixmain.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../sys/unix/unixmain.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 48 | main(argc,argv) | ^ ../sys/unix/unixmain.c:301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 301 | process_options(argc, argv) | ^ ../sys/unix/unixmain.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | chdirx(dir, wr) | ^ 9 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../sys/share/unixtty.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../sys/share/unixtty.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | speednum(speed) | ^ ../sys/share/unixtty.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | settty(s) | ^ 8 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../sys/unix/unixunix.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../sys/unix/unixunix.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | gethdate(name) | ^ ../sys/unix/unixunix.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | veryold(fd) | ^ ../sys/unix/unixunix.c:286:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 286 | regularize(s) /* normalize file name - we don't like .'s, /'s, spaces */ | ^ ../sys/unix/unixunix.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | child(wt) | ^ 10 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/tty/getline.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/tty/getline.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | tty_getlin(query, bufp) | ^ ../win/tty/getline.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | hooked_tty_getlin(query, bufp, hook) | ^ ../win/tty/getline.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | xwaitforspace(s) | ^ ../win/tty/getline.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | ext_cmd_getlin_hook(base) | ^ 10 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/tty/termcap.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/tty/termcap.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | tty_startup(wid, hgt) | ^ ../win/tty/termcap.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | tty_number_pad(state) | ^ ../win/tty/termcap.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | nocmov(x, y) | ^ ../win/tty/termcap.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | cmov(x, y) | ^ ../win/tty/termcap.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | xputc(c) | ^ ../win/tty/termcap.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | xputs(s) | ^ ../win/tty/termcap.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | s_atr2str(n) | ^ ../win/tty/termcap.c:1083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1083 | e_atr2str(n) | ^ ../win/tty/termcap.c:1100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1100 | term_start_attr(attr) | ^ ../win/tty/termcap.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | term_end_attr(attr) | ^ ../win/tty/termcap.c:1143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1143 | term_start_color(color) | ^ ../win/tty/termcap.c:1151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1151 | has_color(color) | ^ 18 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/tty/topl.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/tty/topl.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 49 | redotoplin(str) | ^ ../win/tty/topl.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | addtopl(s) | ^ ../win/tty/topl.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | update_topl(bp) | ^ ../win/tty/topl.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | topl_putsym(c) | ^ ../win/tty/topl.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | putsyms(str) | ^ ../win/tty/topl.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | removetopl(n) | ^ ../win/tty/topl.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | tty_yn_function(query,resp, def) | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/tty/wintty.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/tty/wintty.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 180 | bail(mesg) | ^ ../win/tty/wintty.c:247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 247 | tty_init_nhwindows(argcp,argv) | ^ ../win/tty/wintty.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | tty_suspend_nhwindows(str) | ^ ../win/tty/wintty.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | tty_exit_nhwindows(str) | ^ ../win/tty/wintty.c:754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 754 | tty_create_nhwindow(type) | ^ ../win/tty/wintty.c:863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 863 | erase_menu_or_text(window, cw, clear) | ^ ../win/tty/wintty.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | free_window_info(cw, free_data) | ^ ../win/tty/wintty.c:925:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 925 | tty_clear_nhwindow(window) | ^ ../win/tty/wintty.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | dmore(cw, s) | ^ ../win/tty/wintty.c:988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 988 | set_item_state(window, lineno, item) | ^ ../win/tty/wintty.c:1002:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1002 | set_all_on_page(window, page_start, page_end) | ^ ../win/tty/wintty.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | unset_all_on_page(window, page_start, page_end) | ^ ../win/tty/wintty.c:1033:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1033 | invert_all_on_page(window, page_start, page_end, acc) | ^ ../win/tty/wintty.c:1057:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1057 | invert_all(window, page_start, page_end, acc) | ^ ../win/tty/wintty.c:1087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1087 | process_menu_window(window, cw) | ^ ../win/tty/wintty.c:1378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1378 | process_text_window(window, cw) | ^ ../win/tty/wintty.c:1428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1428 | tty_display_nhwindow(window, blocking) | ^ ../win/tty/wintty.c:1496:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1496 | tty_dismiss_nhwindow(window) | ^ ../win/tty/wintty.c:1539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | tty_destroy_nhwindow(window) | ^ ../win/tty/wintty.c:1560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1560 | tty_curs(window, x, y) | ^ ../win/tty/wintty.c:1636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | tty_putsym(window, x, y, ch) | ^ ../win/tty/wintty.c:1665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1665 | compress_str(str) | ^ ../win/tty/wintty.c:1688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | tty_putstr(window, attr, str) | ^ ../win/tty/wintty.c:1831:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1831 | tty_display_file(fname, complain) | ^ ../win/tty/wintty.c:1907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1907 | tty_start_menu(window) | ^ ../win/tty/wintty.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | tty_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^ ../win/tty/wintty.c:1972:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1972 | reverse(curr) | ^ ../win/tty/wintty.c:1993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1993 | tty_end_menu(window, prompt) | ^ ../win/tty/wintty.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | tty_select_menu(window, how, menu_list) | ^ ../win/tty/wintty.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | tty_message_menu(let, how, mesg) | ^ ../win/tty/wintty.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | docorner(xmin, ymax) | ^ ../win/tty/wintty.c:2254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2254 | g_putch(in_ch) | ^ ../win/tty/wintty.c:2296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2296 | tty_cliparound(x, y) | ^ ../win/tty/wintty.c:2336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2336 | tty_print_glyph(window, x, y, glyph) | ^ ../win/tty/wintty.c:2555:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2555 | tty_raw_print(str) | ^ ../win/tty/wintty.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | tty_raw_print_bold(str) | ^ ../win/tty/wintty.c:2629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2629 | tty_nh_poskey(x, y, mod) | ^ ../win/tty/wintty.c:2680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2680 | copy_of(s) | ^ 44 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_def.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_gen.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_gfl.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] ../win/jtp/jtp_gfl.c:50: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] 50 | buffer = (unsigned char *)malloc(JTP_PCX_LOADBUFFERSIZE*sizeof(unsigned char)); | ^ ../win/jtp/jtp_gfl.c:50:29: note: include the header or explicitly provide a declaration for 'malloc' ../win/jtp/jtp_gfl.c:54:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 54 | jtp_write_log_message("[jtp_gfl.c/jtp_load_PCX/Error1] Could not open file ["); | ^ ../win/jtp/jtp_gfl.c:116:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 116 | free(buffer); | ^ ../win/jtp/jtp_gfl.c:116:3: note: include the header or explicitly provide a declaration for 'free' ../win/jtp/jtp_gfl.c:134:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | jtp_write_log_message("[jtp_gfl.c/jtp_load_PCX/Error1] Could not open file ["); | ^ 4 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_gra.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] ../win/jtp/jtp_gra.c:37:3: warning: call to undeclared function 'jtp_SDLEnterGraphicsMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 37 | jtp_SDLEnterGraphicsMode(&jtp_screen); | ^ ../win/jtp/jtp_gra.c:50:3: warning: call to undeclared function 'jtp_SDLExitGraphicsMode'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 50 | jtp_SDLExitGraphicsMode(&jtp_screen); | ^ ../win/jtp/jtp_gra.c:70:3: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 70 | jtp_SDLRecordColor(cindex, r, g, b); | ^ ../win/jtp/jtp_gra.c:71:3: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 71 | jtp_SDLSetPalette(); | ^ ../win/jtp/jtp_gra.c:84:3: warning: call to undeclared function 'jtp_SDLRefresh'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 84 | jtp_SDLRefresh(&jtp_screen); | ^ ../win/jtp/jtp_gra.c:97:3: warning: call to undeclared function 'jtp_SDLRefreshRegion'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 97 | jtp_SDLRefreshRegion(x1, y1, x2, y2, &jtp_screen); | ^ ../win/jtp/jtp_gra.c:196:5: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 196 | jtp_SDLRecordColor(i, jtp_colors[i][0], jtp_colors[i][1], jtp_colors[i][2]); | ^ ../win/jtp/jtp_gra.c:197:3: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 197 | jtp_SDLSetPalette(); | ^ ../win/jtp/jtp_gra.c:198:3: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 198 | jtp_SDLProcessEvents(); | ^ ../win/jtp/jtp_gra.c:221:5: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 221 | jtp_SDLRecordColor(i, 0, 0, 0); | ^ ../win/jtp/jtp_gra.c:222:3: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 222 | jtp_SDLSetPalette(); | ^ ../win/jtp/jtp_gra.c:223:3: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 223 | jtp_SDLProcessEvents(); | ^ ../win/jtp/jtp_gra.c:257:9: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 257 | jtp_SDLRecordColor(i, (jtp_colors[i][0]*(n_clocks+start_clock-cur_clock))/n_clocks, | ^ ../win/jtp/jtp_gra.c:260:7: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 260 | jtp_SDLSetPalette(); | ^ ../win/jtp/jtp_gra.c:261:7: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 261 | jtp_SDLProcessEvents(); | ^ ../win/jtp/jtp_gra.c:300:9: warning: call to undeclared function 'jtp_SDLRecordColor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 300 | jtp_SDLRecordColor(i, (jtp_colors[i][0]*(cur_clock-start_clock))/n_clocks, | ^ ../win/jtp/jtp_gra.c:303:7: warning: call to undeclared function 'jtp_SDLSetPalette'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 303 | jtp_SDLSetPalette(); | ^ ../win/jtp/jtp_gra.c:304:7: warning: call to undeclared function 'jtp_SDLProcessEvents'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 304 | jtp_SDLProcessEvents(); | ^ 18 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_keys.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/jtp/jtp_keys.c:6: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/jtp/jtp_keys.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/jtp/jtp_keys.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_mou.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] ../win/jtp/jtp_mou.c:94:8: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 94 | free(m_bg); | ^ ../win/jtp/jtp_mou.c:94:8: note: include the header or explicitly provide a declaration for 'free' ../win/jtp/jtp_mou.c:156:40: warning: call to undeclared function 'jtp_kbhit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 156 | while ((jtp_mouseb != whenstop) && (!jtp_kbhit())); | ^ ../win/jtp/jtp_mou.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | jtp_get_mcursor(x1, y1, x2, y2) | ^ ../win/jtp/jtp_mou.c:191:49: 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] 191 | jtp_mouse_cursor *temp1 = (jtp_mouse_cursor *)malloc(sizeof(jtp_mouse_cursor)); | ^ ../win/jtp/jtp_mou.c:191:49: note: include the header or explicitly provide a declaration for 'malloc' 4 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_sdl.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/jtp/jtp_sdl.c:28: In file included from ../include/jtp_win.h:8: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/jtp/jtp_sdl.c:28: In file included from ../include/jtp_win.h:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/jtp/jtp_sdl.c:28: In file included from ../include/jtp_win.h:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/jtp/jtp_sdl.c:398:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] 398 | else jtp_sdl_mouseb = JTP_MBUTTON_RIGHT; | ^ ../win/jtp/jtp_sdl.c:965:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 965 | jtp_SDLPlaySound(nbytes, samples); | ^~~~~~~ ../win/jtp/jtp_sdl.c:166:19: note: passing argument to parameter 'samples' here 166 | unsigned char * samples | ^ 8 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_txt.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] ../win/jtp/jtp_txt.c:40:63: warning: illegal character encoding in string literal [-Winvalid-source-encoding] 40 | unsigned char line3[] = "0123456789.,:;\'\"?!()[]/\\#%+-=<84><8E><94><99> _*$\0"; | ^~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/jtp_win.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/jtp/jtp_win.c:16: In file included from ../include/jtp_win.h:8: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/jtp/jtp_win.c:16: In file included from ../include/jtp_win.h:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/jtp/jtp_win.c:16: In file included from ../include/jtp_win.h:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/jtp/jtp_win.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | jtp_find_window(window) | ^ ../win/jtp/jtp_win.c:690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 690 | jtp_map_to_screen(map_x, map_y, screen_x, screen_y) | ^ ../win/jtp/jtp_win.c:714:23: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 714 | cur_accelerator = tolower(description[k]); | ^ ../win/jtp/jtp_win.c:714:23: note: include the header or explicitly provide a declaration for 'tolower' ../win/jtp/jtp_win.c:720:25: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 720 | cur_accelerator = toupper(description[k]); | ^ ../win/jtp/jtp_win.c:720:25: note: include the header or explicitly provide a declaration for 'toupper' ../win/jtp/jtp_win.c:761:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 761 | jtp_show_ending(tempwindow) | ^ ../win/jtp/jtp_win.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | jtp_is_onscreen(x, y) | ^ ../win/jtp/jtp_win.c:1024:18: warning: call to undeclared function 'jtp_cmap_to_tile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1024 | cur_tile = jtp_cmap_to_tile(cur_glyph); | ^ ../win/jtp/jtp_win.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | jtp_find_path(row1, col1, row2, col2) | ^ ../win/jtp/jtp_win.c:1216:18: warning: call to undeclared function 'jtp_cmap_to_tile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1216 | cur_tile = jtp_cmap_to_tile(cur_glyph); | ^ ../win/jtp/jtp_win.c:1592:10: warning: call to undeclared function 'jtp_do_lookat'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1592 | pm = jtp_do_lookat(tgt_x, tgt_y, look_buf, monbuf); | ^ ../win/jtp/jtp_win.c:1592:8: warning: incompatible integer to pointer conversion assigning to 'struct permonst *' from 'int' [-Wint-conversion] 1592 | pm = jtp_do_lookat(tgt_x, tgt_y, look_buf, monbuf); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/jtp/jtp_win.c:1727:16: warning: call to undeclared function 'jtp_cmap_to_tile'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1727 | cur_tile = jtp_cmap_to_tile(jtp_mapglyph_cmap[tgt_y][tgt_x]); | ^ ../win/jtp/jtp_win.c:5779:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5779 | temp_tooltip = jtp_choose_target_tooltip(j, i); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/jtp/jtp_win.c:5786:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] 5786 | (map_hotspots[n_hotspots-1])->tooltip = temp_tooltip; | ^ ~~~~~~~~~~~~ ../win/jtp/jtp_win.c:5945:95: warning: left operand of comma operator has no effect [-Wunused-value] 5945 | 2*(jtp_screen.height-JTP_INTRO_SLIDE_HEIGHT)/6 + JTP_INTRO_SLIDE_HEIGHT + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ 5946 | j*jtp_fonts[JTP_FONT_INTRO].lineheight, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/jtp/jtp_win.c:6000:4: warning: call to undeclared function 'tty_putstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6000 | tty_putstr(BASE_WINDOW, 0, "Incompatible role!"); | ^ ../win/jtp/jtp_win.c:6031:9: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6031 | bail((char *)0); | ^ ../win/jtp/jtp_win.c:6097:11: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6097 | bail((char *)0); | ^ ../win/jtp/jtp_win.c:6167:11: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6167 | bail((char *)0); | ^ ../win/jtp/jtp_win.c:6239:11: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 6239 | bail((char *)0); | ^ ../win/jtp/jtp_win.c:7405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 7405 | jtp_whatis_mouseclick(tx, ty) | ^ In file included from ../win/jtp/jtp_win.c:16: ../include/jtp_win.h:231:20: 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] 231 | extern char jtp_whatis_mouseclick(); | ^ ../win/jtp/jtp_win.c:7620:5: warning: call to undeclared function 'bail'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 7620 | bail((char *)0); | ^ ../win/jtp/jtp_win.c:7797:37: warning: format string contains '\0' within the string body [-Wformat] 7797 | sprintf(tempbuffer,"%s%s%s\0", jtp_game_path, JTP_SOUND_DIRECTORY, (jtp_event_sounds[jtp_n_event_sounds-1])->filename); | ~~~~~~~^~~ ../win/jtp/jtp_win.c:8153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8153 | jtp_get_menu_coordinates(menuwindow) | ^ ../win/jtp/jtp_win.c:8308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 8308 | jtp_get_menu_selection(menuwindow) | ^ 32 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H `sdl-config --cflags` -DUSE_SDL_SYSCALLS -c ../win/jtp/winjtp.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/jtp/winjtp.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/jtp/winjtp.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/jtp/winjtp.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/jtp/winjtp.c:80:3: warning: call to undeclared function 'jtp_init_graphics'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 80 | jtp_init_graphics(); | ^ ../win/jtp/winjtp.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | jtp_outrip(window, how) | ^ ../win/jtp/winjtp.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | bail(mesg) | ^ ../win/jtp/winjtp.c:122:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | void jtp_raw_print(str) | ^ ../win/jtp/winjtp.c:125:3: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 125 | jtp_write_log_message("[NetHack]: "); | ^ ../win/jtp/winjtp.c:131:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | void jtp_raw_print_bold(str) | ^ ../win/jtp/winjtp.c:134:3: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 134 | jtp_write_log_message("[NetHack]: "); | ^ ../win/jtp/winjtp.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | jtp_curs(window, x, y) | ^ ../win/jtp/winjtp.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | jtp_putstr(window, attr, str) | ^ ../win/jtp/winjtp.c:183:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 183 | jtp_write_log_message("ERROR: can't find window!\n"); | ^ ../win/jtp/winjtp.c:402:18: warning: call to undeclared function 'jtp_getch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 402 | result_key = jtp_getch(); | ^ ../win/jtp/winjtp.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | jtp_nh_poskey(x, y, mod) | ^ ../win/jtp/winjtp.c:453:41: warning: passing arguments to 'jtp_whatis_mouseclick' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 453 | result_key = jtp_whatis_mouseclick(&i, &j); | ^ ../win/jtp/winjtp.c:464:11: warning: call to undeclared function 'jtp_kbhit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 464 | if (jtp_kbhit()) | ^ ../win/jtp/winjtp.c:466:22: warning: call to undeclared function 'jtp_getch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 466 | result_key = jtp_getch(); | ^ ../win/jtp/winjtp.c:499:9: warning: call to undeclared function 'jtp_kbhit'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 499 | if (jtp_kbhit()) | ^ ../win/jtp/winjtp.c:520:9: warning: call to undeclared function 'jtp_show_wait_cursor'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 520 | jtp_show_wait_cursor(); | ^ ../win/jtp/winjtp.c:577:22: warning: call to undeclared function 'jtp_getch'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 577 | result_key = jtp_getch(); | ^ ../win/jtp/winjtp.c:584:13: warning: call to undeclared function 'jtp_save_screenshot'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 584 | jtp_save_screenshot("scree000.pcx"); | ^ ../win/jtp/winjtp.c:610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 610 | jtp_print_glyph(window, x, y, glyph) | ^ ../win/jtp/winjtp.c:659:33: warning: more '%' conversions than data arguments [-Wformat-insufficient-args] 659 | printf("Printed effect %d\n"); | ~^ ../win/jtp/winjtp.c:697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 697 | jtp_yn_function(ques, choices, defchoice) | ^ ../win/jtp/winjtp.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 736 | jtp_getlin(ques, input) | ^ ../win/jtp/winjtp.c:766:25: warning: call to undeclared library function 'tolower' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 766 | cur_accelerator = tolower(extcmdlist[i].ef_txt[k]); | ^ ../win/jtp/winjtp.c:766:25: note: include the header or explicitly provide a declaration for 'tolower' ../win/jtp/winjtp.c:772:27: warning: call to undeclared library function 'toupper' with type 'int (int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 772 | cur_accelerator = toupper(extcmdlist[i].ef_txt[k]); | ^ ../win/jtp/winjtp.c:772:27: note: include the header or explicitly provide a declaration for 'toupper' ../win/jtp/winjtp.c:832:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 832 | jtp_display_file(fname, complain) | ^ ../win/jtp/winjtp.c:870:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 870 | jtp_write_log_message("ERROR: Out of memory! - location 31\n"); | ^ ../win/jtp/winjtp.c:877:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 877 | jtp_write_log_message("ERROR: Out of memory! - location 32\n"); | ^ ../win/jtp/winjtp.c:912:3: warning: call to undeclared function 'jtp_select_player'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 912 | jtp_select_player(); | ^ ../win/jtp/winjtp.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | jtp_init_nhwindows(argcp, argv) | ^ ../win/jtp/winjtp.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | jtp_exit_nhwindows(str) | ^ ../win/jtp/winjtp.c:960:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 960 | jtp_create_nhwindow(type) | ^ ../win/jtp/winjtp.c:969:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 969 | jtp_write_log_message("ERROR: Out of memory! - location 1\n"); | ^ ../win/jtp/winjtp.c:1069:9: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1069 | jtp_write_log_message("ERROR: Out of memory! - location 2\n"); | ^ ../win/jtp/winjtp.c:1077:11: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1077 | jtp_write_log_message("ERROR: Out of memory! - location 3\n"); | ^ ../win/jtp/winjtp.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | jtp_clear_nhwindow(window) | ^ ../win/jtp/winjtp.c:1133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1133 | jtp_display_nhwindow(window, blocking) | ^ ../win/jtp/winjtp.c:1146:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1146 | jtp_write_log_message("ERROR: Invalid window!\n"); | ^ ../win/jtp/winjtp.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | jtp_destroy_nhwindow(window) | ^ ../win/jtp/winjtp.c:1244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1244 | jtp_start_menu(window) | ^ ../win/jtp/winjtp.c:1260:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1260 | jtp_write_log_message("ERROR: Out of memory! - location 4\n"); | ^ ../win/jtp/winjtp.c:1270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1270 | jtp_add_menu(window, glyph, identifier, accelerator, groupacc, attr, str, preselected) | ^ ../win/jtp/winjtp.c:1299:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1299 | jtp_write_log_message("ERROR: Out of memory! - location 5\n"); | ^ ../win/jtp/winjtp.c:1322:5: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1322 | jtp_write_log_message("ERROR: Out of memory! - location 6\n"); | ^ ../win/jtp/winjtp.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | jtp_end_menu(window, prompt) | ^ ../win/jtp/winjtp.c:1358:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1358 | jtp_write_log_message("ERROR: Out of memory! - location 7\n"); | ^ ../win/jtp/winjtp.c:1377:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1377 | jtp_write_log_message("ERROR: Out of memory! - location 8\n"); | ^ ../win/jtp/winjtp.c:1384:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1384 | jtp_write_log_message("ERROR: Out of memory! - location 9\n"); | ^ ../win/jtp/winjtp.c:1400:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1400 | jtp_write_log_message("ERROR: Out of memory! - location 8\n"); | ^ ../win/jtp/winjtp.c:1407:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1407 | jtp_write_log_message("ERROR: Out of memory! - location 9\n"); | ^ ../win/jtp/winjtp.c:1421:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1421 | jtp_write_log_message("ERROR: Out of memory! - location 10\n"); | ^ ../win/jtp/winjtp.c:1428:7: warning: call to undeclared function 'jtp_write_log_message'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1428 | jtp_write_log_message("ERROR: Out of memory! - location 11\n"); | ^ ../win/jtp/winjtp.c:1456:30: warning: call to undeclared function 'jtp_find_menu_accelerator'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1456 | temp_accelerator = jtp_find_menu_accelerator(tempmenuitem->text, used_accelerators); | ^ ../win/jtp/winjtp.c:1487:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1487 | jtp_select_menu(window, how, menu_list) | ^ ../win/jtp/winjtp.c:1498:5: warning: call to undeclared function 'jtp_view_inventory'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 1498 | jtp_view_inventory(); | ^ ../win/jtp/winjtp.c:1556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1556 | jtp_suspend_nhwindows(str) | ^ ../win/jtp/winjtp.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | jtp_message_menu(let, how, mesg) | ^ ../win/jtp/winjtp.c:1590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1590 | jtp_cliparound(x, y) | ^ ../win/jtp/winjtp.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | jtp_update_positionbar(features) | ^ ../win/jtp/winjtp.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | jtp_number_pad(state) | ^ 66 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/Window.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/Window.c:34: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/Window.c:89:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | static void no_op(w, event, params, num_params) | ^ ../win/X11/Window.c:107:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | static void Redisplay(w, event, region) | ^ ../win/X11/Window.c:117:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | static void Resize(w) | ^ ../win/X11/Window.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | WindowFont(w) Widget w; { return ((WindowWidget)w)->window.font->fid; } | ^ In file included from ../win/X11/Window.c:32: In file included from ../include/xwindowp.h:8: ../include/xwindow.h:80: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] 80 | extern Font WindowFont(/* Widget */); | ^ ../win/X11/Window.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | WindowFontStruct(w) Widget w; { return ((WindowWidget)w)->window.font; } | ^ In file included from ../win/X11/Window.c:32: In file included from ../include/xwindowp.h:8: ../include/xwindow.h:79:21: 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] 79 | extern XFontStruct *WindowFontStruct(/* Widget */); | ^ 13 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/dialogs.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/dialogs.c:64: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/dialogs.c:64: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/dialogs.c:64: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/dialogs.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | CreateDialog(parent, name, okay_callback, cancel_callback) | ^ ../win/X11/dialogs.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | SetDialogPrompt(w, newprompt) | ^ ../win/X11/dialogs.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | GetDialogResponse(w) | ^ ../win/X11/dialogs.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | SetDialogResponse(w, s) | ^ ../win/X11/dialogs.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | positionpopup(w, bottom) | ^ 11 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winX.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winX.c:49: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winX.c:49: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winX.c:49: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winX.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 179 | find_widget(w) | ^ ../win/X11/winX.c:221:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 221 | {XtWidgetBaseOffset, (XtPointer)XtOffset(Widget, core.screen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c:223:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 223 | {XtWidgetBaseOffset, (XtPointer)XtOffset(Widget, core.colormap), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c:258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 258 | nhApproxColor(screen, colormap, str, color) | ^ ../win/X11/winX.c:268:14: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | register i, j; | ~~~~~~~~ ^ | int ../win/X11/winX.c:268:17: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 268 | register i, j; | ~~~~~~~~ ^ | int ../win/X11/winX.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | nhCvtStringToPixel(dpy, args, num_args, fromVal, toVal, closure_ret) | ^ ../win/X11/winX.c:425:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 425 | nhFreePixel(app, toVal, closure, args, num_args) | ^ ../win/X11/winX.c:455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 455 | X11_raw_print(str) | ^ ../win/X11/winX.c:462:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 462 | X11_raw_print_bold(str) | ^ ../win/X11/winX.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | X11_curs(window, x, y) | ^ ../win/X11/winX.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | X11_putstr(window, attr, str) | ^ ../win/X11/winX.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | X11_nh_poskey(x, y, mod) | ^ ../win/X11/winX.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | X11_create_nhwindow(type) | ^ ../win/X11/winX.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | X11_clear_nhwindow(window) | ^ ../win/X11/winX.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | X11_display_nhwindow(window, blocking) | ^ ../win/X11/winX.c:714:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 714 | X11_destroy_nhwindow(window) | ^ ../win/X11/winX.c:809:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 809 | void X11_suspend_nhwindows(str) const char *str; { return; } | ^ ../win/X11/winX.c:813:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 813 | void X11_number_pad(state) int state; { return; } /* called from options.c */ | ^ ../win/X11/winX.c:820:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | void X11_outrip(window, how) | ^ ../win/X11/winX.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | X11_init_nhwindows(argcp,argv) | ^ ../win/X11/winX.c:1008:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1008 | void X11_exit_nhwindows(dummy) | ^ ../win/X11/winX.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | d_timeout(client_data, id) | ^ ../win/X11/winX.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | X11_hangup(w, event, params, num_params) | ^ ../win/X11/winX.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | askname_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1106 | askname_done(w, client_data, call_data) | ^ ../win/X11/winX.c:1176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1176 | done_button(w, client_data, call_data) | ^ ../win/X11/winX.c:1193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1193 | getline_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1207 | abort_button(w, client_data, call_data) | ^ ../win/X11/winX.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | X11_getlin(question, input) | ^ ../win/X11/winX.c:1271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1271 | delete_file(w, event, params, num_params) | ^ ../win/X11/winX.c:1284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1284 | dismiss_file(w, event, params, num_params) | ^ ../win/X11/winX.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | X11_display_file(str, complain) | ^ ../win/X11/winX.c:1436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1436 | key_event_to_char(key) | ^ ../win/X11/winX.c:1457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1457 | yn_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | yn_key(w, event, params, num_params) | ^ ../win/X11/winX.c:1543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | X11_yn_function(ques, choices, def) | ^ ../win/X11/winX.c:1651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1651 | input_event(exit_condition) | ^ ../win/X11/winX.c:1667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1667 | msgkey(w, data, event) | ^ ../win/X11/winX.c:1678:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1678 | win_visible(w, data, event, flag) /* only called for autofocus */ | ^ ../win/X11/winX.c:1904:46: warning: incompatible function pointer types passing 'XtErrorHandler' (aka 'void (*)(char *)') to parameter of type 'void (*)(String) __attribute__((noreturn))' (aka 'void (*)(char *) __attribute__((noreturn))') [-Wincompatible-function-pointer-types] 1904 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/X11/Intrinsic.h:1786:1: note: passing argument to parameter here 1786 | ); | ^ ../win/X11/winX.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | nh_XtPopup(w, g, childwid) | ^ ../win/X11/winX.c:1923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | nh_XtPopdown(w) | ^ ../win/X11/winX.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | nh_keyscroll(viewport, event, params, num_params) | ^ 50 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winmap.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmap.c:75:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 75 | X11_print_glyph(window, x, y, glyph) | ^ ../win/X11/winmap.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 209 | void X11_cliparound(x, y) int x, y; { } | ^ ../win/X11/winmap.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | init_annotation(annotation, filename, colorpixel) | ^ ../win/X11/winmap.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 304 | init_tiles(wp) | ^ ../win/X11/winmap.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | check_cursor_visibility(wp) | ^ ../win/X11/winmap.c:729:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 729 | map_check_size_change(wp) | ^ ../win/X11/winmap.c:759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 759 | set_gc(w, font, resource_name, bgpixel, regular, inverse) | ^ ../win/X11/winmap.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | get_text_gc(wp, font) | ^ ../win/X11/winmap.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | display_cursor(wp) | ^ ../win/X11/winmap.c:853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 853 | display_map_window(wp) | ^ ../win/X11/winmap.c:887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 887 | map_all_stone(map_info) | ^ ../win/X11/winmap.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | clear_map_window(wp) | ^ ../win/X11/winmap.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | get_char_info(wp) | ^ ../win/X11/winmap.c:943:26: warning: passing arguments to 'WindowFontStruct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | fs = WindowFontStruct(wp->w); | ^ ../win/X11/winmap.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | map_input(w, event, params, num_params) | ^ ../win/X11/winmap.c:1025:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1025 | (*input_func)(w, event, params, num_params); | ^ ../win/X11/winmap.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | set_button_values(w, x, y, button) | ^ ../win/X11/winmap.c:1114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1114 | map_exposed(w, client_data, widget_data) | ^ ../win/X11/winmap.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | map_update(wp, start_row, stop_row, start_col, stop_col, inverted) | ^ ../win/X11/winmap.c:1340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1340 | set_map_size(wp, cols, rows) | ^ ../win/X11/winmap.c:1358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1358 | init_text(wp) | ^ ../win/X11/winmap.c:1376:31: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1376 | get_text_gc(wp, WindowFont(wp->w)); | ^ ../win/X11/winmap.c:1392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1392 | create_map_window(wp, create_popup, parent) | ^ ../win/X11/winmap.c:1543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | destroy_map_window(wp) | ^ ../win/X11/winmap.c:1601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1601 | x_event(exit_condition) | ^ 31 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winmenu.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmenu.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | menu_select(w, client_data, call_data) | ^ ../win/X11/winmenu.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | menu_delete(w, event, params, num_params) | ^ ../win/X11/winmenu.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | invert_line(wp, curr, which, how_many) | ^ ../win/X11/winmenu.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | menu_key(w, event, params, num_params) | ^ ../win/X11/winmenu.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | menu_ok(w, client_data, call_data) | ^ ../win/X11/winmenu.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | menu_cancel(w, client_data, call_data) | ^ ../win/X11/winmenu.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | menu_all(w, client_data, call_data) | ^ ../win/X11/winmenu.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | menu_none(w, client_data, call_data) | ^ ../win/X11/winmenu.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | menu_invert(w, client_data, call_data) | ^ ../win/X11/winmenu.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | menu_search(w, client_data, call_data) | ^ ../win/X11/winmenu.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | select_all(wp) | ^ ../win/X11/winmenu.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | select_none(wp) | ^ ../win/X11/winmenu.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | invert_all(wp) | ^ ../win/X11/winmenu.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | invert_match(wp, match) | ^ ../win/X11/winmenu.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | select_match(wp, match) | ^ ../win/X11/winmenu.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | menu_popdown(wp) | ^ ../win/X11/winmenu.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | X11_start_menu(window) | ^ ../win/X11/winmenu.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | X11_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^ ../win/X11/winmenu.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | X11_end_menu(window, query) | ^ ../win/X11/winmenu.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | X11_select_menu(window, how, menu_list) | ^ ../win/X11/winmenu.c:1050:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1050 | copy_of(s) | ^ ../win/X11/winmenu.c:1059:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | move_menu(src_menu, dest_menu) | ^ ../win/X11/winmenu.c:1070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1070 | free_menu(mp) | ^ ../win/X11/winmenu.c:1088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1088 | reset_menu_to_default(mp) | ^ ../win/X11/winmenu.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | clear_old_menu(wp) | ^ ../win/X11/winmenu.c:1119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1119 | create_menu_window(wp) | ^ ../win/X11/winmenu.c:1134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1134 | destroy_menu_window(wp) | ^ 33 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winmesg.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmesg.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | set_message_slider(wp) | ^ ../win/X11/winmesg.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | create_message_window(wp, create_popup, parent) | ^ ../win/X11/winmesg.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | destroy_message_window(wp) | ^ ../win/X11/winmesg.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | display_message_window(wp) | ^ ../win/X11/winmesg.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | append_message(wp, str) | ^ ../win/X11/winmesg.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | get_previous(mark) | ^ ../win/X11/winmesg.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | set_circle_buf(mesg_info, count) | ^ ../win/X11/winmesg.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | split(s, fs, pixel_width) | ^ ../win/X11/winmesg.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | add_line(mesg_info, s) | ^ ../win/X11/winmesg.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | set_last_pause(wp) | ^ ../win/X11/winmesg.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | redraw_message_window(wp) | ^ ../win/X11/winmesg.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | mesg_check_size_change(wp) | ^ ../win/X11/winmesg.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | mesg_exposed(w, client_data, widget_data) | ^ ../win/X11/winmesg.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | get_gc(w, mesg_info) | ^ ../win/X11/winmesg.c:574:35: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | values.font = WindowFont(w); | ^ ../win/X11/winmesg.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | mesg_resized(w, client_data, call_data) | ^ 22 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winmisc.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winmisc.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | ps_quit(w, client_data, call_data) | ^ ../win/X11/winmisc.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | ps_random(w, client_data, call_data) | ^ ../win/X11/winmisc.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | ps_select(w, client_data, call_data) | ^ ../win/X11/winmisc.c:109:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 109 | ps_selected = (int) client_data; | ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | ps_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 157 | race_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | gend_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 230 | algn_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:563:20: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 563 | int selected = (int) client_data; | ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | extend_select(w, client_data, call_data) | ^ ../win/X11/winmisc.c:584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 584 | extend_dismiss(w, client_data, call_data) | ^ ../win/X11/winmisc.c:593:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 593 | extend_help(w, client_data, call_data) | ^ ../win/X11/winmisc.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | ec_delete(w, event, params, num_params) | ^ ../win/X11/winmisc.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | ec_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 747 | make_menu(popup_name, popup_label, popup_translations, | ^ ../win/X11/winmisc.c:860:51: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 860 | XtAddCallback(*curr, XtNcallback, name_callback, (XtPointer) i); | ^~~~~~~~~~~~~ 22 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winstat.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winstat.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 | create_status_window(wp, create_popup, parent) | ^ ../win/X11/winstat.c:128:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 128 | destroy_status_window(wp) | ^ ../win/X11/winstat.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | adjust_status(wp, str) | ^ ../win/X11/winstat.c:314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 314 | hilight_label(w) | ^ ../win/X11/winstat.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | update_val(attr_rec, new_value) | ^ ../win/X11/winstat.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | update_fancy_status(wp) | ^ ../win/X11/winstat.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | width_string(sv_index) | ^ ../win/X11/winstat.c:715:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 715 | create_widget(parent, sv, sv_index) | ^ ../win/X11/winstat.c:760:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 760 | get_widths(sv, width1p, width2p) | ^ ../win/X11/winstat.c:785:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 785 | set_widths(sv, width1, width2) | ^ ../win/X11/winstat.c:807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 807 | init_column(name, parent, top, left, col_indices) | ^ ../win/X11/winstat.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | init_info_form(parent, top, left) | ^ ../win/X11/winstat.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 946 | create_fancy_status(parent, top) | ^ ../win/X11/winstat.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | destroy_fancy_status(wp) | ^ 20 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/wintext.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 previous declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/wintext.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | delete_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | key_dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | rip_dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | add_to_text_window(wp, attr, str) | ^ ../win/X11/wintext.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | display_text_window(wp, blocking) | ^ ../win/X11/wintext.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | create_text_window(wp) | ^ ../win/X11/wintext.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | destroy_text_window(wp) | ^ ../win/X11/wintext.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | clear_text_window(wp) | ^ ../win/X11/wintext.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | append_text_buffer(tb, str, concat) | ^ ../win/X11/wintext.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | init_text_buffer(tb) | ^ ../win/X11/wintext.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | clear_text_buffer(tb) | ^ ../win/X11/wintext.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | free_text_buffer(tb) | ^ ../win/X11/wintext.c:520:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | rip_exposed(w, client_data, widget_data) | ^ ../win/X11/wintext.c:555:29: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 555 | values.font = WindowFont(w); | ^ ../win/X11/wintext.c:568:36: warning: passing arguments to 'WindowFontStruct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | XFontStruct* font=WindowFontStruct(w); | ^ 22 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c ../win/X11/winval.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/X11/winval.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | create_value(parent, name_value) | ^ ../win/X11/winval.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | set_name(w, new_label) | ^ ../win/X11/winval.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | set_name_width(w, new_width) | ^ ../win/X11/winval.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | get_name_width(w) | ^ ../win/X11/winval.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | set_value(w, new_value) | ^ ../win/X11/winval.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | set_value_width(w, new_width) | ^ ../win/X11/winval.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | get_value_width(w) | ^ ../win/X11/winval.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | hilight_value(w) | ^ ../win/X11/winval.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | swap_fg_bg(w) | ^ 15 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -L/usr/local/lib -o tilemap ../win/share/tilemap.c In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ ../win/share/tilemap.c:393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 393 | process_substitutions(ofp) | ^ 8 warnings generated. ./tilemap cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c tile.c -o tile.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from tile.c:3: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from tile.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from tile.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ tile.c:474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 474 | substitute_tiles(plev) | ^ 7 warnings generated. ../util/makedefs -v cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -I/usr/local/include -DHACKDIR=\"/usr/local/share/falconseyedir\" -DHAVE_SYS_PARAM_H -c version.c -o version.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from version.c:5: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ version.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 19 | getversionstring(buf) | ^ version.c:30:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 30 | pline(getversionstring(buf)); | ^~~~~~~~~~~~~~~~~~~~~ version.c:30:8: note: treat the string as an argument to avoid this 30 | pline(getversionstring(buf)); | ^ | "%s", version.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | check_version(version_data, filename, complain) | ^ version.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | uptodate(fd, name) | ^ version.c:106:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 106 | store_version(fd) | ^ version.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | get_feature_notice_ver(str) | ^ 12 warnings generated. Loading ... `falconseye' is up to date. ( cd doc ; /usr/bin/make Guidebook ) tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook /bin/sh: tbl: not found /bin/sh: nroff: not found ( cd util ; /usr/bin/make recover ) `../include/date.h' is up to date. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c recover.c -o recover.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from recover.c:10: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from recover.c:10: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from recover.c:10: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from recover.c:10: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ recover.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 57 | main(argc, argv) | ^ recover.c:141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 141 | set_levelfile_name(lev) | ^ recover.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | open_levelfile(lev) | ^ recover.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | copy_bytes(ifd, ofd) | ^ recover.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 200 | restore_savefile(basename) | ^ 12 warnings generated. cc -L/usr/local/lib -o recover recover.o ( cd dat ; /usr/bin/make data ) ../util/makedefs -d ( cd dat ; /usr/bin/make oracles ) ../util/makedefs -h ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) ../util/makedefs -q ( cd dat ; /usr/bin/make rumors ) ../util/makedefs -r ( cd util ; /usr/bin/make dgn_comp ) yacc -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h `../include/date.h' is up to date. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c dgn_yacc.c -o dgn_yacc.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dgn_comp.y:25: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dgn_comp.y:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | getchain(s) | ^ 8 warnings generated. lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include dgn_lex.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dgn_comp.l:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dgn_comp.l:147:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | void init_yyin( input_f ) | ^ dgn_comp.l:158:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | void init_yyout( output_f ) | ^ 9 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c dgn_main.c -o dgn_main.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from dgn_main.c:11: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dgn_main.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from dgn_main.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from dgn_main.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ dgn_main.c:51:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 51 | main(argc, argv) | ^ dgn_main.c:156:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 156 | void yyerror(s) | ^ dgn_main.c:170:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | void yywarning(s) | ^ 10 warnings generated. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c panic.c -o panic.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from panic.c:11: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from panic.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from panic.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from panic.c:11: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 7 warnings generated. cc -L/usr/local/lib -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o ( cd dat ; /usr/bin/make dungeon ) ../util/makedefs -e ../util/dgn_comp dungeon.pdf ( cd util ; /usr/bin/make lev_comp ) yacc -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c lev_yacc.c -o lev_yacc.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from lev_comp.y:24: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ 7 warnings generated. lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include lev_lex.c cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from lev_comp.l:8: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a previous declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ lev_comp.l:246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 246 | void init_yyin( input_f ) | ^ lev_comp.l:257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | void init_yyout( output_f ) | ^ 9 warnings generated. `../include/date.h' is up to date. cc -O2 -pipe -L/usr/local/lib -I/usr/local/include/SDL11 -Wno-return-type -Wno-error=int-conversion -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -DX11_GRAPHICS -I/usr/local/include -I../include -c lev_main.c -o lev_main.o cc: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument] In file included from lev_main.c:10: In file included from ../include/hack.h:9: ../include/config.h:191:41: warning: '/*' within block comment [-Wcomment] 191 | /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:192:37: warning: '/*' within block comment [-Wcomment] 192 | /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: ../include/unixconf.h:26:18: warning: '/*' within block comment [-Wcomment] 26 | /* #define BSD 1 /* define for 4.n BSD */ | ^ ../include/unixconf.h:40:18: warning: '/*' within block comment [-Wcomment] 40 | /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ | ^ ../include/unixconf.h:152:19: warning: '/*' within block comment [-Wcomment] 152 | /* #define MAIL /* Deliver mail during the game */ | ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:89:8: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent declaration [-Wdeprecated-non-prototype] 89 | E void srand48(); | ^ /usr/include/stdlib.h:229:7: note: conflicting prototype is here 229 | void srand48(long); | ^ In file included from lev_main.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:364: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:277: ../include/system.h:344: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 declaration [-Wdeprecated-non-prototype] 344 | E unsigned sleep(); | ^ /usr/include/unistd.h:364:15: note: conflicting prototype is here 364 | unsigned int sleep(unsigned int); | ^ lev_main.c:204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 204 | main(argc, argv) | ^ lev_main.c:296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 296 | yyerror(s) | ^ lev_main.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | yywarning(s) | ^ lev_main.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | get_floor_type(c) | ^ lev_main.c:349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 349 | get_room_type(s) | ^ lev_main.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 365 | get_trap_type(s) | ^ lev_main.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | get_monster_id(s, c) | ^ lev_main.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | get_object_id(s, c) | ^ lev_main.c:440:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 440 | check_monster_char(c) | ^ lev_main.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | check_object_char(c) | ^ lev_main.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | what_map_char(c) | ^ lev_main.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | scan_map(map) | ^ lev_main.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 666 | check_coord(x, y, str) | ^ lev_main.c:957:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 957 | write_common_data(fd, typ, init, flgs) | ^ lev_main.c:986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 986 | write_monsters(fd, nmonster_p, monsters_p) | ^ lev_main.c:1026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1026 | write_objects(fd, nobject_p, objects_p) | ^ lev_main.c:1060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1060 | write_engravings(fd, nengraving_p, engravings_p) | ^ lev_main.c:1093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1093 | write_level_file(filename, room_level, maze_level) | ^ lev_main.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | write_maze(fd, maze) | ^ lev_main.c:1328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1328 | write_rooms(fd, lev) | ^ lev_main.c:1442:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1442 | free_rooms(lev) | ^ 28 warnings generated. cc -L/usr/local/lib -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o ( cd dat ; /usr/bin/make spec_levs ) ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ( cd dat ; /usr/bin/make quest_levs ) ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs ( cd dat; /usr/bin/make options ) `options' is up to date. Done. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> falconseye-1.9.3_12 depends on executable: timidity - not found ===> Installing existing package /packages/All/timidity-0.2i_1.pkg [pkg.DaveG.ca] Installing timidity-0.2i_1... [pkg.DaveG.ca] Extracting timidity-0.2i_1: .......... done ===== Message from timidity-0.2i_1: -- ===> NOTICE: The timidity port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> falconseye-1.9.3_12 depends on executable: timidity - found ===> Returning to build of falconseye-1.9.3_12 ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xext.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xmu.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> falconseye-1.9.3_12 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for falconseye-1.9.3_12 ===> Generating temporary packing list ( cd src ; /usr/bin/make ) `falconseye' is up to date. ( cd dat ; /usr/bin/make data ) `data' is up to date. ( cd dat ; /usr/bin/make oracles ) `oracles' is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) `quest.dat' is up to date. ( cd dat ; /usr/bin/make rumors ) `rumors' is up to date. ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. `dgn_comp' is up to date. ( cd dat ; /usr/bin/make dungeon ) `dungeon' is up to date. ( cd util ; /usr/bin/make lev_comp ) `../include/date.h' is up to date. `lev_comp' is up to date. ( cd dat ; /usr/bin/make spec_levs ) `spec_levs' is up to date. ( cd dat ; /usr/bin/make quest_levs ) `quest_levs' is up to date. mkdir -p /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin rm -rf /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir mkdir -p /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/save rmdir ./-p rmdir: ./-p: No such file or directory *** Error code 1 (ignored) true root /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/save true games /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/save chmod 0775 /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/save ( /usr/bin/make dofiles ) target=`sed -n -e '/librarian/{' -e 's/.*/dlb/p' -e 'q' -e '}' -e '$s/.*/nodlb/p' < dat/options` ; /usr/bin/make dofiles-${target-nodlb} ( cd dat ; cp license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir ) ( cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir ; true root license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ; true games license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ; chmod 0664 license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ) /usr/bin/make dofiles-jtp mkdir -p /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/config /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/graphics /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/sound /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/manual rmdir ./-p rmdir: ./-p: No such file or directory *** Error code 1 (ignored) true root /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/config /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/graphics /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/sound /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/manual true games /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/config /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/graphics /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/sound /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/manual chmod 0775 /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/config /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/graphics /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/sound /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/manual ( cd win/jtp/gamedata; cp nethack.ico defaults.nh /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir ; cd config; cp jtp_intr.txt jtp_keys.txt jtp_lit1.dat jtp_opts.txt jtp_snds.txt /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/config ; cd ../graphics; cp *.pcx /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/graphics ; cd ../sound; cp *.mid *.raw /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/sound ; cd ../manual; cp *.jpg *.html *.css /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/manual ) ( cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir ; true root nethack.ico defaults.nh ; true games nethack.ico defaults.nh ; chmod 0664 nethack.ico defaults.nh ; cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/config ; true root jtp_intr.txt jtp_keys.txt jtp_lit1.dat jtp_opts.txt jtp_snds.txt ; true games jtp_intr.txt jtp_keys.txt jtp_lit1.dat jtp_opts.txt jtp_snds.txt ; chmod 0664 jtp_intr.txt jtp_keys.txt jtp_lit1.dat jtp_opts.txt jtp_snds.txt ; cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/graphics ; true root *.pcx ; true games *.pcx ; chmod 0664 *.pcx ; cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/sound ; true root *.mid *.raw ; true games *.mid *.raw ; chmod 0664 *.mid *.raw ; cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/manual ; true root *.jpg *.html *.css ; true games *.jpg *.html *.css ; chmod 0664 *.jpg *.html *.css ) cp src/falconseye /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir rm -f /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin/falconseye sed -e 's;/usr/games/lib/nethackdir;/usr/local/share/falconseyedir;' -e 's;HACKDIR/nethack;HACKDIR/falconseye;' < sys/unix/nethack.sh > /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin/falconseye ( cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir ; true root falconseye ; true games falconseye ) chmod 0555 /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/falconseye true root /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin/falconseye true games /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin/falconseye chmod 0755 /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin/falconseye touch /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/perm /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/record /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/logfile ( cd /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir ; true root perm record logfile ; true games perm record logfile ; chmod 0664 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. install -s -m 555 /wrkdirs/usr/ports/games/falconseye/work/falconseye-1.9.3_12/util/recover /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/bin/frecover cd /wrkdirs/usr/ports/games/falconseye/work/falconseye-1.9.3_12/doc && install -m 444 recover.6 /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/man/man6/frecover.6 cd /wrkdirs/usr/ports/games/falconseye/work/falconseye-1.9.3_12/doc && install -m 444 nethack.6 /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/man/man6/falconseye.6 /usr/bin/touch /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/logfile /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/perm /wrkdirs/usr/ports/games/falconseye/work/stage/usr/local/share/falconseyedir/record ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2026-01-25T08:38:18+0000' 'PKG_NOTE_ports_top_git_hash=076a295eb33c' '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 falconseye-1.9.3_12 ===> Building falconseye-1.9.3_12 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for falconseye-1.9.3_12 build of games/falconseye | falconseye-1.9.3_12 ended at Sun Jan 25 03:39:35 EST 2026 build time: 00:01:18