>>> Building on amd64-3 under games/falconseye BDEPENDS = [archivers/unzip;devel/sdl] DIST = [games/falconseye:nethack_source_331_jtp_193.zip] FULLPKGNAME = falconseye-1.9.3p10 RDEPENDS = [games/hackdata;devel/sdl] (Junk lock obtained for amd64-3 at 1779825522.09) >>> Running depends in games/falconseye at 1779825522.13 last junk was in games/xlife /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 was: /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 unzip-6.0p18 /usr/sbin/pkg_add -aI -Drepair sdl-1.2.15p12 >>> Running show-prepare-results in games/falconseye at 1779825525.66 ===> games/falconseye ===> Building from scratch falconseye-1.9.3p10 ===> falconseye-1.9.3p10 depends on: unzip-* -> unzip-6.0p18 ===> falconseye-1.9.3p10 depends on: sdl-* -> sdl-1.2.15p12 ===> Verifying specs: X11 Xext c curses m pthread usbhid xcb SDL ===> found X11.19.0 Xext.13.0 c.103.0 curses.16.0 m.10.1 pthread.28.1 usbhid.7.1 xcb.4.1 SDL.8.0 sdl-1.2.15p12 unzip-6.0p18 (Junk lock released for amd64-3 at 1779825527.05) distfiles size=8349587 >>> Running patch in games/falconseye at 1779825527.09 ===> games/falconseye ===> Checking files for falconseye-1.9.3p10 `/usr/ports/distfiles/nethack_source_331_jtp_193.zip' is up to date. >> (SHA256) all files: OK ===> Extracting for falconseye-1.9.3p10 ===> Patching for falconseye-1.9.3p10 ===> Applying OpenBSD patch patch-include_config_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- include/config.h.orig Tue Jul 3 18:56:52 2001 |+++ include/config.h Wed Jul 4 11:23:29 2001 -------------------------- Patching file include/config.h using Plan A... Hunk #1 succeeded at 146. Hunk #2 succeeded at 160. Hunk #3 succeeded at 188. Hunk #4 succeeded at 321. done ===> Applying OpenBSD patch patch-include_jtp_gen_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Replace the malloc.h header with stdlib.h. | |--- include/jtp_gen.h.orig Sun Jun 24 18:57:16 2001 |+++ include/jtp_gen.h Tue Nov 18 05:34:55 2014 -------------------------- Patching file include/jtp_gen.h using Plan A... Hunk #1 succeeded at 11. done ===> Applying OpenBSD patch patch-include_system_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- include/system.h.orig Sun Jun 24 18:57:16 2001 |+++ include/system.h Tue Nov 18 05:30:52 2014 -------------------------- Patching file include/system.h using Plan A... Hunk #1 succeeded at 513. done ===> Applying OpenBSD patch patch-include_tcap_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- include/tcap.h.orig Wed Mar 25 00:52:16 2015 |+++ include/tcap.h Wed Mar 25 00:52:30 2015 -------------------------- Patching file include/tcap.h using Plan A... Hunk #1 succeeded at 44. done ===> Applying OpenBSD patch patch-include_unixconf_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- include/unixconf.h.orig Sun Jun 24 18:57:16 2001 |+++ include/unixconf.h Wed Jul 4 11:23:29 2001 -------------------------- Patching file include/unixconf.h using Plan A... Hunk #1 succeeded at 19. Hunk #2 succeeded at 37. Hunk #3 succeeded at 52. Hunk #4 succeeded at 138. Hunk #5 succeeded at 149. Hunk #6 succeeded at 310. done ===> Applying OpenBSD patch patch-src_topten_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/topten.c.orig 2003-08-27 21:11:41.000000000 -0400 |+++ src/topten.c 2003-08-27 21:13:41.000000000 -0400 -------------------------- Patching file src/topten.c using Plan A... Hunk #1 succeeded at 855. done ===> Applying OpenBSD patch patch-sys_share_unixtty_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/share/unixtty.c.orig Wed Mar 25 00:54:22 2015 |+++ sys/share/unixtty.c Wed Mar 25 00:55:08 2015 -------------------------- Patching file sys/share/unixtty.c using Plan A... Hunk #1 succeeded at 120. done ===> Applying OpenBSD patch patch-sys_unix_Makefile_doc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/unix/Makefile.doc.orig Sun Jun 24 18:57:24 2001 |+++ sys/unix/Makefile.doc Wed Jul 4 23:40:29 2001 -------------------------- Patching file sys/unix/Makefile.doc using Plan A... Hunk #1 succeeded at 34. done ===> Applying OpenBSD patch patch-sys_unix_Makefile_src Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/unix/Makefile.src.orig Sun Jun 24 18:57:24 2001 |+++ sys/unix/Makefile.src Tue Nov 18 05:30:52 2014 -------------------------- Patching file sys/unix/Makefile.src using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 118. Hunk #3 succeeded at 147. Hunk #4 succeeded at 233. Hunk #5 succeeded at 295. Hunk #6 succeeded at 468. done ===> Applying OpenBSD patch patch-sys_unix_Makefile_top Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/unix/Makefile.top.orig Sun Jun 24 18:57:24 2001 |+++ sys/unix/Makefile.top Wed Jul 4 23:39:44 2001 -------------------------- Patching file sys/unix/Makefile.top using Plan A... Hunk #1 succeeded at 16. Hunk #2 succeeded at 36. Hunk #3 succeeded at 202. done ===> Applying OpenBSD patch patch-sys_unix_Makefile_utl Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/unix/Makefile.utl.orig Sun Jun 24 18:57:24 2001 |+++ sys/unix/Makefile.utl Wed Jul 4 11:23:29 2001 -------------------------- Patching file sys/unix/Makefile.utl using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 90. done ===> Applying OpenBSD patch patch-sys_unix_nethack_sh Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/unix/nethack.sh.orig Sun Jun 24 18:57:24 2001 |+++ sys/unix/nethack.sh Thu Jul 5 16:22:17 2001 -------------------------- Patching file sys/unix/nethack.sh using Plan A... Hunk #1 succeeded at 6. done ===> Applying OpenBSD patch patch-sys_unix_unixunix_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sys/unix/unixunix.c.orig Sun Jun 24 18:57:24 2001 |+++ sys/unix/unixunix.c Wed Jul 4 11:23:29 2001 -------------------------- Patching file sys/unix/unixunix.c using Plan A... Hunk #1 succeeded at 42. done ===> Applying OpenBSD patch patch-util_makedefs_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- util/makedefs.c.orig Fri Mar 20 20:59:01 2015 |+++ util/makedefs.c Fri Mar 20 21:00:36 2015 -------------------------- Patching file util/makedefs.c using Plan A... Hunk #1 succeeded at 523. Hunk #2 succeeded at 549. done ===> Applying OpenBSD patch patch-win_Qt_qt_win_cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- win/Qt/qt_win.cpp.orig Tue Jul 3 17:42:00 2001 |+++ win/Qt/qt_win.cpp Wed Jul 4 11:23:29 2001 -------------------------- Patching file win/Qt/qt_win.cpp using Plan A... Hunk #1 succeeded at 91. done ===> Applying OpenBSD patch patch-win_jtp_gamedata_config_jtp_keys_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- win/jtp/gamedata/config/jtp_keys.txt.orig Sun Jun 24 18:57:26 2001 |+++ win/jtp/gamedata/config/jtp_keys.txt Thu Jul 5 15:25:21 2001 -------------------------- Patching file win/jtp/gamedata/config/jtp_keys.txt using Plan A... Hunk #1 succeeded at 42. done ===> Applying OpenBSD patch patch-win_jtp_gamedata_config_jtp_opts_txt Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- win/jtp/gamedata/config/jtp_opts.txt.orig Sun Jun 24 18:57:26 2001 |+++ win/jtp/gamedata/config/jtp_opts.txt Tue Nov 18 05:30:52 2014 -------------------------- Patching file win/jtp/gamedata/config/jtp_opts.txt using Plan A... Hunk #1 succeeded at 39. Hunk #2 succeeded at 60. done ===> Applying OpenBSD patch patch-win_jtp_jtp_gfl_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add missing header for malloc(). | |--- win/jtp/jtp_gfl.c.orig Sun Nov 30 01:44:07 2014 |+++ win/jtp/jtp_gfl.c Sun Nov 30 01:44:17 2014 -------------------------- Patching file win/jtp/jtp_gfl.c using Plan A... Hunk #1 succeeded at 7. done ===> Applying OpenBSD patch patch-win_jtp_jtp_keys_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Don't use malloc.h header on OpenBSD. | |--- win/jtp/jtp_keys.c.orig Tue Nov 18 05:32:43 2014 |+++ win/jtp/jtp_keys.c Tue Nov 18 05:32:50 2014 -------------------------- Patching file win/jtp/jtp_keys.c using Plan A... Hunk #1 succeeded at 2. done ===> Applying OpenBSD patch patch-win_jtp_jtp_mou_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add missing header for malloc(). | |--- win/jtp/jtp_mou.c.orig Sun Nov 30 01:44:54 2014 |+++ win/jtp/jtp_mou.c Sun Nov 30 01:45:40 2014 -------------------------- Patching file win/jtp/jtp_mou.c using Plan A... Hunk #1 succeeded at 6. done ===> Applying OpenBSD patch patch-win_jtp_jtp_sdl_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Don't use malloc.h header on OpenBSD. | |--- win/jtp/jtp_sdl.c.orig Tue Nov 18 05:36:04 2014 |+++ win/jtp/jtp_sdl.c Tue Nov 18 05:36:10 2014 -------------------------- Patching file win/jtp/jtp_sdl.c using Plan A... Hunk #1 succeeded at 11. done ===> Applying OpenBSD patch patch-win_jtp_jtp_win_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add missing header for toupper()/tolower(). | |Index: win/jtp/jtp_win.c |--- win/jtp/jtp_win.c.orig |+++ win/jtp/jtp_win.c -------------------------- Patching file win/jtp/jtp_win.c using Plan A... Hunk #1 succeeded at 7. Hunk #2 succeeded at 31. Hunk #3 succeeded at 7816. Hunk #4 succeeded at 7841. done ===> Applying OpenBSD patch patch-win_jtp_winjtp_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: win/jtp/winjtp.c |--- win/jtp/winjtp.c.orig |+++ win/jtp/winjtp.c -------------------------- Patching file win/jtp/winjtp.c using Plan A... Hunk #1 succeeded at 1504. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in games/falconseye at 1779825539.78 ===> games/falconseye ===> Generating configure for falconseye-1.9.3p10 ===> Configuring for falconseye-1.9.3p10 Lucky you! Symbolic links. >>> Running build in games/falconseye at 1779825541.10 ===> games/falconseye ===> Building for falconseye-1.9.3p10 ( cd src ; /usr/bin/make ) touch ../src/config.h-t cc -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c monst.c 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:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c objects.c 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:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c makedefs.c 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:160:7: note: conflicting prototype is here 160 | 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:370:14: note: conflicting prototype is here 370 | 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/X11R6/lib -o makedefs makedefs.o ../src/monst.o ../src/objects.o ld: warning: makedefs.c(makedefs.o:(do_objs)): warning: sprintf() is often misused, please use snprintf() ld: warning: makedefs.c(makedefs.o:(do_date)): warning: strcpy() is almost always misused, please use strlcpy() ./makedefs -p ./makedefs -o touch ../src/hack.h-t cc -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c allmain.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c alloc.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c apply.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c artifact.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c attrib.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c ball.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c bones.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c botl.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c cmd.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dbridge.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c decl.c 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:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c detect.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dig.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c display.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dlb.c 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:370:14: note: conflicting prototype is here 370 | unsigned int sleep(unsigned int); | ^ 6 warnings generated. cc -O2 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c do.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c do_name.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c do_wear.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dog.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dogmove.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dokick.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dothrow.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c drawing.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c dungeon.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c eat.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c end.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c engrave.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c exper.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c explode.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c extralev.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c files.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c fountain.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c hack.c 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:370:14: note: conflicting prototype is here 370 | 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 -fomit-frame-pointer -I../include -I/usr/X11/include -DHACKDIR=\"/usr/local/lib/falconseyedir\" -DHAVE_SYS_PARAM_H -c hacklib.c 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:370:14: note: conflicting prototype is here 370 | 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:451:22: error: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] 451 | srandom((int) time((long *)0)); | ^~~~~~~~~ /usr/include/time.h:123:21: note: passing argument to parameter here 123 | time_t time(time_t *); | ^ hacklib.c:471:14: error: incompatible pointer types passing 'long *' to parameter of type 'time_t *' (aka 'long long *') [-Wincompatible-pointer-types] 471 | (void) time((long *)(&date)); | ^~~~~~~~~~~~~~~ /usr/include/time.h:123:21: note: passing argument to parameter here 123 | time_t time(time_t *); | ^ hacklib.c:476:19: error: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] 476 | return(localtime((long *)(&date))); | ^~~~~~~~~~~~~~~ ../include/system.h:512:46: note: passing argument to parameter here 512 | E struct tm *FDECL(localtime, (const time_t *)); | ^ 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) | ^ hacklib.c:523:18: error: incompatible pointer types passing 'long *' to parameter of type 'const time_t *' (aka 'const long long *') [-Wincompatible-pointer-types] 523 | lt = localtime((long *)(&date)); | ^~~~~~~~~~~~~~~ ../include/system.h:512:46: note: passing argument to parameter here 512 | E struct tm *FDECL(localtime, (const time_t *)); | ^ 30 warnings and 4 errors generated. *** Error 1 in src (:87 'hacklib.o') *** Error 2 in /usr/obj/ports/falconseye-1.9.3 (Makefile:121 'falconseye') *** Error 2 in games/falconseye (/usr/ports/infrastructure/mk/bsd.port.mk:3079 '/usr/obj/ports/falconseye-1.9.3/.build_done': @cd /usr/obj/p...) *** Error 2 in games/falconseye (/usr/ports/infrastructure/mk/bsd.port.mk:2722 'build': @lock=falconseye-1.9.3p10; export _LOCKS_HELD=" fal...) ===> Exiting games/falconseye with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:144 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1779825559.24 max_stuck=0.66/depends=3.53/show-prepare-results=1.43/patch=12.64/configure=1.36/build=18.17 Error: job failed with 512 on amd64-3 at 1779825559