>>> Building on exopi-4 under games/slash-em DIST = [games/slash-em:se007e7f1.tar.gz] FULLPKGNAME = slash-em-3.4.3.7e7f1p9 RDEPENDS = [games/hackdata] distfiles size=5219740 >>> Running build in games/slash-em at 1764443424.18 ===> games/slash-em ===> Building from scratch slash-em-3.4.3.7e7f1p9 ===> Verifying specs: c curses X11 Xaw Xext Xmu Xpm Xt xcb ===> found c.102.2 curses.16.0 X11.19.0 Xaw.16.0 Xext.13.0 Xmu.11.0 Xpm.10.0 Xt.11.1 xcb.4.1 ===> Checking files for slash-em-3.4.3.7e7f1p9 `/exopi-cvs/ports/distfiles/se007e7f1.tar.gz' is up to date. >> (SHA256) all files: OK ===> Extracting for slash-em-3.4.3.7e7f1p9 ===> Patching for slash-em-3.4.3.7e7f1p9 ===> 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 Sat Jul 2 09:24:44 2005 |+++ include/config.h Sun Sep 11 13:32:57 2005 -------------------------- Patching file include/config.h using Plan A... Hunk #1 succeeded at 183. Hunk #2 succeeded at 197. Hunk #3 succeeded at 228. Hunk #4 succeeded at 368. 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 Sat Jul 2 09:24:44 2005 |+++ include/system.h Wed May 19 06:07:02 2010 -------------------------- Patching file include/system.h using Plan A... Hunk #1 succeeded at 525. Hunk #2 succeeded at 535. 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 Fri Mar 20 19:29:51 2015 |+++ include/tcap.h Fri Mar 20 19:30:09 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 Sat Jul 2 09:24:44 2005 |+++ include/unixconf.h Sun Sep 11 13:34:45 2005 -------------------------- Patching file include/unixconf.h using Plan A... Hunk #1 succeeded at 20. Hunk #2 succeeded at 37. Hunk #3 succeeded at 52. Hunk #4 succeeded at 200. Hunk #5 succeeded at 211. Hunk #6 succeeded at 385. done ===> Applying OpenBSD patch patch-src_botl_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/botl.c.orig Mon Mar 23 16:05:46 2015 |+++ src/botl.c Mon Mar 23 16:09:38 2015 -------------------------- Patching file src/botl.c using Plan A... Hunk #1 succeeded at 559. done ===> Applying OpenBSD patch patch-src_cmd_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/cmd.c.orig Mon Mar 23 16:10:22 2015 |+++ src/cmd.c Mon Mar 23 16:12:46 2015 -------------------------- Patching file src/cmd.c using Plan A... Hunk #1 succeeded at 1511. 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 Mon Mar 23 16:13:42 2015 |+++ src/topten.c Mon Mar 23 16:20:20 2015 -------------------------- Patching file src/topten.c using Plan A... Hunk #1 succeeded at 220. Hunk #2 succeeded at 262. 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 Mon Mar 23 15:53:04 2015 |+++ sys/share/unixtty.c Mon Mar 23 15:54:13 2015 -------------------------- Patching file sys/share/unixtty.c using Plan A... Hunk #1 succeeded at 130. 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 Wed May 2 01:07:43 2001 |+++ sys/unix/Makefile.doc Tue Jul 3 19:02:04 2001 -------------------------- Patching file sys/unix/Makefile.doc using Plan A... Hunk #1 succeeded at 54. 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 Sat Jul 2 09:24:44 2005 |+++ sys/unix/Makefile.src Wed May 19 06:07:02 2010 -------------------------- Patching file sys/unix/Makefile.src using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 145. Hunk #3 succeeded at 291. Hunk #4 succeeded at 339. Hunk #5 succeeded at 370. Hunk #6 succeeded at 598. 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 Sat Jul 2 09:24:44 2005 |+++ sys/unix/Makefile.top Sun Sep 11 14:07:56 2005 -------------------------- Patching file sys/unix/Makefile.top using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 40. Hunk #3 succeeded at 50. Hunk #4 succeeded at 294. 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 Sat Jul 2 09:24:44 2005 |+++ sys/unix/Makefile.utl Sun Sep 11 13:32:57 2005 -------------------------- Patching file sys/unix/Makefile.utl using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 90. 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 Thu Mar 19 23:39:33 2015 |+++ util/makedefs.c Thu Mar 19 23:41:44 2015 -------------------------- Patching file util/makedefs.c using Plan A... Hunk #1 succeeded at 593. Hunk #2 succeeded at 625. 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 Sat Jul 2 09:24:44 2005 |+++ win/Qt/qt_win.cpp Sun Sep 11 13:37:55 2005 -------------------------- Patching file win/Qt/qt_win.cpp using Plan A... Hunk #1 succeeded at 106. done ===> Applying OpenBSD patch patch-win_tty_termcap_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- win/tty/termcap.c.orig Wed May 19 09:30:51 2010 |+++ win/tty/termcap.c Wed May 19 09:31:10 2010 -------------------------- Patching file win/tty/termcap.c using Plan A... Hunk #1 succeeded at 835. 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++ ===> Generating configure for slash-em-3.4.3.7e7f1p9 ===> Configuring for slash-em-3.4.3.7e7f1p9 Lucky you! Symbolic links. ===> Building for slash-em-3.4.3.7e7f1p9 ( cd src ; /usr/bin/make ) touch ../src/config.h-t cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c monst.c In file included from monst.c:5: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from monst.c:5: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c objects.c In file included from objects.c:8: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from objects.c:8: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c alloc.c In file included from alloc.c:11: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from alloc.c:11: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ alloc.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | alloc(lth) | ^ alloc.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | fmt_ptr(ptr, buf) | ^ 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:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from makedefs.c:10: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ makedefs.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | main(argc, argv) | ^ makedefs.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | do_makedefs(options) | ^ makedefs.c:354:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | char *xcrypt(str) | ^ makedefs.c:387:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 387 | Fprintf(ofp,Dont_Edit_Data); | ^~~~~~~~~~~~~~ makedefs.c:387:14: note: treat the string as an argument to avoid this 387 | Fprintf(ofp,Dont_Edit_Data); | ^ | "%s", makedefs.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 557 | version_string(outbuf) | ^ makedefs.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 | version_id_string(outbuf, build_date) | ^ makedefs.c:611:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 611 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:611:14: note: treat the string as an argument to avoid this 611 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | d_filter(line) | ^ makedefs.c:1145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1145 | h_filter(line) | ^ makedefs.c:1344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1344 | check_control(s) | ^ makedefs.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | without_control(s) | ^ makedefs.c:1384:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1384 | Fprintf(ofp,Dont_Edit_Data); | ^~~~~~~~~~~~~~ makedefs.c:1384:14: note: treat the string as an argument to avoid this 1384 | Fprintf(ofp,Dont_Edit_Data); | ^ | "%s", makedefs.c:1415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | ranged_attk(ptr) /* returns TRUE if monster can attack at range */ | ^ makedefs.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 | mstrength(ptr) | ^ makedefs.c:1509:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1509 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1509:17: note: treat the string as an argument to avoid this 1509 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1550:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1550 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1550:14: note: treat the string as an argument to avoid this 1550 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | qt_comment(s) | ^ makedefs.c:1595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | qt_control(s) | ^ makedefs.c:1602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1602 | get_hdr (code) | ^ makedefs.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 | new_id (code) | ^ makedefs.c:1629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1629 | known_msg(num, id) | ^ makedefs.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | new_msg(s, num, id) | ^ makedefs.c:1661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1661 | do_qt_control(s) | ^ makedefs.c:1700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1700 | do_qt_text(s) | ^ makedefs.c:1836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | limit(name,pref) /* limit a name to 30 characters length */ | ^ makedefs.c:1865:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1865 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:1865:14: note: treat the string as an argument to avoid this 1865 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:1966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | tmpdup(str) | ^ makedefs.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | eos(str) | ^ makedefs.c:2020:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2020 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:2020:17: note: treat the string as an argument to avoid this 2020 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:2045:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2045 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:2045:17: note: treat the string as an argument to avoid this 2045 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:2288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2288 | clear_path(you_row,you_col,y2,x2) | ^ makedefs.c:2377:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2377 | Fprintf(ofp,Dont_Edit_Code); | ^~~~~~~~~~~~~~ makedefs.c:2377:17: note: treat the string as an argument to avoid this 2377 | Fprintf(ofp,Dont_Edit_Code); | ^ | "%s", makedefs.c:2417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2417 | lcase(s) /* convert a string into all lowercase */ | ^ makedefs.c:2430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2430 | ucase(s) /* convert a string into all lowercase */ | ^ 38 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c panic.c In file included from panic.c:11: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from panic.c:11: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -L/usr/X11R6/lib -o makedefs makedefs.o ../src/monst.o ../src/objects.o ../src/alloc.o panic.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 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c allmain.c In file included from allmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from allmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ allmain.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 | welcome(new_game) | ^ 5 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c apply.c In file included from apply.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ apply.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | use_camera(obj) | ^ apply.c:68:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 68 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:68:9: note: treat the string as an argument to avoid this 68 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | use_towel(obj) | ^ apply.c:165:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 165 | its_dead(rx, ry, resp) | ^ apply.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 | use_stethoscope(obj) | ^ apply.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | use_whistle(obj) | ^ apply.c:324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 324 | use_magic_whistle(obj) | ^ apply.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 | um_dist(x,y,n) | ^ apply.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | o_unleash(otmp) /* otmp is about to be destroyed or stolen */ | ^ apply.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | m_unleash(mtmp, feedback) /* mtmp is about to die, or become untame */ | ^ apply.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | use_leash(obj) | ^ apply.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 | get_mleash(mtmp) /* assuming mtmp->mleashed has been checked */ | ^ apply.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | check_leash(x, y) | ^ apply.c:640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | use_mirror(obj) | ^ apply.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | use_bell(optr) | ^ apply.c:851:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 851 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:851:13: note: treat the string as an argument to avoid this 851 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:883:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 883 | case 0: pline(nothing_happens); break; | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:883:20: note: treat the string as an argument to avoid this 883 | case 0: pline(nothing_happens); break; | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:895:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 895 | else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:895:14: note: treat the string as an argument to avoid this 895 | else pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | use_candelabrum(obj) | ^ apply.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | use_candle(optr) | ^ apply.c:1036:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1036 | snuff_candle(otmp) /* call in drop, throw, and put in box, etc. */ | ^ apply.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | snuff_lit(obj) | ^ apply.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 | catch_lit(obj) | ^ apply.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | use_lamp(obj) | ^ apply.c:1229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1229 | use_torch(obj) | ^ apply.c:1258:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1258 | light_cocktail(obj) | ^ apply.c:1363:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1363 | else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1363:17: note: treat the string as an argument to avoid this 1363 | else pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:1368:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1368 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1368:15: note: treat the string as an argument to avoid this 1368 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:1380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | jump(magic) | ^ apply.c:1548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1548 | tinnable(corpse) | ^ apply.c:1559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1559 | use_tinning_kit(obj) | ^ apply.c:1640:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1640 | use_unicorn_horn(obj) | ^ apply.c:1709:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1709 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1709:12: note: treat the string as an argument to avoid this 1709 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:1805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1805 | fig_transform(arg, timeout) | ^ apply.c:1894:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1894 | figurine_location_checks(obj, cc, quietly) | ^ apply.c:1929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1929 | use_figurine(optr) | ^ apply.c:1968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1968 | use_grease(obj) | ^ apply.c:2121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2121 | use_whetstone(stone, obj) | ^ apply.c:2223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | use_stone(tstone) | ^ apply.c:2366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2366 | use_trap(otmp) | ^ apply.c:2501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2501 | use_whip(obj) | ^ apply.c:2566:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2566 | pline(msg_slipsfree); | ^~~~~~~~~~~~~ apply.c:2566:13: note: treat the string as an argument to avoid this 2566 | pline(msg_slipsfree); | ^ | "%s", apply.c:2607:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2607 | else pline(msg_snap); | ^~~~~~~~ apply.c:2607:14: note: treat the string as an argument to avoid this 2607 | else pline(msg_snap); | ^ | "%s", apply.c:2629:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2629 | pline(msg_slipsfree); | ^~~~~~~~~~~~~ apply.c:2629:9: note: treat the string as an argument to avoid this 2629 | pline(msg_slipsfree); | ^ | "%s", apply.c:2632:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2632 | } else pline(msg_snap); | ^~~~~~~~ apply.c:2632:15: note: treat the string as an argument to avoid this 2632 | } else pline(msg_snap); | ^ | "%s", apply.c:2724:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2724 | pline(msg_slipsfree); | ^~~~~~~~~~~~~ apply.c:2724:9: note: treat the string as an argument to avoid this 2724 | pline(msg_slipsfree); | ^ | "%s", apply.c:2734:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2734 | else pline(msg_snap); | ^~~~~~~~ apply.c:2734:14: note: treat the string as an argument to avoid this 2734 | else pline(msg_snap); | ^ | "%s", apply.c:2743:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2743 | pline(msg_snap); | ^~~~~~~~ apply.c:2743:8: note: treat the string as an argument to avoid this 2743 | pline(msg_snap); | ^ | "%s", apply.c:2753:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2753 | use_pole(obj) | ^ apply.c:2901:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2901 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2901:8: note: treat the string as an argument to avoid this 2901 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:2986:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2986 | use_cream_pie(obj) | ^ apply.c:3025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3025 | use_grapple (obj) | ^ apply.c:3140:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3140 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:3140:8: note: treat the string as an argument to avoid this 3140 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:3149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3149 | do_break_wand(obj) | ^ apply.c:3188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3188 | wand_explode(obj, hero_broke) | ^ apply.c:3390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3390 | add_class(cl, class) | ^ apply.c:3709:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3709 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:3709:21: note: treat the string as an argument to avoid this 3709 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:3757:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3757 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:3757:13: note: treat the string as an argument to avoid this 3757 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ apply.c:3829:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3829 | unfixable_trouble_count(is_horn) | ^ 63 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c artifact.c In file included from artifact.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ artifact.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | save_artifacts(fd) | ^ artifact.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | restore_artifacts(fd) | ^ 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 | artiname(artinum) | ^ artifact.c:185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 185 | mk_artifact(otmp, alignment) | ^ artifact.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 | artifact_name(name, otyp) | ^ artifact.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 | exist_artifact(otyp, name) | ^ artifact.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 | artifact_exists(otmp, name, mod) | ^ artifact.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 | spec_ability(otmp, abil) | ^ artifact.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | confers_luck(obj) | ^ artifact.c:392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 392 | arti_reflects(obj) | ^ artifact.c:411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 411 | restrict_name(otmp, name) /* returns 1 if name is restricted for otmp->otyp */ | ^ artifact.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 | attacks(adtyp, otmp) | ^ artifact.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | defends(adtyp, otmp) | ^ artifact.c:463:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 463 | protects(adtyp, otmp) | ^ artifact.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | set_artifact_intrinsic(otmp,on,wp_mask) | ^ artifact.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | touch_artifact(obj,mon) | ^ artifact.c:692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 692 | spec_applies(weap, mtmp) | ^ artifact.c:772:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 772 | spec_m2(otmp) | ^ artifact.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | spec_abon(otmp, mon) | ^ artifact.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 | spec_dbon(otmp, mon, tmp) | ^ artifact.c:823:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | discover_artifact(m) | ^ artifact.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | undiscovered_artifact(m) | ^ artifact.c:859:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 859 | disp_artifact_discoveries(tmpwin) | ^ artifact.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | Mb_hit(magr, mdef, mb, dmgptr, dieroll, vis, hittee) | ^ artifact.c:1098:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1098 | artifact_hit(magr, mdef, otmp, dmgptr, dieroll) | ^ artifact.c:1466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1466 | arti_invoke(obj) | ^ artifact.c:1484:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1484 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1484:12: note: treat the string as an argument to avoid this 1484 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ artifact.c:1845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1845 | artifact_wet(obj, silent) | ^ artifact.c:1882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | artifact_light(obj) | ^ artifact.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 | arti_speak(obj) | ^ artifact.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | artifact_has_invprop(otmp, inv_prop) | ^ artifact.c:1923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | arti_cost(otmp) | ^ 36 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c attrib.c In file included from attrib.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ attrib.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | adjattrib(ndx, incr, msgflg) | ^ attrib.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 | gainstr(otmp, incr) | ^ attrib.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | losestr(num) /* may kill you; cause may be poison or monster like 'a' */ | ^ attrib.c:257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 257 | change_luck(n) | ^ attrib.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 | stone_luck(parameter) | ^ attrib.c:341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | exercise(i, inc_or_dec) | ^ attrib.c:542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 542 | init_attr(np) | ^ attrib.c:612:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 612 | postadjabil(ability) | ^ attrib.c:621:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 621 | adjabil(oldlevel,newlevel) | ^ attrib.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | acurr(x) | ^ attrib.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 | adjalign(n) | ^ 15 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ball.c In file included from ball.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ball.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 | set_bc(already_blind) | ^ ball.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | move_bc(before, control, ballx, bally, chainx, chainy) | ^ ball.c:366:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 366 | drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay, | ^ ball.c:649:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 649 | drop_ball(x, y) | ^ 8 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c bones.c In file included from bones.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 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: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 | goodfruit(id) | ^ bones.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 | resetobjs(ochain,restore) | ^ bones.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | drop_upon_death(mtmp, cont) | ^ bones.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | savebones(corpse) | ^ 9 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c botl.c In file included from botl.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ botl.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | xlev_to_rank(xlev) | ^ botl.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | rank_of(lev, monnum, female) | ^ botl.c:137:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 137 | title_to_mon(str, rank_indx, title_length) | ^ botl.c:227:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 227 | Sprintf(eos(nb), mbot); | ^~~~ botl.c:227:19: note: treat the string as an argument to avoid this 227 | Sprintf(eos(nb), mbot); | ^ | "%s", botl.c:229:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 229 | Sprintf(eos(nb), rank()); | ^~~~~~ botl.c:229:19: note: treat the string as an argument to avoid this 229 | Sprintf(eos(nb), rank()); | ^ | "%s", botl.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | describe_level(buf, verbose) | ^ botl.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | shorten_bot2(str, len) | ^ botl.c:571:19: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | (*raw_handler)(reconfig, rv - botl_raw_values, botl_raw_values); | ^ botl.c:501:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 501 | static void bot_raw(reconfig) | ^ botl.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 | bot_set_handler(handler) | ^ 14 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c cmd.c In file included from cmd.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ cmd.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | set_occupation(fn, txt, xtime) | ^ cmd.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 | pushch(ch) | ^ cmd.c:303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 303 | savech(ch) | ^ cmd.c:1036:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1036 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1036:8: note: treat the string as an argument to avoid this 1036 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ cmd.c:1214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1214 | enlght_line(start, middle, end) | ^ cmd.c:1227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1227 | enlightenment(final) | ^ cmd.c:1842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1842 | makemenu(menuname, menu_struct) | ^ cmd.c:1920:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1920 | enlght_combatinc(inctyp, incamt, final, outbuf) | ^ cmd.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | show_conduct(final) | ^ cmd.c:2356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2356 | count_obj(chain, total_count, total_size, top, recurse) | ^ cmd.c:2379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2379 | obj_chain(win, src, chain, total_count, total_size) | ^ cmd.c:2397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | mon_invent_chain(win, src, chain, total_count, total_size) | ^ cmd.c:2417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2417 | contained(win, src, total_count, total_size) | ^ cmd.c:2444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2444 | mon_chain(win, src, chain, total_count, total_size) | ^ cmd.c:2647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2647 | rhack(cmd) | ^ cmd.c:2853:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2853 | xytod(x, y) /* convert an x,y pair into a direction code */ | ^ cmd.c:2865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2865 | dtoxy(cc,dd) /* convert a direction code into an x,y pair */ | ^ cmd.c:2875:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2875 | movecmd(sym) /* also sets u.dz, but returns false for <> */ | ^ cmd.c:2904:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2904 | int get_adjacent_loc(prompt,emsg,x,y,cc) | ^ cmd.c:2911:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2911 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:2911:9: note: treat the string as an argument to avoid this 2911 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ cmd.c:2920:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2920 | if (emsg) pline(emsg); | ^~~~ cmd.c:2920:19: note: treat the string as an argument to avoid this 2920 | if (emsg) pline(emsg); | ^ | "%s", cmd.c:2927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2927 | getdir(s) | ^ cmd.c:2969:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2969 | help_dir(sym, msg) | ^ cmd.c:3064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3064 | isok(x,y) | ^ cmd.c:3077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3077 | click_to_cmd(x, y, mod) | ^ cmd.c:3233:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 3233 | pline(in_line); | ^~~~~~~ cmd.c:3233:10: note: treat the string as an argument to avoid this 3233 | pline(in_line); | ^ | "%s", cmd.c:3437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3437 | yn_function(query,resp, def) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dbridge.c In file included from dbridge.c:13: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 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: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 | e_survives_at(etmp, x, y) | ^ dbridge.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | e_died(etmp, dest, how) | ^ dbridge.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | automiss(etmp) | ^ dbridge.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 | e_missed(etmp, chunks) | ^ dbridge.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 | e_jumps(etmp) | ^ dbridge.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 | do_entity(etmp) | ^ dbridge.c:748:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 748 | close_drawbridge(x,y) | ^ dbridge.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | open_drawbridge(x,y) | ^ dbridge.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | destroy_drawbridge(x,y) | ^ 27 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c decl.c In file included from decl.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c detect.c In file included from detect.c:10: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 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:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | o_material(obj, material) | ^ detect.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 | do_dknown_of(obj) | ^ detect.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | check_map_spot(x, y, oclass, material) | ^ detect.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 | clear_stale_map(oclass, material) | ^ detect.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | gold_detect(sobj) | ^ detect.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | food_detect(sobj) | ^ detect.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 | object_detect(detector, class) | ^ detect.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | monster_detect(otmp, mclass) | ^ detect.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | sense_trap(trap, x, y, src_cursed) | ^ detect.c:680:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 680 | trap_detect(sobj) | ^ detect.c:750:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 750 | level_distance(where) | ^ detect.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 | use_crystal_ball(obj) | ^ detect.c:817:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 817 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:817:20: note: treat the string as an argument to avoid this 817 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ detect.c:866:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 866 | if (flags.verbose) pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:866:27: note: treat the string as an argument to avoid this 866 | if (flags.verbose) pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ detect.c:917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 917 | show_map_spot(x, y) | ^ detect.c:992:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 992 | cvt_sdoor_to_door(lev) | ^ detect.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | findone(zx,zy,num) | ^ detect.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 | openone(zx,zy,num) | ^ detect.c:1138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1138 | find_trap(trap) | ^ detect.c:1173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1173 | dosearch0(aflag) | ^ 25 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dig.c In file included from dig.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dig.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 | mkcavepos(x, y, dist, waslit, rockit) | ^ dig.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 | mkcavearea(rockit) | ^ dig.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | dig_typ(otmp, x, y) | ^ dig.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | dig_check(madeby, verbose, x, y) | ^ dig.c:419:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 419 | if(digtxt && !digging.quiet) pline(digtxt); /* after newsym */ | ^~~~~~ dig.c:419:38: note: treat the string as an argument to avoid this 419 | if(digtxt && !digging.quiet) pline(digtxt); /* after newsym */ | ^ | "%s", dig.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | fillholetyp(x,y) | ^ dig.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | digactualhole(x, y, madeby, ttyp) | ^ dig.c:658:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 658 | pline(You_fall); | ^~~~~~~~ dig.c:658:10: note: treat the string as an argument to avoid this 658 | pline(You_fall); | ^ | "%s", dig.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | dighole(pit_only) | ^ dig.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | use_pick_axe(obj) | ^ dig.c:926:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | int use_pick_axe2(obj) | ^ dig.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | watch_dig(mtmp, x, y, zap) | ^ 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 | mdig_tunnel(mtmp) | ^ dig.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | bury_an_obj(otmp) | ^ dig.c:1458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1458 | bury_objs(x, y) | ^ dig.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | unearth_objs(x, y) | ^ dig.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | rot_organic(arg, timeout) | ^ dig.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | rot_corpse(arg, timeout) | ^ 22 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c display.c In file included from display.c:118: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ display.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | vobj_at(x,y) | ^ display.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 171 | magic_map_background(x, y, show) | ^ display.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | map_background(x, y, show) | ^ display.c:242:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 242 | map_trap(trap, show) | ^ display.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | map_object(obj, show) | ^ display.c:276:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 276 | else | ^ display.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | map_invisible(x, y) | ^ display.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | unmap_object(x, y) | ^ display.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 | map_location(x,y,show) | ^ display.c:404:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 404 | int memory_glyph(x, y) | ^ display.c:424:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 424 | void clear_memory_glyph(x, y, to) | ^ display.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | display_monster(x, y, mon, sightflags, worm_tail) | ^ display.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 | display_warning(mon) | ^ display.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | feel_location(x, y) | ^ display.c:746:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 746 | newsym(x,y) | ^ display.c:905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 905 | shieldeff(x,y) | ^ display.c:968:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 968 | tmp_at(x, y) | ^ display.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | glyph_is_floating(glyph) | ^ display.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 | swallowed(first) | ^ display.c:1157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1157 | under_water(mode) | ^ display.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | under_ground(mode) | ^ display.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 | show_glyph(x,y,glyph) | ^ display.c:1512:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1512 | row_refresh(start,stop,y) | ^ display.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 | flush_screen(cursor_on_u) | ^ display.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | back_to_cmap(x,y) | ^ display.c:1677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1677 | back_to_glyph(x,y) | ^ display.c:1692:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1692 | swallow_to_glyph(mnum, loc) | ^ display.c:1718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1718 | zapdir_to_glyph(dx, dy, beam_type) | ^ 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 | glyph_at(x, y) | ^ display.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | check_pos(x, y, which) | ^ display.c:1828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1828 | set_twall(x0,y0, x1,y1, x2,y2, x3,y3) | ^ display.c:1846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1846 | set_wall(x, y, horiz) | ^ display.c:1874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | set_corn(x1,y1, x2,y2, x3,y3, x4,y4) | ^ display.c:1903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1903 | set_crosswall(x, y) | ^ display.c:2021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2021 | set_seenv(lev, x0, y0, x, y) | ^ display.c:2088:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2088 | t_warn(lev) | ^ display.c:2117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2117 | wall_angle(lev) | ^ 41 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dlb.c In file included from dlb.c:5: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dlb.c:5: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c do.c In file included from do.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ do.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 | boulder_hits_pool(otmp, rx, ry, pushing) | ^ do.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | flooreffects(obj,x,y,verb) | ^ do.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 | doaltarobj(obj) /* obj is an object dropped on an altar */ | ^ do.c:267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 267 | trycall(obj) | ^ do.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 | dosinkring(obj) /* obj is a ring being dropped over a kitchen sink */ | ^ do.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 | canletgo(obj,word) | ^ do.c:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 488 | drop(obj) | ^ do.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | dropx(obj) | ^ do.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | dropy(obj) | ^ do.c:629:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 629 | obj_no_longer_held(obj) | ^ do.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 | menu_drop(retry) | ^ do.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 | goto_level(newlevel, at_stairs, falling, portal) | ^ do.c:1368:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1368 | if (mesg) pline(mesg); | ^~~~ do.c:1368:22: note: treat the string as an argument to avoid this 1368 | if (mesg) pline(mesg); | ^ | "%s", do.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | schedule_goto(tolev, at_stairs, falling, portal_flag, pre_msg, post_msg) | ^ do.c:1516:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1516 | if (dfr_pre_msg) pline(dfr_pre_msg); | ^~~~~~~~~~~ do.c:1516:29: note: treat the string as an argument to avoid this 1516 | if (dfr_pre_msg) pline(dfr_pre_msg); | ^ | "%s", do.c:1526:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1526 | if (dfr_post_msg) pline(dfr_post_msg); | ^~~~~~~~~~~~ do.c:1526:30: note: treat the string as an argument to avoid this 1526 | if (dfr_post_msg) pline(dfr_post_msg); | ^ | "%s", do.c:1543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1543 | revive_corpse(corpse, moldy) | ^ do.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | revive_mon(arg, timeout) | ^ do.c:1669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1669 | moldy_corpse(arg, timeout) | ^ do.c:1789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1789 | set_wounded_legs(side, timex) | ^ 24 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c do_name.c In file included from do_name.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ do_name.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 | getpos_help(force, goal) | ^ do_name.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 | getpos(cc,force,goal) | ^ do_name.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 | christen_monst(mtmp, name) | ^ do_name.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 | do_oname(obj) | ^ do_name.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | realloc_obj(obj, oextra_size, oextra_src, oname_size, name) | ^ do_name.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | oname(obj, name) | ^ do_name.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 | docall(obj) | ^ do_name.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | x_monnam(mtmp, article, adjective, suppress, called) | ^ do_name.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | l_monnam(mtmp) | ^ do_name.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | mon_nam(mtmp) | ^ do_name.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | noit_mon_nam(mtmp) | ^ do_name.c:789:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 789 | Monnam(mtmp) | ^ do_name.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 | noit_Monnam(mtmp) | ^ do_name.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | m_monnam(mtmp) | ^ do_name.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 818 | y_monnam(mtmp) | ^ do_name.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | Adjmonnam(mtmp, adj) | ^ do_name.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | a_monnam(mtmp) | ^ do_name.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | Amonnam(mtmp) | ^ do_name.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 | distant_monnam(mon, article, outbuf) | ^ do_name.c:1009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1009 | hcolor(colorpref) | ^ do_name.c:1042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1042 | coyotename(mtmp, buf) | ^ 25 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c do_wear.c In file included from do_wear.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ do_wear.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 54 | off_msg(otmp) | ^ do_wear.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | on_msg(otmp) | ^ do_wear.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 778 | Ring_on(obj) | ^ do_wear.c:921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 921 | Ring_off_or_gone(obj,gone) | ^ do_wear.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 | Ring_off(obj) | ^ do_wear.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 | Ring_gone(obj) | ^ do_wear.c:1064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1064 | Blindf_on(otmp) | ^ do_wear.c:1097:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1097 | Blindf_off(otmp) | ^ do_wear.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | donning(otmp) /* also checks for doffing */ | ^ do_wear.c:1322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1322 | cursed(otmp) | ^ do_wear.c:1337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1337 | armoroff(otmp) | ^ do_wear.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 | already_wearing(cc) | ^ do_wear.c:1399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1399 | already_wearing2(cc1, cc2) | ^ do_wear.c:1413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1413 | canwearobj(otmp,mask,noisy) | ^ do_wear.c:1882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1882 | some_armor(victim) | ^ do_wear.c:1908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1908 | erode_armor(victim, acid_dmg) | ^ do_wear.c:1922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | stuck_ring(ring, otyp) | ^ do_wear.c:1956:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1956 | select_off(otmp) | ^ do_wear.c:2257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2257 | menu_remarm(retry) | ^ do_wear.c:2300:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2300 | destroy_arm(atmp) | ^ do_wear.c:2358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2358 | adj_abon(otmp, delta) | ^ 25 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dog.c In file included from dog.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dog.c:15:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 15 | initedog(mtmp) | ^ dog.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 | make_familiar(otmp,x,y,quietly) | ^ dog.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | make_helper(mnum,x,y) | ^ dog.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 | mon_arrive(mtmp, with_you) | ^ dog.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | mon_catchup_elapsed_time(mtmp, nmv) | ^ dog.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | keepdogs(pets_only) | ^ dog.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | migrate_to_level(mtmp, tolev, xyloc, cc) | ^ dog.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | dogfood(mon,obj) | ^ dog.c:842:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 842 | tamedog(mtmp, obj) | ^ dog.c:941:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 941 | int make_pet_minion(mnum,alignment) | ^ dog.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 | wary_dog(mtmp, was_dead) | ^ dog.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | abuse_dog(mtmp) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dogmove.c In file included from dogmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dogmove.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | DROPPABLES(mon) | ^ dogmove.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 | cursed_object_at(mtmp, x, y) | ^ dogmove.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 | dog_nutrition(mtmp, obj) | ^ dogmove.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 | dog_eat(mtmp, obj, x, y, devour) | ^ dogmove.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 | dog_hunger(mtmp, edog) | ^ dogmove.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | dog_invent(mtmp, edog, udist) | ^ dogmove.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 | dog_goal(mtmp, edog, after, udist, whappr) | ^ dogmove.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | betrayed(mtmp) | ^ dogmove.c:661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 661 | dog_move(mtmp, after) | ^ dogmove.c:1054:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1054 | could_reach_item(mon, nx, ny) | ^ dogmove.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | can_reach_location(mon, mx, my, fx, fy) | ^ dogmove.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | wantdoor(x, y, distance) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dokick.c In file included from dokick.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dokick.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | kickdmg(mon, clumsy) | ^ dokick.c:123:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 123 | kick_monster(x, y) | ^ dokick.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 | ghitm(mtmp, gold) | ^ dokick.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | container_impact_dmg(obj) | ^ dokick.c:430:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 430 | kick_object(x, y) | ^ dokick.c:632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 632 | kickstr(buf) | ^ dokick.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | drop_to(cc, loc) | ^ dokick.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | impact_drop(missile, x, y, dlev) | ^ dokick.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | ship_object(otmp, x, y, shop_floor_obj) | ^ dokick.c:1492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1492 | otransit_msg(otmp, nodrop, num) | ^ dokick.c:1521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1521 | down_gate(x, y) | ^ 15 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dothrow.c In file included from dothrow.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dothrow.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | splitoneoff(pobj) | ^ dothrow.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | throw_obj(obj, shotlimit, thrown) | ^ dothrow.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | hitfloor(obj) | ^ dothrow.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 | walk_path(src_cc, dest_cc, check_proc, arg) | ^ dothrow.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | hurtle_step(arg, x, y) | ^ dothrow.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 | mhurtle_step(arg, x, y) | ^ dothrow.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | hurtle(dx, dy, range, verbose) | ^ dothrow.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 | mhurtle(mon, dx, dy, range) | ^ dothrow.c:810:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 810 | check_shop_obj(obj, x, y, broken) | ^ dothrow.c:851:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 851 | toss_up(obj, hitsroof) | ^ dothrow.c:902:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 902 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:902:24: note: treat the string as an argument to avoid this 902 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ dothrow.c:958:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 958 | throwing_weapon(obj) | ^ dothrow.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | sho_obj_return_to_u(obj) | ^ dothrow.c:989:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 989 | throwit(obj, wep_mask, twoweap, thrown) | ^ dothrow.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 | omon_adj(mon, obj, mon_notices) | ^ dothrow.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | tmiss(obj, mon) | ^ dothrow.c:1379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1379 | thitmonst(mon, obj, thrown) | ^ dothrow.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | gem_accept(mon, obj) | ^ dothrow.c:1776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1776 | hero_breaks(obj, x, y, from_invent) | ^ dothrow.c:1794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1794 | breaks(obj, x, y) | ^ dothrow.c:1811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | breakobj(obj, x, y, hero_caused, from_invent) | ^ dothrow.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | breaktest(obj) | ^ dothrow.c:1936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1936 | breakmsg(obj, in_view) | ^ dothrow.c:1978:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1978 | throw_gold(obj) | ^ 28 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c drawing.c In file included from drawing.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 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_objclass(ch) | ^ drawing.c:647:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 647 | def_char_to_monclass(ch) | ^ drawing.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | assign_graphics(graph_chars, glth, maxlen, offset) | ^ drawing.c:669:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | switch_graphics(gr_set_flag) | ^ 8 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c dungeon.c In file included from dungeon.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dungeon.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | save_dungeon(fd, perform_write, free_data) | ^ dungeon.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | restore_dungeon(fd) | ^ dungeon.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | Fread(ptr, size, nitems, stream) | ^ dungeon.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 | dname_to_dnum(s) | ^ dungeon.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | find_level(s) | ^ dungeon.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | find_branch(s, pd) | ^ dungeon.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 | level_range(dgn, base, rand, chain, pd, adjusted_base) | ^ dungeon.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | parent_dlevel(i, pd) | ^ dungeon.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | correct_branch_type(tbr) | ^ 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 | insert_branch(new_branch, extract_first) | ^ dungeon.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 | add_branch(dgn, branch_num, pd) | ^ dungeon.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 | add_level(new_lev) | ^ dungeon.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 | init_level(dgn, proto_index, pd) | ^ dungeon.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 | possible_places(idx, map, pd) | ^ dungeon.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 | pick_level(map, nth) | ^ dungeon.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | place_level(proto_index, pd) | ^ dungeon.c:681:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 681 | panic(tbuf); | ^~~~ dungeon.c:681:12: note: treat the string as an argument to avoid this 681 | panic(tbuf); | ^ | "%s", dungeon.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | dunlev(lev) /* return the level number for lev in *this* dungeon */ | ^ dungeon.c:919:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 919 | dunlevs_in_dungeon(lev) /* return the lowest level number for *this* dungeon*/ | ^ 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 | real_dunlevs_in_dungeon(lev) /* return the lowest level number for *this* dungeon*/ | ^ dungeon.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | deepest_lev_reached(noquest) /* return the lowest level explored in the game*/ | ^ 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_no(lev) | ^ dungeon.c:997:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 997 | ledger_to_dnum(ledgerno) | ^ dungeon.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | ledger_to_dlev(ledgerno) | ^ dungeon.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1027 | depth(lev) | ^ dungeon.c:1034:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1034 | on_level(lev1, lev2) /* are "lev1" and "lev2" actually the same? */ | ^ dungeon.c:1045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1045 | Is_special(lev) | ^ dungeon.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | Is_branchlev(lev) | ^ dungeon.c:1075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1075 | next_level(at_stairs) | ^ dungeon.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 | prev_level(at_stairs) | ^ dungeon.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | u_on_newpos(x, y) | ^ dungeon.c:1171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1171 | On_stairs(x, y) | ^ dungeon.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | Is_botlevel(lev) | ^ dungeon.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | Can_dig_down(lev) | ^ dungeon.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | Can_fall_thru(lev) | ^ dungeon.c:1215:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1215 | Can_rise_up(x, y, lev) | ^ dungeon.c:1241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1241 | get_level(newlevel, levnum) | ^ dungeon.c:1292:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1292 | In_quest(lev) /* are you in the quest dungeon? */ | ^ dungeon.c:1302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1302 | In_mines(lev) /* are you in the mines dungeon? */ | ^ dungeon.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 | In_spiders(lev) /* are you in the spider dungeon? */ | ^ dungeon.c:1324:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1324 | dungeon_branch(s) | ^ dungeon.c:1350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1350 | at_dgn_entrance(s) | ^ dungeon.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | In_V_tower(lev) /* is `lev' part of Vlad's tower? */ | ^ dungeon.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | On_W_tower_level(lev) /* is `lev' a level containing the Wizard's tower? */ | ^ 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 | In_W_tower(x, y, lev) /* is of `lev' inside the Wizard's tower? */ | ^ dungeon.c:1398:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1398 | In_hell(lev) /* are you in one of the Hell levels? */ | ^ dungeon.c:1408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1408 | find_hell(lev) /* sets *lev to be the gateway to Gehennom... */ | ^ dungeon.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | goto_hell(at_stairs, falling) /* go directly to hell... */ | ^ dungeon.c:1426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1426 | assign_level(dest, src) /* equivalent to dest = source */ | ^ dungeon.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 | assign_rnd_level(dest, src, range) /* dest = src + rn1(range) */ | ^ dungeon.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 | induced_align(pct) | ^ dungeon.c:1471:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1471 | Invocation_lev(lev) | ^ dungeon.c:1497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1497 | lev_by_name(nam) | ^ dungeon.c:1565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1565 | br_string(type) | ^ dungeon.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | print_branch(win, dnum, lower_bound, upper_bound, bymenu, lchoices) | ^ dungeon.c:1618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1618 | print_dungeon(bymenu, rlev, rdgn) | ^ 60 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c eat.c In file included from eat.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ eat.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | is_edible(obj) | ^ eat.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 | food_xname(food, the_pfx) | ^ eat.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | choke(food) /* To a full belly all food is bad. (It.) */ | ^ eat.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 | touchfood(otmp) | ^ eat.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 | food_disappears(obj) | ^ eat.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 | food_substitution(old_obj, new_obj) | ^ eat.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | done_eating(message) | ^ eat.c:474:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 474 | if (message) pline(nomovemsg); | ^~~~~~~~~ eat.c:474:22: note: treat the string as an argument to avoid this 474 | if (message) pline(nomovemsg); | ^ | "%s", eat.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 | maybe_cannibal(pm, allowmsg) | ^ 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 | cprefx(pm) | ^ eat.c:595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 595 | bite_monster(mon) | ^ eat.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 | intrinsic_possible(type, ptr) | ^ eat.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | givit(type, ptr) | ^ eat.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | cpostfx(pm) /* called after completely consuming a corpse */ | ^ eat.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | costly_tin(verb) | ^ eat.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 | start_tin(otmp) /* called when starting to open a tin */ | ^ eat.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | rottenfood(obj) | ^ eat.c:1446:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1446 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:1446:20: note: treat the string as an argument to avoid this 1446 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ eat.c:1479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1479 | eatcorpse(otmp) /* called when a corpse is selected as food */ | ^ eat.c:1636:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1636 | start_eating(otmp) /* called as you start to eat */ | ^ eat.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 | fprefx(otmp) | ^ eat.c:1848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1848 | accessory_has_effect(otmp) | ^ eat.c:1856:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1856 | eataccessory(otmp) | ^ eat.c:2075:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2075 | foodword(otmp) | ^ eat.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | fpostfx(otmp) /* called after consuming (non-corpse) food */ | ^ eat.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | edibility_prompts(otmp) | ^ eat.c:2548:6: warning: converting the result of '?:' with integer constants to a boolean always evaluates to 'true' [-Wtautological-constant-compare] 2548 | (((monstermoves - otmp->age) > (int) otmp->blessed ? 50:30) && | ^ eat.c:2677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2677 | morehungry(num) /* called after vomiting and after performing feats of magic */ | ^ eat.c:2686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2686 | lesshungry(num) /* called after eating (and after drinking fruit juice) */ | ^ eat.c:2771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2771 | newuhs(incr) /* compute and comment on your (new?) hunger status */ | ^ eat.c:2913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2913 | floorfood(verb) /* get food from floor or pack */ | ^ eat.c:2966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2966 | eaten_stat(base, obj) | ^ eat.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | consume_oeaten(obj, amt) | ^ eat.c:3042:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3042 | maybe_finished_meal(stopping) | ^ 38 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c end.c In file included from end.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ end.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | done1(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ end.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | done_intr(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ end.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | done_hangup(sig) /* signal() handler */ | ^ end.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 | done_in_by(mtmp) | ^ end.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | should_query_disclose_option(category, defquery) | ^ end.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | disclose(how,taken) | ^ end.c:437:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 437 | savelife(how) | ^ end.c:467:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 467 | get_valuables(list) | ^ end.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | sort_valuables(list, size) | ^ end.c:523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 523 | artifact_score(list, counting, endwin) | ^ end.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | done(how) | ^ end.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | container_contents(list, identified, all_containers) | ^ end.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | terminate(status) | ^ end.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 | list_vanquished(defquery, ask) | ^ end.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | list_genocided(defquery, ask) | ^ 19 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c engrave.c In file included from engrave.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ engrave.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | random_engraving(outbuf) | ^ engrave.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 | wipeout_text(engr, cnt, seed) | ^ engrave.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | surface(x, y) | ^ engrave.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 | ceiling(x, y) | ^ engrave.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 | engr_at(x, y) | ^ engrave.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 | sengr_at(s, x, y) | ^ engrave.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | u_wipe_engr(cnt) | ^ engrave.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 | wipe_engr_at(x,y,cnt) | ^ engrave.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 | sense_engr_at(x,y,read_it) | ^ engrave.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 389 | make_engr_at(x,y,s,e_time,e_type) | ^ engrave.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | del_engr_at(x, y) | ^ engrave.c:984:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 984 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:984:13: note: treat the string as an argument to avoid this 984 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ engrave.c:1077:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1077 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:1077:9: note: treat the string as an argument to avoid this 1077 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ engrave.c:1194:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1194 | if (post_engr_text[0]) pline(post_engr_text); | ^~~~~~~~~~~~~~ engrave.c:1194:31: note: treat the string as an argument to avoid this 1194 | if (post_engr_text[0]) pline(post_engr_text); | ^ | "%s", engrave.c:1199:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1199 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:1199:23: note: treat the string as an argument to avoid this 1199 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ engrave.c:1206:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1206 | save_engravings(fd, mode) | ^ engrave.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | rest_engravings(fd) | ^ engrave.c:1253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1253 | del_engr(ep) | ^ engrave.c:1276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1276 | rloc_engr(ep) | ^ engrave.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | make_grave(x, y, str) | ^ 24 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c exper.c In file included from exper.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 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:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | enermod(en) | ^ exper.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 | experience(mtmp, nk) /* return # of exp points for mtmp after nk killed */ | ^ exper.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 | more_experienced(exp, rexp) | ^ exper.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | losexp(drainer,force) /* e.g., hit by drain life attack */ | ^ exper.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 | pluslvl(incr) | ^ exper.c:320:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 320 | rndexp(gaining) | ^ 11 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c explode.c In file included from explode.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ explode.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | add_location_to_explode_region(reg, x, y) | ^ explode.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | compare_explode_location(loc1, loc2) | ^ explode.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 | set_blast_symbols(reg) | ^ explode.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | free_explode_region(reg) | ^ explode.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | explode(x, y, type, dam, olet, expltype) | ^ explode.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | do_explode(x, y, area, type, dam, olet, expltype, dest, yours) | ^ explode.c:483:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 483 | else | ^ explode.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 | scatter(sx,sy,blastforce,scflags, obj) | ^ explode.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 | splatter_burning_oil(x, y) | ^ explode.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | dp(n, p) /* 0 <= dp(n, p) <= n */ | ^ explode.c:869:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 869 | grenade_fiery_callback(data, x, y) | ^ explode.c:884:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 884 | grenade_gas_callback(data, x, y) | ^ explode.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | grenade_dig_callback(data, x, y) | ^ explode.c:907:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 907 | grenade_effects(source, x, y, fiery_area, gas_area, dig_area, isyou) | ^ explode.c:947:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 947 | else | ^ explode.c:957:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] 957 | else | ^ explode.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1015 | grenade_explode(obj, x, y, isyou, dest) | ^ explode.c:1066:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1066 | void arm_bomb(obj, yours) | ^ 22 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c extralev.c In file included from extralev.c:9: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. ../util/makedefs -f cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c files.c In file included from files.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ files.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 | fname_encode(legal, quotechar, s, callerbuf, bufsz) | ^ files.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 | fname_decode(quotechar, s, callerbuf, bufsz) | ^ files.c:306:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 306 | fqname(basename, whichprefix, buffnum) | ^ files.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | validate_prefix_locations(reasonbuf) | ^ files.c:385:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 385 | fopen_datafile(filename, mode, prefix) | ^ files.c:441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | set_levelfile_name(file, lev) | ^ files.c:457:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 457 | create_levelfile(lev, errbuf) | ^ files.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 | open_levelfile(lev, errbuf) | ^ files.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | delete_levelfile(lev) | ^ files.c:672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 672 | set_bonesfile_name(file, lev) | ^ files.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | create_bonesfile(lev, bonesid, errbuf) | ^ files.c:792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 792 | commit_bonesfile(lev) | ^ files.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | open_bonesfile(lev, bonesid) | ^ files.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | delete_bonesfile(lev) | ^ files.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 | save_savefile_name(fd) | ^ files.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | free_saved_games(saved) | ^ files.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | redirect(filearea, filename, mode, stream, uncomp) | ^ files.c:1234:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1234 | docompress_file(filearea, filename, uncomp) | ^ files.c:1390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1390 | compress_area(filearea, filename) | ^ files.c:1405:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1405 | uncompress_area(filearea, filename) | ^ files.c:1437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1437 | make_lockname(filename, lockname) | ^ files.c:1473:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1473 | lock_file(filename, whichprefix, retryct) | ^ files.c:1595:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1595 | unlock_file(filename) | ^ files.c:1666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1666 | fopen_config_file(filename) | ^ files.c:1796:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1796 | get_uchars(fp, buf, bufp, list, modlist, size, name) | ^ files.c:1874:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1874 | parse_config_line(fp, buf, tmp_ramdisk, tmp_levels) | ^ files.c:2205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2205 | read_config_file(filename) | ^ files.c:2458:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2458 | check_recordfile(dir) | ^ files.c:2577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | paniclog(type, reason) | ^ 33 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c fountain.c In file included from fountain.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 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: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 | dogushforth(drinking) /* Gushing forth along LOS from (u.ux, u.uy) */ | ^ fountain.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 | gush(x, y, poolcnt) | ^ fountain.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 150 | dryup(x, y, isyou) | ^ fountain.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | dipfountain(obj) | ^ fountain.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | diptoilet(obj) | ^ fountain.c:530:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 530 | breaksink(x,y) | ^ fountain.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | breaktoilet(x,y) | ^ fountain.c:722:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 722 | whetstone_fountain_effects(obj) | ^ fountain.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 | whetstone_toilet_effects(obj) | ^ fountain.c:846:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 846 | whetstone_sink_effects(obj) | ^ 15 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c hack.c In file included from hack.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ hack.c:26:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 26 | rndmappos(x,y) /* guaranteed to return a valid coord */ | ^ hack.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | count_herbs_at(x,y, watery) | ^ hack.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | herb_can_grow_at(x,y, watery) | ^ hack.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | grow_water_herbs(herb, x,y) | ^ hack.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 | grow_herbs(herb, x,y, showmsg, update) | ^ hack.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 | water_current(x,y,dir,waterforce, showmsg, update) | ^ hack.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 | drop_ripe_treefruit(x,y,showmsg, update) | ^ hack.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 | seed_tree(x,y) | ^ hack.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 | dgn_growths(showmsg, update) | ^ hack.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | catchup_dgn_growths(mvs) | ^ hack.c:350:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 350 | revive_nasty(x, y, msg) | ^ hack.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | still_chewing(x,y) | ^ hack.c:757:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 757 | if (digtxt) You(digtxt); /* after newsym */ | ^~~~~~ hack.c:757:21: note: treat the string as an argument to avoid this 757 | if (digtxt) You(digtxt); /* after newsym */ | ^ | "%s", hack.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 | movobj(obj, ox, oy) | ^ hack.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | may_dig(x,y) | ^ hack.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | may_passwall(x,y) | ^ hack.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | bad_rock(mon,x,y) | ^ hack.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 | invocation_pos(x, y) | ^ hack.c:891:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 891 | test_move(ux, uy, dx, dy, mode) | ^ hack.c:1077:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1077 | findtravelpath(guess) | ^ hack.c:1890:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1890 | spoteffects(pick) | ^ hack.c:2004:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2004 | monstinroom(mdat,roomno) | ^ hack.c:2018:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2018 | in_rooms(x, y, typewanted) | ^ hack.c:2087:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2087 | in_town(x, y) | ^ hack.c:2111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2111 | move_update(newlev) | ^ hack.c:2153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2153 | check_special_room(newlev) | ^ hack.c:2567:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2567 | nomul(nval) | ^ hack.c:2579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2579 | unmul(msg_override) | ^ hack.c:2585:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2585 | if (*nomovemsg) pline(nomovemsg); | ^~~~~~~~~ hack.c:2585:24: note: treat the string as an argument to avoid this 2585 | if (*nomovemsg) pline(nomovemsg); | ^ | "%s", hack.c:2600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2600 | showdmg(n) | ^ hack.c:2628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2628 | losehp(n, knam, k_format) | ^ hack.c:2743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2743 | calc_capacity(xtra_wt) | ^ hack.c:2769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2769 | check_capacity(str) | ^ hack.c:2774:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2774 | pline(str); | ^~~ hack.c:2774:12: note: treat the string as an argument to avoid this 2774 | pline(str); | ^ | "%s", 38 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c hacklib.c In file included from hacklib.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # 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:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ hacklib.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | digit(c) /* is 'c' a digit? */ | ^ hacklib.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | letter(c) /* is 'c' a letter? note: '@' classed as letter */ | ^ hacklib.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | highc(c) /* force 'c' into uppercase */ | ^ hacklib.c:78:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 78 | lowc(c) /* force 'c' into lowercase */ | ^ hacklib.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 | lcase(s) /* convert a string into all lowercase */ | ^ hacklib.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 | upstart(s) /* convert first character of a string to uppercase */ | ^ hacklib.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | mungspaces(bp) | ^ hacklib.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 127 | eos(s) /* return the end of a string (pointing at '\0') */ | ^ hacklib.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | strkitten(s, c) /* append a character to a string (in place) */ | ^ hacklib.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 | s_suffix(s) /* return a name converted to possessive */ | ^ hacklib.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 | xcrypt(str, buf) /* trivial text encryption routine (see makedefs) */ | ^ hacklib.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 | onlyspace(s) /* is a string entirely whitespace? */ | ^ hacklib.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 195 | tabexpand(sbuf) /* expand tabs into proper number of spaces */ | ^ hacklib.c:217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 217 | visctrl(c) /* make a displayable string from a character */ | ^ hacklib.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | ordin(n) /* return the ordinal suffix of a number */ | ^ hacklib.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 | sitoa(n) /* make a signed digit string from a number */ | ^ hacklib.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | sgn(n) /* return the sign of a number: -1, 0, or 1 */ | ^ hacklib.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 | rounddiv(x, y) /* calculate x/y, rounding as appropriate */ | ^ hacklib.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | distmin(x0, y0, x1, y1) /* distance between two points, in moves */ | ^ hacklib.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | dist2(x0, y0, x1, y1) /* square of euclidean distance between pair of pts */ | ^ hacklib.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | online2(x0, y0, x1, y1) /* are two points lined up (on a straight line)? */ | ^ hacklib.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | pmatch(patrn, strng) /* match a string against a pattern */ | ^ hacklib.c:357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 357 | strncmpi(s1, s2, n) /* case insensitive counted string comparison */ | ^ hacklib.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | strstri(str, sub) /* case insensitive substring search */ | ^ hacklib.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | fuzzymatch(s1, s2, ignore_chars, caseblind) | ^ hacklib.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | yyyymmdd(date) | ^ 30 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c invent.c In file included from invent.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ invent.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | assigninvlet(otmp) | ^ invent.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 | merge_choice(objlist, obj) | ^ invent.c:211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 211 | merged(potmp, pobj) | ^ invent.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | addinv_core1(obj) | ^ invent.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | addinv_core2(obj) | ^ invent.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | addinv(obj) | ^ invent.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 | carry_obj_effects(mon, obj) | ^ invent.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | hold_another_object(obj, drop_fmt, drop_arg, hold_msg) | ^ invent.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | useupall(obj) | ^ invent.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 | useup(obj) | ^ invent.c:543:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 543 | consume_obj_charge(obj, maybe_unpaid) | ^ invent.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | freeinv_core(obj) | ^ invent.c:609:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 609 | freeinv(obj) | ^ invent.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 | delallobj(x, y) | ^ invent.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 | delobj(obj) | ^ invent.c:664:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 664 | sobj_at(n,x,y) | ^ invent.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | carrying(type) | ^ invent.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 | currency(amount) | ^ invent.c:710:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 710 | o_on(id, objchn) | ^ invent.c:726:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 726 | obj_here(obj, x, y) | ^ invent.c:741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 741 | g_at(x,y) | ^ invent.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | mkgoldobj(q) | ^ invent.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 774 | compactify(buf) | ^ invent.c:805:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 805 | taking_off(action) | ^ invent.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 | putting_on(action) | ^ invent.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | ugly_checks(let, word, otmp) | ^ invent.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 | allow_ugly(obj) | ^ invent.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | getobj(let,word) | ^ invent.c:1148:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1148 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1148:10: note: treat the string as an argument to avoid this 1148 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:1212:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1212 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1212:14: note: treat the string as an argument to avoid this 1212 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:1238:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1238 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1238:14: note: treat the string as an argument to avoid this 1238 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:1312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1312 | silly_thing(word, otmp) | ^ invent.c:1351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1351 | ckvalidcat(otmp) | ^ invent.c:1359:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1359 | ckunpaid(otmp) | ^ invent.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 | is_worn(otmp) | ^ invent.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | ggetobj(word, fn, mx, combo, resultflags) | ^ invent.c:1587:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1587 | askchain(objchn, olets, allflag, fn, ckfn, mx, word) | ^ invent.c:1689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1689 | fully_identify_obj(otmp) | ^ invent.c:1701:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1701 | identify(otmp) | ^ invent.c:1711:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1711 | menu_identify(id_limit) | ^ invent.c:1741:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1741 | identify_pack(id_limit) | ^ invent.c:1783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1783 | obj_to_let(obj) /* should of course only be called for things in invent */ | ^ invent.c:1802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1802 | prinv(prefix, obj, quan) | ^ invent.c:1817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1817 | xprname(obj, txt, let, dot, cost, quan) | ^ invent.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 | find_unpaid(list, last_found) | ^ invent.c:1914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1914 | display_pickinv(lets, want_reply, out_cnt) | ^ invent.c:2043:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2043 | display_inventory(lets, want_reply) | ^ invent.c:2055:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2055 | count_unpaid(list) | ^ invent.c:2074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2074 | count_buc(list, type) | ^ invent.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | this_type_only(obj) | ^ invent.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | dfeature_at(x, y, buf) | ^ invent.c:2391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2391 | look_here(obj_cnt, picked_some) | ^ invent.c:2464:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2464 | if (dfeature) pline(fbuf); | ^~~~ invent.c:2464:23: note: treat the string as an argument to avoid this 2464 | if (dfeature) pline(fbuf); | ^ | "%s", invent.c:2473:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2473 | if (dfeature) pline(fbuf); | ^~~~ invent.c:2473:26: note: treat the string as an argument to avoid this 2473 | if (dfeature) pline(fbuf); | ^ | "%s", invent.c:2480:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2480 | if (dfeature) pline(fbuf); | ^~~~ invent.c:2480:26: note: treat the string as an argument to avoid this 2480 | if (dfeature) pline(fbuf); | ^ | "%s", invent.c:2523:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2523 | will_feel_cockatrice(otmp, force_touch) | ^ invent.c:2534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2534 | feel_cockatrice(otmp, force_touch) | ^ invent.c:2556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2556 | stackobj(obj) | ^ invent.c:2568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2568 | mergable(otmp, obj) /* returns TRUE if obj & otmp can be merged */ | ^ invent.c:2779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2779 | tool_in_use(obj) | ^ invent.c:2830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2830 | useupf(obj, numused) | ^ invent.c:2885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2885 | let_to_name(let,unpaid) | ^ invent.c:2980:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2980 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2980:10: note: treat the string as an argument to avoid this 2980 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ invent.c:3026:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3026 | invdisp_nothing(hdr, txt) | ^ invent.c:3048:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3048 | worn_wield_only(obj) | ^ invent.c:3070:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3070 | display_minventory(mon, dflags, title) | ^ invent.c:3157:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3157 | display_cinventory(obj) | ^ invent.c:3186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3186 | only_here(obj) | ^ invent.c:3199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3199 | display_binventory(x, y, as_if_seen) | ^ 73 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c light.c In file included from light.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ light.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | new_light_source(x, y, range, type, id) | ^ light.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 | del_light_source(type, id) | ^ light.c:107:30: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 107 | case LS_OBJECT: tmp_id = (genericptr_t)(((struct obj *)id)->o_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ light.c:109:31: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 109 | case LS_MONSTER: tmp_id = (genericptr_t)(((struct monst *)id)->m_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ light.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | do_light_sources(cs_rows) | ^ light.c: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 | find_mid(nid, fmflags) | ^ light.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | save_light_sources(fd, mode, range) | ^ light.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | restore_light_sources(fd) | ^ light.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | relink_light_sources(ghostly) | ^ light.c:347:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 347 | if (!lookup_id_mapping((unsigned)ls->id, &nid)) | ^~~~~~~~~~~~~~~~ light.c:350:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 350 | nid = (unsigned) ls->id; | ^~~~~~~~~~~~~~~~~ light.c:375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 375 | maybe_write_ls(fd, range, write_it) | ^ light.c:414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 414 | write_ls(fd, ls) | ^ light.c:430:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 430 | ls->id = (genericptr_t)otmp->o_id; | ^~~~~~~~~~~~~~~~~~~~~~~~ light.c:437:12: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 437 | ls->id = (genericptr_t)mtmp->m_id; | ^~~~~~~~~~~~~~~~~~~~~~~~ light.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 | obj_move_light_source(src, dest) | ^ light.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | snuff_light_source(x, y) | ^ light.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 | obj_sheds_light(obj) | ^ light.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 | obj_is_burning(obj) | ^ light.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 | obj_permanent_light(obj) | ^ light.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 | obj_split_light_source(src, dest) | ^ light.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 580 | obj_merge_light_sources(src, dest) | ^ light.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 | candle_light_range(obj) | ^ 27 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c lock.c In file included from lock.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ lock.c:27:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 27 | picking_lock(x, y) | ^ lock.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | picking_at(x, y) | ^ lock.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | pick_lock(pickp) /* pick a lock with a given object */ | ^ lock.c:817:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 817 | obstructed(x,y) | ^ lock.c:933:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 933 | boxlock(obj, otmp) /* returns true if something happened */ | ^ lock.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 | doorlock(otmp,x,y) /* returns true if something happened */ | ^ lock.c:1114:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1114 | if (msg && cansee(x,y)) pline(msg); | ^~~ lock.c:1114:32: note: treat the string as an argument to avoid this 1114 | if (msg && cansee(x,y)) pline(msg); | ^ | "%s", lock.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 | chest_shatter_msg(otmp) | ^ lock.c:1178:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1178 | artifact_door(x, y) | ^ 13 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mail.c In file included from mail.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c makemon.c In file included from makemon.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ makemon.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | is_home_elemental(ptr) | ^ makemon.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | wrong_elem_type(ptr) | ^ makemon.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 | m_initgrp(mtmp, x, y, n) /* make a group just like mtmp */ | ^ makemon.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 | m_initthrow(mtmp,otyp,oquan) | ^ makemon.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | m_initweap_normal(mtmp) | ^ makemon.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 | m_initweap(mtmp) | ^ makemon.c:952:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 952 | m_initinv(mtmp) | ^ makemon.c:1210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1210 | clone_mon(mon, x, y) | ^ makemon.c:1332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1332 | propagate(mndx, tally, ghostly) | ^ makemon.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | makemon(ptr, x, y, mmflags) | ^ makemon.c:1720:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1720 | mbirth_limit(mndx) | ^ makemon.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | create_critters(cnt, mptr) | ^ makemon.c:1769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1769 | uncommon(mndx) | ^ makemon.c:1786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | align_shift(ptr) | ^ makemon.c:1932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1932 | reset_rndmonst(mndx) | ^ makemon.c:1955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1955 | mkclass(class,spc) | ^ makemon.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | pm_mkclass(class,spc) | ^ makemon.c:2029:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2029 | adj_lev(ptr) /* adjust strength of monsters based on u.uz and u.ulevel */ | ^ makemon.c:2060:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2060 | grow_up(mtmp, victim) /* `mtmp' might "grow up" into a bigger version */ | ^ makemon.c:2167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2167 | mongets(mtmp, otyp) | ^ makemon.c:2238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2238 | golemhp(type) | ^ makemon.c:2276:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2276 | peace_minded(ptr) | ^ makemon.c:2329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2329 | set_malign(mtmp) | ^ makemon.c:2391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2391 | set_mimic_sym(mtmp) /* KAA, modified by ERS */ | ^ makemon.c:2503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2503 | bagotricks(bag) | ^ makemon.c:2509:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2509 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:2509:8: note: treat the string as an argument to avoid this 2509 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ 30 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mapglyph.c In file included from mapglyph.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mapglyph.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mapglyph.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | mapglyph(glyph, ochar, ocolor, ospecial, x, y) | ^ 5 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mcastu.c In file included from mcastu.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mcastu.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | cursetxt(mtmp, undirected) | ^ mcastu.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | choose_magic_spell(spellval) | ^ mcastu.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | choose_clerical_spell(spellnum) | ^ mcastu.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | castmu(mtmp, mattk, thinks_it_foundyou, foundyou) | ^ mcastu.c:395:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 395 | cast_wizard_spell(mtmp, dmg, spellnum) | ^ mcastu.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | cast_cleric_spell(mtmp, dmg, spellnum) | ^ mcastu.c:695:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 695 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mcastu.c:695:23: note: treat the string as an argument to avoid this 695 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ mcastu.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | is_undirected_spell(adtyp, spellnum) | ^ mcastu.c:800:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 800 | spell_would_be_useless(mtmp, adtyp, spellnum) | ^ mcastu.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 | buzzmu(mtmp, mattk) /* monster uses spell (ranged) */ | ^ 14 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mhitm.c In file included from mhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mhitm.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 | mon_nam_too(outbuf, mon, other_mon) | ^ mhitm.c:62:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 62 | noises(magr, mattk) | ^ mhitm.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 | missmm(magr, mdef, target, roll, mattk) | ^ mhitm.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 | fightm(mtmp) /* have monsters fight each other */ | ^ mhitm.c:232:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 232 | mattackm(magr, mdef) | ^ mhitm.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 | breamm(magr, mdef, mattk) | ^ mhitm.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | spitmm(magr, mdef, mattk) | ^ mhitm.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | thrwmm(magr, mdef) | ^ mhitm.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 | hitmm(magr, mdef, mattk) | ^ mhitm.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 | gazemm(magr, mdef, mattk) | ^ mhitm.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | gulpmm(magr, mdef, mattk) | ^ mhitm.c:913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 913 | explmm(magr, mdef, mattk) | ^ mhitm.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | mdamagem(magr, mdef, mattk) | ^ mhitm.c:1837:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1837 | noattacks(ptr) /* returns 1 if monster doesn't attack */ | ^ mhitm.c:1850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1850 | sleep_monst(mon, amt, how) | ^ mhitm.c:1872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1872 | slept_monst(mon) | ^ mhitm.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | mrustm(magr, mdef, obj) | ^ mhitm.c:1923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1923 | mswingsm(magr, mdef, otemp) | ^ mhitm.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | passivemm(magr,mdef,mhit,mdead) | ^ mhitm.c:2101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | attk_protection(aatyp) | ^ 24 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mhitu.c In file included from mhitu.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mhitu.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | hitmsg(mtmp, mattk) | ^ mhitu.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | missmu(mtmp, target, roll, mattk) /* monster missed you */ | ^ mhitu.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | mswings(mtmp, otemp) /* monster swings obj */ | ^ mhitu.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 | mpoisons_subj(mtmp, mattk) | ^ mhitu.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | wildmiss(mtmp, mattk) /* monster attacked your displaced image */ | ^ mhitu.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | expels(mtmp, mdat, message) | ^ mhitu.c:352:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 352 | getmattk(mptr, indx, prev_result, alt_attk_buf) | ^ mhitu.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | blue_on_blue(mtmp) | ^ mhitu.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | mattacku(mtmp) | ^ mhitu.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | hurtarmor(attk) | ^ mhitu.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 908 | diseasemu(mdat) | ^ mhitu.c:923:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 923 | u_slip_free(mtmp, mattk) | ^ mhitu.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 | magic_negation(mon) | ^ mhitu.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | hitmu(mtmp, mattk) | ^ mhitu.c:1318:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1318 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:1318:24: note: treat the string as an argument to avoid this 1318 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ mhitu.c:1980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | gulpmu(mtmp, mattk) /* monster swallows you, or damage if u.uswallow */ | ^ mhitu.c:2115:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2115 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:2115:25: note: treat the string as an argument to avoid this 2115 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ mhitu.c:2182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2182 | explmu(mtmp, mattk, ufound) /* monster explodes in your face */ | ^ mhitu.c:2231:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2231 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:2231:21: note: treat the string as an argument to avoid this 2231 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ mhitu.c:2266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2266 | gazemu(mtmp, mattk) /* monster gazes at you */ | ^ mhitu.c:2358:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2358 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:2358:24: note: treat the string as an argument to avoid this 2358 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ mhitu.c:2529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2529 | mdamageu(mtmp, n) /* mtmp hits you for n points damage */ | ^ mhitu.c:2572:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2572 | urustm(mon, obj) | ^ mhitu.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | could_seduce(magr,mdef,mattk) | ^ mhitu.c:2667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2667 | doseduce(mon) | ^ mhitu.c:2929:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2929 | mayberem(obj, str) | ^ mhitu.c:2967:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2967 | passiveum(olduasmon,mtmp,mattk) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c minion.c In file included from minion.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ minion.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | msummon(mon) /* mon summons a monster */ | ^ minion.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 | summon_minion(alignment, talk) | ^ minion.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 | demon_talk(mtmp) /* returns 1 if it won't attack. */ | ^ minion.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | bribe(mtmp) | ^ minion.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | dprince(atyp) | ^ minion.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | dlord(atyp) | ^ minion.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 378 | ndemon(atyp) | ^ 11 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mklev.c In file included from mklev.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mklev.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 | do_comp(vx,vy) | ^ mklev.c:81:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 81 | finddpos(cc, xl,yl,xh,yh) | ^ mklev.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) | ^ mklev.c:192:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 192 | add_room(lowx, lowy, hix, hiy, lit, rtype, special) | ^ mklev.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 | add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special) | ^ mklev.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 | join(a,b,nxcor) | ^ mklev.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 | add_door(x,y,aroom) | ^ mklev.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 | dosdoor(x,y,aroom,type) | ^ mklev.c:445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 445 | place_niche(aroom,dy,xx,yy) | ^ mklev.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | makeniche(trap_type) | ^ mklev.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | topologize(croom) | ^ mklev.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1080 | find_branch_room(mp) | ^ mklev.c:1110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1110 | pos_to_room(x, y) | ^ mklev.c:1124:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1124 | place_branch(br, x, y) | ^ mklev.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | bydoor(x, y) | ^ mklev.c:1208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1208 | okdoor(x,y) | ^ mklev.c:1218:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1218 | dodoor(x,y,aroom) | ^ mklev.c:1231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | occupied(x, y) | ^ mklev.c:1245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1245 | mktrap(num, mazeflag, croom, tm) | ^ mklev.c:1335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1335 | mkstairs(x, y, up, croom) | ^ mklev.c:1370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1370 | mkfount(mazeflag,croom) | ^ mklev.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 | mksink(croom) | ^ mklev.c:1415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1415 | mktoilet(croom) | ^ mklev.c:1435:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1435 | mkaltar(croom) | ^ mklev.c:1459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1459 | mkgrave(croom) | ^ mklev.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 | mkinvpos(x,y,dist) | ^ mklev.c:1632:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1632 | mk_knox_portal(x, y) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mkmap.c In file included from mkmap.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mkmap.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | init_map(bg_typ) | ^ mkmap.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 | init_fill(bg_typ, fg_typ) | ^ mkmap.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 | get_map(col,row, bg_typ) | ^ mkmap.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 73 | pass_one(bg_typ, fg_typ) | ^ mkmap.c:107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | pass_two(bg_typ, fg_typ) | ^ mkmap.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | pass_three(bg_typ, fg_typ) | ^ mkmap.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 | flood_fill_rm(sx, sy, rmno, lit, anyroom) | ^ mkmap.c:269:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 269 | join_map(bg_typ, fg_typ) | ^ mkmap.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | finish_map(fg_typ, bg_typ, lit, walled) | ^ mkmap.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | remove_rooms(lx, ly, hx, hy) | ^ mkmap.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | remove_room(roomno) | ^ mkmap.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 | mkmap(init_lev) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mkmaze.c In file included from mkmaze.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mkmaze.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | iswall(x,y) | ^ mkmaze.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | iswall_or_stone(x,y) | ^ mkmaze.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | is_solid(x,y) | ^ mkmaze.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | extend_spine(locale, wall_there, dx, dy) | ^ mkmaze.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | wallify_special(x1, y1, x2, y2, floortype) | ^ mkmaze.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 | wallify_stone(x1, y1, x2, y2) /* [Lethe] Classic stone walls */ | ^ mkmaze.c:241:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 241 | wallification(x1, y1, x2, y2, initial) | ^ mkmaze.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 | okay(x,y,dir) | ^ mkmaze.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | maze0xy(cc) /* find random starting point for maze generation */ | ^ mkmaze.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 | bad_location(x, y, lx, ly, hx, hy) | ^ mkmaze.c:312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 312 | place_lregion(lx, ly, hx, hy, nlx, nly, nhx, nhy, rtype, lev) | ^ mkmaze.c:358:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 358 | put_lregion_here(x,y,nlx,nly,nhx,nhy,rtype,oneshot,lev) | ^ mkmaze.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 | makemaz(s) | ^ mkmaze.c:791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 791 | walkfrom(x,y) | ^ mkmaze.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | move(x,y,dir) | ^ mkmaze.c:840:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 840 | mazexy(cc) /* find random point in generated corridors, | ^ mkmaze.c:965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 965 | mkportal(x, y, todnum, todlevel) | ^ mkmaze.c:1175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1175 | save_waterlevel(fd, mode) | ^ mkmaze.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 | restore_waterlevel(fd) | ^ mkmaze.c:1231:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1231 | const char *waterbody_name(x, y) | ^ mkmaze.c:1311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1311 | mk_bubble(x,y,n) | ^ mkmaze.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | mv_bubble(b,dx,dy,ini) | ^ 26 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mkobj.c In file included from mkobj.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mkobj.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 | mkobj_at(let, x, y, artif) | ^ mkobj.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 | mksobj_at(otyp, x, y, init, artif) | ^ mkobj.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | mkobj(oclass, artif) | ^ mkobj.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 | mkbox_cnts(box) | ^ mkobj.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 | splitobj(obj, num) | ^ mkobj.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 | replace_object(obj, otmp) | ^ mkobj.c:361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 361 | bill_dummy_object(otmp) | ^ mkobj.c:401:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | mksobj(otyp, init, artif) | ^ mkobj.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 | start_corpse_timeout(body) | ^ mkobj.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | bless(otmp) | ^ mkobj.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | unbless(otmp) | ^ mkobj.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 | curse(otmp) | ^ mkobj.c:895:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 895 | uncurse(otmp) | ^ mkobj.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | blessorcurse(otmp, chance) | ^ mkobj.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | bcsign(otmp) | ^ mkobj.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | weight(obj) | ^ mkobj.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | rnd_treefruit_at(x,y) | ^ mkobj.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | mkgold(amount, x, y) | ^ mkobj.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | mkcorpstat(objtype, mtmp, ptr, x, y, init) | ^ mkobj.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | obj_attach_mid(obj, mid) | ^ mkobj.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | save_mtraits(obj, mtmp) | ^ mkobj.c:1160:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1160 | get_mtraits(obj, copyof) | ^ mkobj.c:1189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1189 | mk_tt_object(objtype, x, y) | ^ mkobj.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 | mk_named_object(objtype, ptr, x, y, nm) | ^ mkobj.c:1223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1223 | is_flammable(otmp) | ^ mkobj.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | is_rottable(otmp) | ^ mkobj.c:1255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1255 | place_object(otmp, x, y) | ^ mkobj.c:1295:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1295 | obj_ice_effects(x, y, do_buried) | ^ mkobj.c:1321:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1321 | peek_at_iced_corpse_age(otmp) | ^ mkobj.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | obj_timer_checks(otmp, x, y, force) | ^ mkobj.c:1418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1418 | remove_object(otmp) | ^ mkobj.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 | discard_minvent(mtmp) | ^ mkobj.c:1477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1477 | obj_extract_self(obj) | ^ mkobj.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 | extract_nobj(obj, head_ptr) | ^ mkobj.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 | extract_nexthere(obj, head_ptr) | ^ mkobj.c:1582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1582 | add_to_minv(mon, obj) | ^ mkobj.c:1608:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1608 | add_to_container(container, obj) | ^ mkobj.c:1630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1630 | add_to_migration(obj) | ^ mkobj.c:1642:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1642 | add_to_buried(obj) | ^ mkobj.c:1655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1655 | container_weight(container) | ^ mkobj.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | dealloc_obj(obj) | ^ mkobj.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 | where_name(where) | ^ mkobj.c:1816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1816 | check_contained(container, mesg) | ^ 47 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mkroom.c In file included from mkroom.c:16: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mkroom.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 38 | isbig(sroom) | ^ mkroom.c:47:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 47 | mkroom(roomtype) | ^ mkroom.c: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 | pick_room(strict) | ^ mkroom.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | mkzoo(type) | ^ mkroom.c:251:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 251 | fill_zoo(sroom) | ^ mkroom.c:477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 477 | mkundead(mm, revive_corpses, mm_flags) | ^ mkroom.c:601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 601 | shrine_pos(roomno) | ^ mkroom.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | nexttodoor(sx,sy) | ^ mkroom.c:652:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 652 | has_dnstairs(sroom) | ^ mkroom.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | has_upstairs(sroom) | ^ mkroom.c:677:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 677 | somex(croom) | ^ mkroom.c:684:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 684 | somey(croom) | ^ mkroom.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 | inside_room(croom, x, y) | ^ mkroom.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 700 | somexy(croom, c) | ^ mkroom.c:758:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 758 | search_special(type) | ^ mkroom.c:845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 845 | save_room(fd, r) | ^ mkroom.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | save_rooms(fd) | ^ mkroom.c:877:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 877 | rest_room(fd, r) | ^ mkroom.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | rest_rooms(fd) | ^ 23 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mon.c In file included from mon.c:10: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mon.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | undead_to_corpse(mndx) | ^ mon.c:99:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 99 | genus(mndx, mode) | ^ mon.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | pm_to_cham(mndx) | ^ mon.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | make_corpse(mtmp) | ^ mon.c:484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 484 | minliquid(mtmp) | ^ mon.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | mcalcmove(mon) | ^ mon.c:764:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 764 | meatmetal(mtmp) | ^ mon.c:855:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | meatcorpse(mtmp) | ^ mon.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | meatobj(mtmp) /* for gelatinous cubes */ | ^ mon.c:973:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 973 | mpickgold(mtmp) | ^ mon.c:1000:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1000 | mpickstuff(mtmp, str) | ^ mon.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 | curr_mon_load(mtmp) | ^ mon.c:1061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1061 | max_mon_load(mtmp) | ^ mon.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | can_carry(mtmp,otmp) | ^ mon.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 | mfndpos(mon, poss, info, flag) | ^ mon.c:1361:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1361 | mm_aggression(magr, mdef) | ^ mon.c:1393:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1393 | monnear(mon, x, y) | ^ mon.c:1431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1431 | replmon(mtmp, mtmp2) | ^ mon.c:1466:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] 1466 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:1466:20: note: place parentheses around the assignment to silence this warning 1466 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { | ^ | ( ) mon.c:1466:20: note: use '==' to turn this assignment into an equality comparison 1466 | if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { | ^ | == mon.c:1484:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1484 | relmon(mon) | ^ mon.c:1503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1503 | m_detach(mtmp, mptr) | ^ mon.c:1526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1526 | mlifesaver(mon) | ^ mon.c:1539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1539 | lifesaved_monster(mtmp) | ^ mon.c:1586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1586 | unpoly_monster(mtmp) | ^ mon.c:1592:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1592 | sprintf(buf, Monnam(mtmp)); | ^~~~~~~~~~~~ mon.c:1592:15: note: treat the string as an argument to avoid this 1592 | sprintf(buf, Monnam(mtmp)); | ^ | "%s", mon.c:1616:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1616 | mondead(mtmp) | ^ mon.c:1713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1713 | corpse_chance(mon, magr, was_swallowed) | ^ mon.c:1799:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1799 | mondied(mdef) | ^ mon.c:1812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1812 | mongone(mdef) | ^ mon.c:1835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1835 | monstone(mdef) | ^ mon.c:1922:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1922 | monkilled(mdef, fltxt, how) | ^ mon.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 | mon_xkilled(mdef, fltxt, how) | ^ mon.c:1980:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1980 | unstuck(mtmp) | ^ mon.c:1998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | killed(mtmp) | ^ mon.c:2006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | xkilled(mtmp, dest) | ^ mon.c:2180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2180 | mon_to_stone(mtmp) | ^ mon.c:2203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2203 | mnexto(mtmp) /* Make monster mtmp next to you (if possible) */ | ^ mon.c:2229:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2229 | mnearto(mtmp,x,y,move_other) | ^ mon.c:2280:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2280 | poisontell(typ) | ^ mon.c:2288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2288 | poisoned(string, typ, pname, fatal) | ^ mon.c:2349:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2349 | m_respond(mtmp) | ^ mon.c:2381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2381 | setmangry(mtmp) | ^ mon.c:2445:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2445 | wakeup(mtmp) | ^ mon.c:2475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2475 | wake_nearto(x, y, distance) | ^ mon.c:2489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2489 | seemimic(mtmp) | ^ mon.c:2557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2557 | restore_cham(mon) | ^ mon.c:2577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | restrap(mtmp) | ^ mon.c:2601:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2601 | mon_animal_list(construct) | ^ mon.c:2634:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2634 | select_newcham_form(mon) | ^ mon.c:2677:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2677 | if (tries==5) pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:2677:23: note: treat the string as an argument to avoid this 2677 | if (tries==5) pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ mon.c:2690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2690 | newcham(mtmp, mdat, polyspot, msg) | ^ mon.c:2949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2949 | can_be_hatched(mnum) | ^ mon.c:2971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2971 | egg_type_from_parent(mnum, force_ordinary) | ^ mon.c:2985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2985 | dead_species(m_idx, egg) | ^ mon.c:3005:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3005 | kill_eggs(obj_list) | ^ mon.c:3082:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3082 | golemeffects(mon, damtype, dam) | ^ mon.c:3112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3112 | angry_guards(silent) | ^ mon.c:3167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3167 | mimic_hit_msg(mtmp, otyp) | ^ 62 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mondata.c In file included from mondata.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mondata.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | set_mon_data(mon, ptr, flag) | ^ mondata.c:33:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 33 | attacktype_fordmg(ptr, atyp, dtyp) | ^ mondata.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 | attacktype(ptr, atyp) | ^ mondata.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | poly_when_stoned(ptr) | ^ mondata.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 | resists_drli(mon) /* returns TRUE if monster is drain-life resistant */ | ^ mondata.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 | resists_magm(mon) /* TRUE if monster is magic-missile resistant */ | ^ mondata.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 | resists_blnd(mon) | ^ mondata.c:136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 136 | can_blnd(magr, mdef, aatyp, obj) | ^ mondata.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | ranged_attk(ptr) /* returns TRUE if monster can attack at range */ | ^ mondata.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 | passes_bars(mptr) | ^ mondata.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | can_track(ptr) /* returns TRUE if monster can track well */ | ^ mondata.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | sliparm(ptr) /* creature will slide out of armor */ | ^ mondata.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 | breakarm(ptr) /* creature will break out of armor */ | ^ mondata.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 | sticks(ptr) /* creature sticks other creatures it hits */ | ^ mondata.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 297 | num_horns(ptr) | ^ mondata.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 318 | dmgtype_fromattack(ptr, dtyp, atyp) | ^ mondata.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | dmgtype(ptr, dtyp) | ^ mondata.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | max_passive_dmg(mdef, magr) | ^ mondata.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 | monsndx(ptr) /* return an index into the mons array */ | ^ mondata.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 394 | name_to_mon(in_str) | ^ mondata.c:516:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 516 | gender(mtmp) | ^ mondata.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 | pronoun_gender(mtmp) | ^ mondata.c:539:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 539 | levl_follower(mtmp) | ^ mondata.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | little_to_big(montype) | ^ mondata.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 657 | big_to_little(montype) | ^ mondata.c:673:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 673 | raceptr(mtmp) | ^ mondata.c:689:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 689 | locomotion(ptr, def) | ^ mondata.c:709:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 709 | stagger(ptr, def) | ^ mondata.c:730:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 730 | on_fire(mptr, mattk) | ^ 33 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c monmove.c In file included from monmove.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ monmove.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 | mb_trapped(mtmp) | ^ monmove.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 | watch_on_duty(mtmp) | ^ monmove.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 | dochugw(mtmp) | ^ monmove.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 | onscary(x, y, mtmp) | ^ monmove.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | mon_regen(mon, digest_meal) | ^ monmove.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 | disturb(mtmp) | ^ monmove.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 | monflee(mtmp, fleetime, first, fleemsg) | ^ monmove.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | distfleeck(mtmp,inrange,nearby,scared) | ^ monmove.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | m_arrival(mon) | ^ monmove.c:338:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | dochug(mtmp) | ^ monmove.c:637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 637 | itsstuck(mtmp) | ^ monmove.c:654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 654 | m_move(mtmp, after) | ^ monmove.c:1297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1297 | closed_door(x, y) | ^ monmove.c:1305:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1305 | accessible(x, y) | ^ monmove.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 | set_apparxy(mtmp) | ^ monmove.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | can_ooze(mtmp) | ^ monmove.c:1444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1444 | bust_door_breath(mtmp) | ^ 21 warnings generated. ./makedefs -m cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c monstr.c In file included from monstr.c:2: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from monstr.c:2: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mplayer.c In file included from mplayer.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mplayer.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 | get_mplname(mtmp, nam) | ^ mplayer.c:92:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 92 | mk_mplayer_armor(mon, typ) | ^ mplayer.c:112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 112 | mk_mplayer(ptr, x, y, special) | ^ mplayer.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | create_mplayers(num, special) | ^ mplayer.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | mplayer_talk(mtmp) | ^ 9 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c mthrowu.c In file included from mthrowu.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ mthrowu.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 37 | thitu(tlev, dam, obj, name) | ^ mthrowu.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 | drop_throw(mon, obj, ohit, x, y) | ^ mthrowu.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | ohitmon(mon, mtmp, otmp, range, verbose) | ^ mthrowu.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | m_throw(mon, x, y, dx, dy, range, obj) | ^ mthrowu.c:536:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 536 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mthrowu.c:536:20: note: treat the string as an argument to avoid this 536 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ mthrowu.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | m_useup(mon, obj) | ^ mthrowu.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | thrwmu(mtmp) | ^ mthrowu.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | spitmu(mtmp, mattk) /* monster spits substance at you */ | ^ mthrowu.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | breamu(mtmp, mattk) /* monster breathes at you (ranged) */ | ^ mthrowu.c:814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 814 | breamspot(mtmp, mattk, ax, ay) | ^ mthrowu.c:841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 841 | linedup(ax, ay, bx, by) | ^ mthrowu.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | lined_up(mtmp) /* is mtmp in position to use ranged attack? */ | ^ mthrowu.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | m_carrying(mtmp, type) | ^ mthrowu.c:886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 886 | hits_bars(obj_p, x, y, always_hit, whodidit) | ^ 18 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c muse.c In file included from muse.c:9: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ muse.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 | precheck(mon, obj) | ^ muse.c:84:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 84 | if (vis) pline(empty); | ^~~~~ muse.c:84:19: note: treat the string as an argument to avoid this 84 | if (vis) pline(empty); | ^ | "%s", muse.c:107:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 107 | if (vis) pline(empty); | ^~~~~ muse.c:107:22: note: treat the string as an argument to avoid this 107 | if (vis) pline(empty); | ^ | "%s", muse.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 | mzapmsg(mtmp, otmp, self) | ^ muse.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 | mreadmsg(mtmp, otmp) | ^ muse.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 | mquaffmsg(mtmp, otmp) | ^ muse.c:260:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | find_defensive(mtmp) | ^ muse.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | use_defensive(mtmp) | ^ muse.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | rnd_defensive_item(mtmp) | ^ muse.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1058 | find_offensive(mtmp) | ^ muse.c:1221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1221 | mbhitm(mtmp, otmp) | ^ muse.c:1329:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1329 | mbhit(mon,range,fhitm,fhito,obj) | ^ muse.c:1420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1420 | use_offensive(mtmp) | ^ muse.c:1690:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1690 | rnd_offensive_item(mtmp) | ^ muse.c:1740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1740 | find_misc(mtmp) | ^ muse.c:1876:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1876 | use_misc(mtmp) | ^ muse.c:2078:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2078 | you_aggravate(mtmp) | ^ muse.c:2103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2103 | rnd_misc_item(mtmp) | ^ muse.c:2139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2139 | searches_for_item(mon, obj) | ^ muse.c:2231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2231 | mon_reflects(mon,str) | ^ muse.c:2281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2281 | ureflects (fmt, str) | ^ muse.c:2323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2323 | munstone(mon, by_you) | ^ muse.c:2344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2344 | mon_consume_unstone(mon, obj, by_you, stoning) | ^ 27 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c music.c In file included from music.c:29: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ music.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | awaken_monsters(distance) | ^ music.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | put_monsters_to_sleep(distance) | ^ music.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | charm_snakes(distance) | ^ music.c: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 | calm_nymphs(distance) | ^ music.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 | charm_monsters(distance) | ^ music.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | do_earthquake(force) | ^ music.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | do_improvisation(instr) | ^ music.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | do_play_instrument(instr) | ^ 12 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c o_init.c In file included from o_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ o_init.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 | setgemprobs(dlev) | ^ o_init.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | shuffle(o_low, o_high, domaterial) | ^ o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] 191 | if(sum != sum) | ^ o_init.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 | savenames(fd, mode) | ^ o_init.c:310:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 310 | restnames(fd) | ^ o_init.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 | discover_object(oindx, mark_as_known, credit_hero) | ^ o_init.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 | undiscover_object(oindx) | ^ o_init.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 | interesting_to_discover(i) | ^ 12 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c objnam.c In file included from objnam.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ objnam.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 | strprepend(s,pref) | ^ objnam.c:94:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 94 | obj_typename(otyp) | ^ objnam.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | simple_typename(otyp) | ^ objnam.c:188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 188 | obj_is_pname(obj) | ^ objnam.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | distant_name(obj, func) | ^ objnam.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 | fruitname(juice) | ^ objnam.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 | xname2(obj) | ^ objnam.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 | xname(obj) | ^ objnam.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | mshot_xname(obj) | ^ objnam.c:551:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 551 | the_unique_obj(obj) | ^ objnam.c:564:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 564 | add_erosion_words(obj,prefix) | ^ objnam.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | doname(obj) | ^ objnam.c:914:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 914 | not_fully_identified(otmp) | ^ objnam.c:950:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 950 | corpse_xname(otmp, ignore_oquan) | ^ objnam.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 | cxname(obj) | ^ objnam.c:977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 977 | killer_xname(obj) | ^ objnam.c:1017:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1017 | killer_cxname(obj, ignore_oquan) | ^ objnam.c:1040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1040 | singular(otmp, func) | ^ objnam.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 | an(str) | ^ objnam.c:1096:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1096 | An(str) | ^ objnam.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | the(str) | ^ objnam.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | The(str) | ^ objnam.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 | aobjnam(otmp,verb) | ^ objnam.c:1187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1187 | Tobjnam(otmp, verb) | ^ objnam.c:1202:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1202 | otense(otmp, verb) | ^ objnam.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | vtense(subj, verb) | ^ objnam.c:1331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1331 | Doname2(obj) | ^ objnam.c:1342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1342 | yname(obj) | ^ objnam.c:1354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1354 | Yname2(obj) | ^ objnam.c:1368:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1368 | ysimple_name(obj) | ^ objnam.c:1380:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1380 | Ysimple_name2(obj) | ^ objnam.c:1416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1416 | makeplural(oldstr) | ^ objnam.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 | makesingular(oldstr) | ^ objnam.c:1809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1809 | wishymatch(u_str, o_str, retry_inverted) | ^ objnam.c:1984:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1984 | readobjnam(bp, no_wish, from_user) | ^ objnam.c:3074:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3074 | rnd_class(first,last) | ^ objnam.c:3093:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3093 | Japanese_item_name(i) | ^ objnam.c:3107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3107 | cloak_simple_name(cloak) | ^ objnam.c:3131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3131 | mimic_obj_name(mtmp) | ^ 43 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c options.c In file included from options.c:13: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ options.c:521:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 521 | match_optname(user_string, opt_name, min_length, val_allowed) | ^ options.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | nh_getenv(ev) | ^ options.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 | nmcpy(dest, src, maxlen) | ^ options.c:713:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 713 | escapes(cp, tp) | ^ options.c:769:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 769 | rejectoption(optname) | ^ options.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | badoption(opts) | ^ options.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 | badauthoption(opts) | ^ options.c:812:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 812 | badtileoption(opts) | ^ options.c:820:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 820 | string_for_opt(opts, val_optional) | ^ options.c:838:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 838 | string_for_auth_opt(opts, val_optional) | ^ options.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | string_for_tile_opt(opts, val_optional) | ^ options.c:858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 858 | string_for_env_opt(optname, opts, val_optional) | ^ options.c:871:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 871 | bad_negation(optname, with_parameter) | ^ options.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 | change_inv_order(op) | ^ options.c:928:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 928 | graphics_opts(opts, optype, maxlen, offset) | ^ options.c:949:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 949 | warning_opts(opts, optype) | ^ options.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | assign_warnings(graph_chars) | ^ options.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 | feature_alert_opts(op, optn) | ^ options.c:1012:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1012 | set_duplicate_opt_detection(on_or_off) | ^ options.c:1041:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1041 | duplicate_opt_detection(opts, bool_or_comp) | ^ options.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 | add_menu_coloring(str) | ^ options.c:1213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1213 | parseoptions(opts, tinitial, tfrom_file) | ^ options.c:2577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | parseauthopt(opts) | ^ options.c:2624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2624 | parseauthentication(opts) | ^ options.c:2645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2645 | parsetilesetopt(opts) | ^ options.c:2707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2707 | parsetileset(opts) | ^ options.c:2759:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2759 | oc_to_str(src,dest) | ^ options.c:2778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2778 | add_menu_cmd_alias(from_ch, to_ch) | ^ options.c:2797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2797 | map_menu_cmd(ch) | ^ options.c:2819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2819 | doset_add_menu(win, option, indexoffset) | ^ options.c:3022:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3022 | special_handling(optname, setinitial, setfromfile) | ^ options.c:3378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3378 | get_compopt_value(optname, buf) | ^ options.c:3845:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3845 | next_opt(datawin, str) | ^ options.c:3883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3883 | fruitadd(str) | ^ options.c:3985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3985 | choose_classes_menu(prompt, category, way, class_list, class_select) | ^ options.c:4114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4114 | set_option_mod_status(optnam, status) | ^ options.c:4147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4147 | set_wc_option_mod_status(optmask, status) | ^ options.c:4166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4166 | is_wc_option(optnam) | ^ options.c:4179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4179 | wc_supported(optnam) | ^ options.c:4203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4203 | set_wc2_option_mod_status(optmask, status) | ^ options.c:4222:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4222 | is_wc2_option(optnam) | ^ options.c:4235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4235 | wc2_supported(optnam) | ^ options.c:4250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4250 | wc_set_font_name(wtype, fontname) | ^ options.c:4284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4284 | wc_set_window_colors(op) | ^ 48 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c pager.c In file included from pager.c:8: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ pager.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 24 | is_swallow_sym(c) | ^ pager.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | append_str(buf, new_str) | ^ pager.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | lookat(x, y, buf, monbuf) | ^ pager.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | checkfile(inp, pm, user_typed_name, without_asking) | ^ pager.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 482 | do_look(quick) | ^ pager.c:836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 836 | dowhatdoes_core(q, cbuf) | ^ pager.c:943:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 943 | help_menu(sel) | ^ 11 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c pickup.c In file included from pickup.c:9: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ pickup.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | simple_look(otmp, here) | ^ pickup.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 | collect_obj_classes(ilets, otmp, here, incl_gold, filter, itemcount) | ^ pickup.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 | query_classes(oclasses, one_at_a_time, everything, action, objs, | ^ pickup.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 262 | check_here(picked_some) | ^ pickup.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 | n_or_more(obj) | ^ pickup.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 | add_valid_menu_class(c) | ^ pickup.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 | all_but_uchain(obj) | ^ pickup.c:323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 323 | allow_all(obj) | ^ pickup.c:330:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 330 | allow_category(obj) | ^ pickup.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | is_worn_by_type(otmp) | ^ pickup.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | pickup(what) | ^ pickup.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 | autopick(olist, follow, pick_list) | ^ pickup.c:696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | query_objlist(qstr, olist, qflags, pick_list, how, allow) | ^ pickup.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 | query_category(qstr, olist, qflags, pick_list, how) | ^ pickup.c:959:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 959 | count_categories(olist, qflags) | ^ pickup.c:990:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 990 | carry_count(obj, container, count, telekinesis, wt_before, wt_after) | ^ pickup.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 | lift_object(obj, container, cnt_p, telekinesis) | ^ pickup.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | safe_qbuf(qbuf, padlength, planA, planB, last_resort) | ^ pickup.c:1250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | pickup_object(obj, count, telekinesis) | ^ pickup.c:1386:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1386 | pick_obj(otmp) | ^ pickup.c:1460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1460 | container_at(x, y, countem) | ^ pickup.c:1478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1478 | able_to_loot(x, y) | ^ pickup.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | mon_beside(x,y) | ^ pickup.c:1696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1696 | loot_mon(mtmp, passed_info, prev_loot) | ^ pickup.c:1756:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1756 | mbag_explodes(obj, depthin) | ^ pickup.c:1779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1779 | destroy_mbag(bomb, silent) | ^ pickup.c:1872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1872 | in_container(obj) | ^ pickup.c:2032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2032 | ck_bag(obj) | ^ pickup.c:2040:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2040 | out_container(obj) | ^ pickup.c:2120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2120 | mbag_item_gone(held, item) | ^ pickup.c:2149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2149 | observe_quantum_cat(box) | ^ pickup.c:2193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2193 | container_gone(fn) | ^ pickup.c:2201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2201 | use_container(objp, held) | ^ pickup.c:2454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2454 | menu_loot(retry, container, put_in) | ^ pickup.c:2531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2531 | in_or_out_menu(prompt, obj, outokay, inokay) | ^ 39 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c pline.c In file included from pline.c:6: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ pline.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 | You_buf(siz) | ^ pline.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 | align_str(alignment) | ^ pline.c:279:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 279 | mstatusline(mtmp) | ^ 7 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c polyself.c In file included from polyself.c:13: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ polyself.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | polyman(fmt, arg) | ^ polyself.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | polyself(forcecontrol) | ^ polyself.c:293:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 293 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:293:7: note: treat the string as an argument to avoid this 293 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ polyself.c:315:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 315 | if (tries==5) pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:315:23: note: treat the string as an argument to avoid this 315 | if (tries==5) pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ polyself.c:351:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 351 | if (tries==5) pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:351:23: note: treat the string as an argument to avoid this 351 | if (tries==5) pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ polyself.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | polymon(mntmp) /* returns 1 if polymorph successful */ | ^ polyself.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | drop_weapon(alone) | ^ polyself.c:1372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1372 | skinback(silently) | ^ polyself.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | mbodypart(mon, part) | ^ polyself.c:1501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1501 | body_part(part) | ^ polyself.c:1524:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1524 | ugolemeffects(damtype, dam) | ^ polyself.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 | armor_to_dragon(atyp) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c potion.c In file included from potion.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ potion.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 | itimeout(val) | ^ potion.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 | itimeout_incr(old, incr) | ^ potion.c:52:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 52 | set_itimeout(which, val) | ^ potion.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 61 | incr_itimeout(which, incr) | ^ potion.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 | make_confused(xtime,talk) | ^ potion.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | make_stunned(xtime,talk) | ^ potion.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 | make_sick(xtime, cause, talk, type) | ^ potion.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 | make_vomiting(xtime, talk) | ^ potion.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | make_blinded(xtime, talk) | ^ potion.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 | make_hallucinated(xtime, talk, mask) | ^ potion.c:406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 406 | dopotion(otmp) | ^ potion.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 | peffects(otmp) | ^ potion.c:1092:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1092 | healup(nhp, nxtra, curesick, cureblind) | ^ potion.c:1112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1112 | healup_mon(mtmp, nhp, nxtra, curesick, cureblind) | ^ potion.c:1129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1129 | strange_feeling(obj,txt) | ^ potion.c:1137:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1137 | pline(txt); | ^~~ potion.c:1137:9: note: treat the string as an argument to avoid this 1137 | pline(txt); | ^ | "%s", potion.c:1161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1161 | potionhit(mon, obj, your_fault) | ^ potion.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | potionbreathe(obj) | ^ potion.c:1611:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1611 | if (!Blind && !u.usleep) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1611:33: note: treat the string as an argument to avoid this 1611 | if (!Blind && !u.usleep) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ potion.c:1672:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1672 | mixtype(o1, o2) | ^ potion.c:1903:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1903 | pre_downgrade_obj(obj, used) | ^ potion.c:1921:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1921 | downgrade_obj(obj, nomagic, used) | ^ potion.c:1934:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1934 | get_wet(obj, amnesia) | ^ potion.c:2172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2172 | upgrade_obj(obj) | ^ potion.c:2782:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2782 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:2782:9: note: treat the string as an argument to avoid this 2782 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ potion.c:3156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3156 | djinni_from_bottle(obj) | ^ potion.c:3217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3217 | split_mon(mon, mtmp) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c pray.c In file included from pray.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ pray.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 | fix_worst_trouble(trouble) | ^ pray.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | god_zaps_you(resp_god) | ^ pray.c:561:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 561 | fry_by_god(resp_god) | ^ pray.c:574:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | angrygods(resp_god) | ^ pray.c:645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 645 | at_your_feet(str) | ^ pray.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | pleased(g_align) | ^ pray.c:1065:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1065 | water_prayer(bless_water) | ^ pray.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1094 | godvoice(g_align, words) | ^ pray.c:1109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1109 | gods_angry(g_align) | ^ pray.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 | gods_upset(g_align) | ^ pray.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 | consume_offering(otmp) | ^ pray.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 | god_gives_pet(alignment) | ^ pray.c:1224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1224 | offer_oracle (mtmp, otmp) | ^ pray.c:1236:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1236 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1236:9: note: treat the string as an argument to avoid this 1236 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ pray.c:1517:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1517 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1517:8: note: treat the string as an argument to avoid this 1517 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ pray.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 | can_pray(praying) | ^ pray.c:2010:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2010 | a_gname_at(x,y) /* returns the name of an altar's deity */ | ^ pray.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | align_gname(alignment) | ^ pray.c:2045:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2045 | halu_gname(alignment) | ^ pray.c:2067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2067 | align_gtitle(alignment) | ^ pray.c:2083:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2083 | altar_wrath(x, y) | ^ pray.c:2101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2101 | blocked_boulder(dx,dy) | ^ pray.c:2131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2131 | god_gives_benefit(alignment) | ^ 27 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c priest.c In file included from priest.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ priest.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 | move_special(mtmp,in_his_shop,appr,uondoor,avoid,omx,omy,gx,gy) | ^ priest.c:117:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | temple_occupied(array) | ^ priest.c:132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 132 | histemple_at(priest, x, y) | ^ priest.c:144:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 144 | pri_move(priest) | ^ priest.c:187:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 187 | priestini(lvl, sroom, sx, sy, sanctum) | ^ priest.c: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 | priestname(mon, pname) | ^ priest.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 | p_coaligned(priest) | ^ priest.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | has_shrine(pri) | ^ priest.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 | findpriest(roomno) | ^ priest.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | intemple(roomno) | ^ priest.c:378:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 378 | verbalize(msg1); | ^~~~ priest.c:378:17: note: treat the string as an argument to avoid this 378 | verbalize(msg1); | ^ | "%s", priest.c:379:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 379 | if (msg2) verbalize(msg2); | ^~~~ priest.c:379:27: note: treat the string as an argument to avoid this 379 | if (msg2) verbalize(msg2); | ^ | "%s", priest.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | priest_talk(priest) | ^ priest.c:448:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 448 | verbalize(cranky_msg[rn2(3)]); | ^~~~~~~~~~~~~~~~~~ priest.c:448:16: note: treat the string as an argument to avoid this 448 | verbalize(cranky_msg[rn2(3)]); | ^ | "%s", priest.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 | mk_roamer(ptr, alignment, x, y, peaceful) | ^ priest.c:579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 579 | reset_hostility(roamer) | ^ priest.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | in_your_sanctuary(mon, x, y) | ^ priest.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 | ghod_hitsu(priest) /* when attacking "priest" in his temple */ | ^ priest.c:828:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 828 | restpriest(mtmp, ghostly) | ^ 23 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c quest.c In file included from quest.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ quest.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | is_pure(talk) | ^ quest.c: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 | expulsion(seal) | ^ quest.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 | finish_quest(obj) | ^ quest.c:273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 273 | leader_speaks(mtmp) | ^ quest.c:326:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | prisoner_speaks (mtmp) | ^ quest.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 | quest_chat(mtmp) | ^ quest.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | quest_talk(mtmp) | ^ quest.c:379:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 379 | quest_stat_check(mtmp) | ^ 12 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c questpgr.c In file included from questpgr.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ questpgr.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | Fread(ptr, size, nitems, stream) | ^ questpgr.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 | construct_qtlist(hdr_offset) | ^ questpgr.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | quest_info(typ) | ^ questpgr.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | is_quest_artifact(otmp) | ^ questpgr.c:214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 214 | msg_in(qtm_list, msgnum) | ^ questpgr.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | convert_arg(c) | ^ questpgr.c:360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 360 | deliver_by_pline(qt_msg) | ^ questpgr.c:368:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 368 | pline(out_line); | ^~~~~~~~ questpgr.c:368:12: note: treat the string as an argument to avoid this 368 | pline(out_line); | ^ | "%s", questpgr.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 | deliver_by_window(qt_msg, how) | ^ questpgr.c:391:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | com_pager(msgnum) | ^ questpgr.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | qt_pager(msgnum) | ^ 15 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c read.c In file included from read.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ read.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | stripspe(obj) | ^ read.c:273:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 273 | if (obj->blessed) pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:273:26: note: treat the string as an argument to avoid this 273 | if (obj->blessed) pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:280:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 280 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:280:16: note: treat the string as an argument to avoid this 280 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 285 | p_glow1(otmp) | ^ read.c:293:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 293 | p_glow2(otmp,color) | ^ read.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | is_chargeable(obj) | ^ read.c:331:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 331 | recharge(obj, curse_bless) | ^ read.c:394:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 394 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:394:13: note: treat the string as an argument to avoid this 394 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:496:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 496 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:496:10: note: treat the string as an argument to avoid this 496 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:579:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 579 | } else pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:579:20: note: treat the string as an argument to avoid this 579 | } else pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:630:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 630 | forget_single_object(obj_id) | ^ read.c:662:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 662 | randomize(indices, count) | ^ read.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | forget_objects(percent) | ^ read.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | forget_map(howmuch) | ^ read.c:742:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 742 | forget_levels(percent) | ^ read.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 | forget(howmuch) | ^ read.c:830:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 830 | maybe_tame(mtmp, sobj) | ^ read.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 849 | seffects(sobj) | ^ read.c:1221:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1221 | } else setmangry(mtmp); | ^ read.c:1600:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1600 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1600:13: note: treat the string as an argument to avoid this 1600 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ read.c:1635:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1635 | set_lit(x,y,val) | ^ read.c:1648:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1648 | litroom(on,obj) | ^ read.c:1758:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1758 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1758:10: note: treat the string as an argument to avoid this 1758 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ read.c:1927:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1927 | do_genocide(how) | ^ read.c:1948:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1948 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1948:13: note: treat the string as an argument to avoid this 1948 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ read.c:2071:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2071 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:2071:9: note: treat the string as an argument to avoid this 2071 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ read.c:2076:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2076 | punish(sobj) | ^ read.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 | cant_create(mtype, revival) | ^ read.c:2191:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2191 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:2191:12: note: treat the string as an argument to avoid this 2191 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ 33 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c rect.c In file included from rect.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ rect.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 43 | get_rect_ind(r) | ^ rect.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 64 | get_rect(r) | ^ rect.c:97:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 97 | intersect(r1, r2, r3) | ^ rect.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | remove_rect(r) | ^ rect.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | add_rect(r) | ^ rect.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | split_rects(r1, r2) | ^ 10 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c region.c In file included from region.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from region.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ region.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 | inside_rect(r, x, y) | ^ region.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | inside_region(reg, x, y) | ^ region.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | create_region(rects, nrect) | ^ region.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 | add_rect_to_reg(reg, rect) | ^ region.c:174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 174 | add_mon_to_reg(reg, mon) | ^ region.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 | remove_mon_from_reg(reg, mon) | ^ region.c:219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 219 | mon_in_region(reg, mon) | ^ region.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | free_region(reg) | ^ region.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 | add_region(reg) | ^ region.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | remove_region(reg) | ^ region.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 | in_out_region(x, y) | ^ region.c:451:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 451 | pline(regions[i]->leave_msg); | ^~~~~~~~~~~~~~~~~~~~~ region.c:451:9: note: treat the string as an argument to avoid this 451 | pline(regions[i]->leave_msg); | ^ | "%s", region.c:462:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 462 | pline(regions[i]->enter_msg); | ^~~~~~~~~~~~~~~~~~~~~ region.c:462:9: note: treat the string as an argument to avoid this 462 | pline(regions[i]->enter_msg); | ^ | "%s", region.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 | m_in_out_region(mon, x, y) | ^ region.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | update_monster_region(mon) | ^ region.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | visible_region_at(x, y) | ^ region.c:607:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 607 | show_region(reg, x, y) | ^ region.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 | save_regions(fd, mode) | ^ region.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 | rest_regions(fd, ghostly) | ^ region.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | reset_region_mids(reg) | ^ region.c:879:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 879 | expire_gas_cloud(p1, p2) | ^ region.c:887:14: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 887 | damage = (int) reg->arg; | ^~~~~~~~~~~~~~ region.c:892:13: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 892 | reg->arg = (genericptr_t) damage; | ^~~~~~~~~~~~~~~~~~~~~ region.c:900:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 900 | revive_cthulhu(p1, p2) | ^ region.c:932:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | inside_gas_cloud(p1, p2) | ^ region.c:941:11: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 941 | dam = (int) reg->arg; | ^~~~~~~~~~~~~~ region.c:987:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 987 | create_cthulhu_death_cloud(x, y, radius, damage) | ^ region.c:1001:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1001 | create_gas_cloud(x, y, radius, damage) | ^ region.c:1028:18: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 1028 | cloud->arg = (genericptr_t) damage; | ^~~~~~~~~~~~~~~~~~~~~ 33 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c restore.c In file included from restore.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ restore.c:102:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 102 | inven_inuse(quietly) | ^ restore.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 | restlevchn(fd) | ^ restore.c:151:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | restdamage(fd, ghostly) | ^ restore.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 | restobjchn(fd, ghostly, frozen) | ^ restore.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 | restmonchn(fd, ghostly) | ^ restore.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 | loadfruitchn(fd) | ^ restore.c:332:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 332 | freefruitchn(flist) | ^ restore.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | ghostfruit(otmp) | ^ restore.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 | restgamestate(fd, stuckid, steedid) | ^ restore.c:480:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 480 | restlevelstate(stuckid, steedid) | ^ restore.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | restlevelfile(fd, ltmp) | ^ restore.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | dorecover(fd) | ^ restore.c:725:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 725 | trickery(reason) | ^ restore.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 | getlev(fd, pid, lev, ghostly) | ^ restore.c:780:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 780 | if (wizard) pline(trickbuf); | ^~~~~~~~ restore.c:780:24: note: treat the string as an argument to avoid this 780 | if (wizard) pline(trickbuf); | ^ | "%s", restore.c:970:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 970 | add_id_mapping(gid, nid) | ^ restore.c:995:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 995 | lookup_id_mapping(gid, nidp) | ^ restore.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | reset_oattached_mids(ghostly) | ^ restore.c:1116:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1116 | mread(fd, buf, len) | ^ 23 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c rip.c In file included from rip.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ rip.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | center(line, text) | ^ rip.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 88 | genl_outrip(tmpwin, how) | ^ 6 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c rnd.c In file included from rnd.c:4: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ rnd.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | rn2(x) /* 0 <= rn2(x) < x */ | ^ rnd.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | rnl(x) /* 0 <= rnl(x) < x; sometimes subtracting Luck */ | ^ rnd.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | rnd(x) /* 1 <= rnd(x) <= x */ | ^ rnd.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | d(n,x) /* n <= d(n,x) <= (n*x) */ | ^ rnd.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 105 | rne(x) | ^ rnd.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | rnz(i) | ^ 10 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c role.c In file included from role.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from role.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ role.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | validrole(rolenum) | ^ role.c:786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 786 | str2role(str) | ^ role.c:819:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 819 | validrace(rolenum, racenum) | ^ role.c:834:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 834 | randrace(rolenum) | ^ role.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 | mrace2race(mflags2) | ^ role.c:885:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 885 | str2race(str) | ^ role.c:915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 915 | validgend(rolenum, racenum, gendnum) | ^ role.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 926 | randgend(rolenum, racenum) | ^ role.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 | str2gend(str) | ^ role.c:983:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 983 | validalign(rolenum, racenum, alignnum) | ^ role.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 | randalign(rolenum, racenum) | ^ role.c:1020:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1020 | str2align(str) | ^ role.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | ok_role(rolenum, racenum, gendnum, alignnum) | ^ role.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | pick_role(racenum, gendnum, alignnum, pickhow) | ^ role.c:1121:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1121 | ok_race(rolenum, racenum, gendnum, alignnum) | ^ role.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | pick_race(rolenum, gendnum, alignnum, pickhow) | ^ role.c:1194:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1194 | ok_gend(rolenum, racenum, gendnum, alignnum) | ^ role.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | pick_gend(rolenum, racenum, alignnum, pickhow) | ^ role.c:1257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1257 | ok_align(rolenum, racenum, gendnum, alignnum) | ^ role.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 | pick_align(rolenum, racenum, gendnum, pickhow) | ^ role.c:1360:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1360 | promptsep(buf, num_post_attribs) | ^ role.c:1375:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1375 | role_gendercount(rolenum) | ^ role.c:1388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1388 | race_alignmentcount(racenum) | ^ role.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 | root_plselection_prompt(suppliedbuf, buflen, rolenum, racenum, gendnum, alignnum) | ^ role.c:1536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1536 | build_plselection_prompt(buf, buflen, rolenum, racenum, gendnum, alignnum) | ^ role.c:1754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1754 | Hello(mtmp) | ^ 30 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c rumors.c In file included from rumors.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ rumors.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | init_rumors(fp) | ^ rumors.c:67:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 67 | getrumor(truth, rumor_buf, exclude_cookie) | ^ rumors.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | outrumor(truth, mechanism) | ^ rumors.c:183:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 183 | init_oracles(fp) | ^ rumors.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | save_oracles(fd, mode) | ^ rumors.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 | restore_oracles(fd) | ^ rumors.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 | outoracle(special, delphi) | ^ rumors.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 | doconsult(oracl) | ^ 12 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c save.c In file included from save.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ save.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 134 | hangup(sig_unused) /* called as signal() handler, so sent at least one arg */ | ^ save.c:336:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 336 | savegamestate(fd, mode) | ^ save.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | savelev(fd,lev,mode) | ^ save.c:773:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 773 | bufon(fd) | ^ save.c:787:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 787 | bufoff(fd) | ^ save.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | bflush(fd) | ^ save.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 | bwrite(fd,loc,num) | ^ save.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | bclose(fd) | ^ save.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | savelevchn(fd, mode) | ^ save.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 | savedamage(fd, mode) | ^ save.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | saveobjchn(fd, otmp, mode) | ^ save.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 | savemonchn(fd, mtmp, mode) | ^ save.c:975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 975 | savetrapchn(fd, trap, mode) | ^ save.c:999:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 999 | savefruitchn(fd, mode) | ^ 18 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c shk.c In file included from shk.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ shk.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 | next_shkp(shkp, withbill) | ^ shk.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 | shkname(mtmp) /* called in do_name.c */ | ^ shk.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 | shkgone(mtmp) /* called in mon.c */ | ^ shk.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | set_residency(shkp, zero_out) | ^ shk.c:245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 245 | replshk(mtmp,mtmp2) | ^ shk.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | restshk(shkp, ghostly) | ^ shk.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 | clear_unpaid(list) | ^ shk.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 294 | setpaid(shkp) | ^ shk.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | addupbill(shkp) | ^ shk.c:344:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 344 | call_kops(shkp, nearshop) | ^ shk.c:432:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 432 | blkmar_guards(shkp) | ^ shk.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 | inside_shop(x, y) | ^ shk.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | u_left_shop(leavestring, newlev) | ^ shk.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 | remote_burglary(x, y) | ^ shk.c:566:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 566 | rob_shop(shkp) | ^ shk.c:600:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 600 | u_entered_shop(enterstring) | ^ shk.c:738:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 738 | same_price(obj1, obj2) | ^ shk.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | shop_debt(eshkp) | ^ shk.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | inhishop(mtmp) | ^ shk.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 | shop_keeper(rmno) | ^ shk.c:848:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | tended_shop(sroom) | ^ shk.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | onbill(obj, shkp, silent) | ^ shk.c:881:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 881 | delete_contents(obj) | ^ shk.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | obfree(obj, merge) | ^ shk.c:1085:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1085 | check_credit(tmp, shkp) | ^ shk.c:1105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1105 | pay(tmp,shkp) | ^ shk.c:1131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1131 | home_shk(shkp, killkops) | ^ shk.c:1163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1163 | pacify_shk(shkp) | ^ shk.c:1182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1182 | rile_shk(shkp) | ^ shk.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | rouse_shk(shkp, verbosely) | ^ shk.c:1217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1217 | make_happy_shk(shkp, silentkops) | ^ shk.c:1266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1266 | hot_pursuit(shkp) | ^ shk.c:1282:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1282 | make_angry_shk(shkp, ox, oy) | ^ shk.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | cheapest_item(shkp) /* delivers the cheapest item on the list */ | ^ shk.c:1634:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1634 | pline(sbuf); | ^~~~ shk.c:1634:9: note: treat the string as an argument to avoid this 1634 | pline(sbuf); | ^ | "%s", shk.c:1915:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1915 | dopayobj(shkp, bp, obj_p, which, itemize) | ^ shk.c:2025:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2025 | paybill(croaked) | ^ shk.c:2064:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2064 | inherits(shkp, numsk, croaked) | ^ shk.c:2175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2175 | set_repo_loc(eshkp) | ^ shk.c:2226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2226 | bp_to_obj(bp) | ^ shk.c:2245:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2245 | find_oid(id) | ^ shk.c:2274:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2274 | get_cost(obj, shkp) | ^ shk.c:2383:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2383 | contained_cost(obj, shkp, price, usell, unpaid_only) | ^ shk.c:2419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2419 | contained_gold(obj) | ^ shk.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | dropped_container(obj, shkp, sale) | ^ shk.c:2456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2456 | picked_container(obj) | ^ shk.c:2477:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2477 | set_cost(obj, shkp) | ^ shk.c:2515:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2515 | unpaid_cost(unp_obj) | ^ shk.c:2532:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2532 | add_one_tobill(obj, dummy) | ^ shk.c:2575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2575 | add_to_billobjs(obj) | ^ shk.c:2590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2590 | bill_box_content(obj, ininv, dummy, shkp) | ^ shk.c:2611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2611 | shk_names_obj(shkp, obj, fmt, amt, arg) | ^ shk.c:2646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2646 | addtobill(obj, ininv, dummy, silent) | ^ shk.c:2754:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2754 | splitbill(obj, otmp) | ^ shk.c:2792:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2792 | sub_one_frombill(obj, shkp) | ^ shk.c:2835:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2835 | subfrombill(obj, shkp) | ^ shk.c:2858:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2858 | stolen_container(obj, shkp, price, ininv, destruction) | ^ shk.c:2905:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2905 | stolen_value(obj, x, y, peaceful, silent, destruction) | ^ shk.c:2988:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2988 | sellobj_state(deliberate) | ^ shk.c:3003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3003 | sellobj(obj, x, y) | ^ shk.c:3224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3224 | doinvbill(mode) | ^ shk.c:3312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3312 | getprice(obj, shk_buying) | ^ shk.c:3365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3365 | shkcatch(obj, x, y) | ^ shk.c:3399:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3399 | add_damage(x, y, cost) | ^ shk.c:3447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3447 | remove_damage(shkp, croaked) | ^ shk.c:3542:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3542 | repair_damage(shkp, tmp_dam, catchup) | ^ shk.c:3674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3674 | shk_move(shkp) | ^ shk.c:3797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3797 | after_shk_move(shkp) | ^ shk.c:3814:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3814 | is_fshk(mtmp) | ^ shk.c:3822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3822 | shopdig(fall) | ^ shk.c:3917:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3917 | makekops(mm) | ^ shk.c:3963:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3963 | pay_for_damage(dmgstr, cant_mollify) | ^ shk.c:4122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4122 | costly_spot(x, y) | ^ shk.c:4141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4141 | shop_object(x, y) | ^ shk.c:4161:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4161 | price_quote(first_obj) | ^ shk.c:4210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4210 | shk_embellish(itm, cost) | ^ shk.c:4255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4255 | shk_chat(shkp) | ^ shk.c:4322:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4322 | kops_gone(silent) | ^ shk.c:4345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4345 | cost_per_charge(shkp, otmp, altusage) | ^ shk.c:4414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4414 | check_unpaid_usage(otmp, altusage) | ^ shk.c:4459:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4459 | check_unpaid(otmp) | ^ shk.c:4466:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4466 | costly_gold(x, y, amount) | ^ shk.c:4503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4503 | block_door(x,y) | ^ shk.c:4535:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4535 | block_entry(x,y) | ^ shk.c:4576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4576 | shk_your(buf, obj) | ^ shk.c:4586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4586 | Shk_Your(buf, obj) | ^ shk.c:4596:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4596 | shk_owns(buf, obj) | ^ shk.c:4613:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4613 | mon_owns(buf, obj) | ^ shk.c:4645:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4645 | shk_identify(slang, shkp) | ^ shk.c:4669:27: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] 4669 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4670 | SHK_ID_BASIC|SHK_ID_PREMIUM) { | ~~~~~~~~~~~~ shk.c:4669:27: note: place parentheses around the '==' expression to silence this warning 4669 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4670 | SHK_ID_BASIC|SHK_ID_PREMIUM) { | ~~~~~~~~~~~~ shk.c:4669:27: note: place parentheses around the & expression to evaluate it first 4669 | if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shk.c:4794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4794 | shk_uncurse(slang, shkp) | ^ shk.c:4868:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4868 | shk_appraisal(slang, shkp) | ^ shk.c:4965:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4965 | shk_weapon_works(slang, shkp) | ^ shk.c:5025:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 5025 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shk.c:5025:8: note: treat the string as an argument to avoid this 5025 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ shk.c:5126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5126 | shk_armor_works(slang, shkp) | ^ shk.c:5247:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5247 | shk_charge(slang, shkp) | ^ shk.c:5381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5381 | shk_obj_match(obj, shkp) | ^ shk.c:5397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5397 | shk_offer_price(slang, charge, shkp) | ^ shk.c:5452:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 5452 | shk_smooth_charge(pcharge, lower, upper) | ^ 103 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c shknam.c In file included from shknam.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ shknam.c:307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 307 | mkshobj_at(shp, sx, sy) | ^ shknam.c:335:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 335 | nameshk(shk, nlp) | ^ shknam.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 | shkinit(shp, sroom) /* create a new shopkeeper in the given room */ | ^ shknam.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | stock_room(shp_indx, sroom) | ^ shknam.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | stock_blkmar(shp, sroom, sh) | ^ shknam.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 | init_shk_services(shk) | ^ shknam.c:781:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 781 | saleable(shkp, obj) | ^ shknam.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 | get_shop_item(type) | ^ 12 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c sit.c In file included from sit.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c sounds.c In file included from sounds.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ sounds.c:78:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 78 | You_hear(fountain_msg[rn2(3)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:78:11: note: treat the string as an argument to avoid this 78 | You_hear(fountain_msg[rn2(3)+hallu]); | ^ | "%s", sounds.c:87:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 87 | You_hear(sink_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:87:11: note: treat the string as an argument to avoid this 87 | You_hear(sink_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:106:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 106 | if (which != 2) You_hear(throne_msg[which]); | ^~~~~~~~~~~~~~~~~ sounds.c:106:28: note: treat the string as an argument to avoid this 106 | if (which != 2) You_hear(throne_msg[which]); | ^ | "%s", sounds.c:118:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 118 | You(swamp_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:118:6: note: treat the string as an argument to avoid this 118 | You(swamp_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:148:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 148 | You(spooky_msg[rn2(15)+hallu*9]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:148:6: note: treat the string as an argument to avoid this 148 | You(spooky_msg[rn2(15)+hallu*9]); | ^ | "%s", sounds.c:256:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 256 | You_hear(barracks_msg[rn2(3)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:256:12: note: treat the string as an argument to avoid this 256 | You_hear(barracks_msg[rn2(3)+hallu]); | ^ | "%s", sounds.c:271:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 271 | You_hear(zoo_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~ sounds.c:271:12: note: treat the string as an argument to avoid this 271 | You_hear(zoo_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:289:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 289 | You_hear(shop_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:289:15: note: treat the string as an argument to avoid this 289 | You_hear(shop_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:309:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 309 | You_hear(ora_msg[rn2(3)+hallu*2]); | ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:309:15: note: treat the string as an argument to avoid this 309 | You_hear(ora_msg[rn2(3)+hallu*2]); | ^ | "%s", sounds.c:321:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 321 | pline(blkmar_msg[rn2(2)+hallu]); | ^~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:321:13: note: treat the string as an argument to avoid this 321 | pline(blkmar_msg[rn2(2)+hallu]); | ^ | "%s", sounds.c:337:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | pet_distress(mtmp, lev) | ^ sounds.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | growl_sound(mtmp) | ^ sounds.c:418:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 418 | yelp_sound(mtmp) | ^ sounds.c:454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | whimper_sound(mtmp) | ^ sounds.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | beg(mtmp) | ^ sounds.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 | domonnoise(mtmp) | ^ sounds.c:945:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 945 | else if (verbl_msg) verbalize(verbl_msg); | ^~~~~~~~~ sounds.c:945:35: note: treat the string as an argument to avoid this 945 | else if (verbl_msg) verbalize(verbl_msg); | ^ | "%s", 21 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c sp_lev.c In file included from sp_lev.c:12: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ sp_lev.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 | set_wall_property(x1,y1,x2,y2, prop) | ^ sp_lev.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 | get_location(x, y, humidity) | ^ sp_lev.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 | is_ok_location(x, y, humidity) | ^ sp_lev.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | sp_lev_shuffle(list1, list2, n) | ^ sp_lev.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | get_room_loc(x,y, croom) | ^ sp_lev.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 | get_free_room_loc(x,y, croom) | ^ sp_lev.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 | check_room(lowx, ddx, lowy, ddy, vault) | ^ sp_lev.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 | create_room(x,y,w,h,xal,yal,rtype,rlit) | ^ sp_lev.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 | create_subroom(proom, x, y, w, h, rtype, rlit) | ^ sp_lev.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 | create_door(dd, broom) | ^ sp_lev.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | create_secret_door(croom, walls) | ^ sp_lev.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | create_trap(t,croom) | ^ sp_lev.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 | noncoalignment(alignment) | ^ sp_lev.c:816:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 816 | create_monster(m,croom) | ^ sp_lev.c:1003:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1003 | create_object(o,croom) | ^ sp_lev.c:1156:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1156 | create_engraving(e, croom) | ^ sp_lev.c:1180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1180 | create_stairs(s,croom) | ^ sp_lev.c:1196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1196 | create_altar(a, croom) | ^ sp_lev.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | create_gold(g,croom) | ^ sp_lev.c:1290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1290 | create_feature(fx, fy, croom, typ) | ^ sp_lev.c:1334:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1334 | search_door(croom,x,y,wall,cnt) | ^ sp_lev.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | dig_corridor(org,dest,nxcor,ftyp,btyp) | ^ sp_lev.c:1537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1537 | create_corridor(c) | ^ sp_lev.c:1579:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1579 | fill_room(croom, prefilled) | ^ sp_lev.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 | free_rooms(ro, n) | ^ sp_lev.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 | build_room(r, pr) | ^ sp_lev.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | light_region(tmpregion) | ^ sp_lev.c:1836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1836 | load_common_data(fd, typ) | ^ sp_lev.c:1888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1888 | load_one_monster(fd, m) | ^ sp_lev.c:1910:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1910 | load_one_object(fd, o) | ^ sp_lev.c:1926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1926 | load_one_engraving(fd, e) | ^ sp_lev.c:1940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1940 | load_rooms(fd) | ^ sp_lev.c:2170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2170 | maze1xy(m, humidity) | ^ sp_lev.c:2196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2196 | load_maze(fd) | ^ sp_lev.c:2809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2809 | load_special(name) | ^ 39 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c spell.c In file included from spell.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ spell.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 | spell_let_to_idx(ilet) | ^ spell.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | cursed_book(bp) | ^ spell.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 201 | confused_book(spellbook) | ^ spell.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | deadbook(book2) | ^ spell.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 | study_book(spellbook) | ^ spell.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 | book_disappears(obj) | ^ spell.c:591:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 591 | book_substitution(old_obj, new_obj) | ^ spell.c:625:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 625 | getspell(spell_no) | ^ spell.c:707:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 707 | spell_skilltype(booktype) | ^ spell.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | spell_backfire(spell) | ^ spell.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 | spelleffects(spell, atme) | ^ spell.c:1062:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1062 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1062:10: note: treat the string as an argument to avoid this 1062 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:1069:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1069 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1069:16: note: treat the string as an argument to avoid this 1069 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:1079:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1079 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1079:16: note: treat the string as an argument to avoid this 1079 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:1086:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1086 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1086:16: note: treat the string as an argument to avoid this 1086 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:1096:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1096 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1096:16: note: treat the string as an argument to avoid this 1096 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:1106:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1106 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1106:16: note: treat the string as an argument to avoid this 1106 | } else pline(nothing_happens); /* Already have as intrinsic */ | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ spell.c:1205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1205 | dospellmenu(prompt, splaction, spell_no) | ^ spell.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 | isqrt(val) | ^ spell.c:1296:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1296 | percent_success(spell) | ^ spell.c:1406:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1406 | initialspell(obj) | ^ 25 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c steal.c In file included from steal.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ steal.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 14 | equipname(otmp) | ^ steal.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | stealgold(mtmp) | ^ steal.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 | remove_worn_item(obj, unchain_ball) | ^ steal.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | steal(mtmp, objnambuf) | ^ steal.c:451:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 451 | mpickobj(mtmp,otmp) | ^ steal.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | stealamulet(mtmp) | ^ steal.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 | mdrop_obj(mon, obj, verbosely) | ^ steal.c:576:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 576 | mdrop_special_objs(mon) | ^ steal.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | relobj(mtmp,show,is_pet) | ^ 13 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c steed.c In file included from steed.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from steed.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ steed.c:28:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 28 | can_saddle(mtmp) | ^ steed.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | use_saddle(otmp) | ^ steed.c:61:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 61 | pline(Never_mind); | ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ steed.c:61:12: note: treat the string as an argument to avoid this 61 | pline(Never_mind); | ^ | "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' 347 | #define Never_mind c_common_strings.c_Never_mind | ^ steed.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 | can_ride(mtmp) | ^ steed.c:191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 191 | mount_steed(mtmp, force) | ^ steed.c:370:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 370 | landing_spot(spot, reason, forceit) | ^ steed.c:461:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 461 | dismount_steed(reason) | ^ steed.c:623:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 623 | place_monster(mon, x, y) | ^ 12 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c teleport.c In file included from teleport.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ teleport.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | badpos(x, y, mtmp, gpflags) | ^ teleport.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 | goodpos(x, y, mtmp, gpflags) | ^ teleport.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | enexto(cc, xx, yy, mdat) | ^ teleport.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 | enexto_core(cc, xx, yy, mdat, entflags) | ^ teleport.c:225:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 225 | epathto(cc, nc, xx, yy, mdat) | ^ teleport.c:342:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | xpathto(r, xx, yy, func, data) | ^ teleport.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 433 | tele_jump_ok(x1, y1, x2, y2) | ^ teleport.c:478:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 478 | teleok(x, y, trapok) | ^ teleport.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 | teleds(nux, nuy, allow_drag) | ^ teleport.c:597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 597 | safe_teleds(allow_drag) | ^ teleport.c:628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 628 | teleport_pet(mtmp, force_it) | ^ teleport.c:828:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 828 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:828:7: note: treat the string as an argument to avoid this 828 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:960:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 960 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:960:7: note: treat the string as an argument to avoid this 960 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:977:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 977 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:977:7: note: treat the string as an argument to avoid this 977 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:983:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 983 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:983:7: note: treat the string as an argument to avoid this 983 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.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 | domagicportal(ttmp) | ^ teleport.c:1123:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1123 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:1123:7: note: treat the string as an argument to avoid this 1123 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1149 | tele_trap(trap) | ^ teleport.c:1157:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1157 | You(shudder_for_moment); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:1157:7: note: treat the string as an argument to avoid this 1157 | You(shudder_for_moment); | ^ | "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' 343 | #define shudder_for_moment c_common_strings.c_shudder_for_moment | ^ teleport.c:1167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1167 | level_tele_trap(trap) | ^ teleport.c:1191:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1191 | rloc_pos_ok(x, y, mtmp) | ^ teleport.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | rloc_to(mtmp, x, y) | ^ teleport.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 | rloc(mtmp, suppress_impossible) | ^ teleport.c:1341:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1341 | mvault_tele(mtmp) | ^ teleport.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | tele_restrict(mon) | ^ teleport.c:1369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1369 | mtele_trap(mtmp, trap, in_sight) | ^ teleport.c:1400:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1400 | mlevel_tele_trap(mtmp, trap, force_it, in_sight) | ^ teleport.c:1482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1482 | rloco(obj) | ^ teleport.c:1594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1594 | u_teleport_mon(mtmp, give_feedback) | ^ 33 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c timeout.c In file included from timeout.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ timeout.c:36:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 36 | pline(stoned_texts[SIZE(stoned_texts) - i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:36:9: note: treat the string as an argument to avoid this 36 | pline(stoned_texts[SIZE(stoned_texts) - i]); | ^ | "%s", timeout.c:63:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 63 | You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:63:7: note: treat the string as an argument to avoid this 63 | You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); | ^ | "%s", timeout.c:110:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 110 | pline(str); | ^~~ timeout.c:110:13: note: treat the string as an argument to avoid this 110 | pline(str); | ^ | "%s", timeout.c:140:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 140 | pline(str); | ^~~ timeout.c:140:9: note: treat the string as an argument to avoid this 140 | pline(str); | ^ | "%s", timeout.c:420:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | fall_asleep(how_long, wakeup_msg) | ^ timeout.c:444:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 444 | set_obj_poly(obj, old) | ^ timeout.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 | unpoly_obj(arg, timeout) | ^ timeout.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | cleanup_unpoly(arg, timeout) | ^ timeout.c:545:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 545 | mon_poly(mtmp, your_fault, change_fmt) | ^ timeout.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | mon_spec_poly(mtmp, type, when, polyspot, transform_msg, system_shock, | ^ timeout.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 | unpoly_mon(arg, timeout) | ^ timeout.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 | attach_bomb_blow_timeout(bomb, fuse, yours) | ^ timeout.c:667:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 667 | bomb_blow(arg, timeout) | ^ timeout.c:768:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 768 | attach_egg_hatch_timeout(egg) | ^ timeout.c:793:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 793 | kill_egg(egg) | ^ timeout.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 802 | hatch_egg(arg, timeout) | ^ timeout.c:974:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 974 | learn_egg_type(mnum) | ^ timeout.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 | attach_fig_transform_timeout(figurine) | ^ timeout.c:1090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1090 | see_lamp_flicker(obj, tailer) | ^ timeout.c:1107:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1107 | lantern_message(obj) | ^ timeout.c:1132:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1132 | burn_object(arg, timeout) | ^ timeout.c:1481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1481 | lightsaber_deactivate (obj, timer_attached) | ^ timeout.c:1547:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1547 | begin_burn(obj, already_lit) | ^ timeout.c:1663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1663 | end_burn(obj, timer_attached) | ^ timeout.c:1693:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1693 | cleanup_burn(arg, expire_time) | ^ timeout.c:1723:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1723 | burn_faster(obj, adj) | ^ timeout.c:1886:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1886 | kind_name(kind) | ^ timeout.c:1899:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1899 | print_queue(win, base) | ^ timeout.c:1998:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1998 | start_timer(when, kind, func_index, arg) | ^ timeout.c:2032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2032 | stop_timer(func_index, arg) | ^ timeout.c:2058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2058 | obj_move_timers(src, dest) | ^ timeout.c:2080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2080 | obj_split_timers(src, dest) | ^ timeout.c:2100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2100 | obj_stop_timers(obj) | ^ timeout.c:2126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2126 | insert_timer(gnu) | ^ timeout.c:2143:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2143 | remove_timer(base, func_index, arg) | ^ timeout.c:2164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2164 | write_timer(fd, timer) | ^ timeout.c:2183:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 2183 | timer->arg = (genericptr_t)((struct obj *)timer->arg)->o_id; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:2197:16: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'unsigned int' [-Wint-to-void-pointer-cast] 2197 | timer->arg = (genericptr_t)((struct monst *)timer->arg)->m_id; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:2217:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2217 | accelerate_timer(func_index, arg, adj) | ^ timeout.c:2249:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2249 | obj_is_local(obj) | ^ timeout.c:2270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2270 | mon_is_local(mon) | ^ timeout.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | timer_is_local(timer) | ^ timeout.c:2308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2308 | maybe_write_timer(fd, range, write_it) | ^ timeout.c:2353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2353 | save_timers(fd, mode, range) | ^ timeout.c:2392:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2392 | restore_timers(fd, range, ghostly, adjust) | ^ timeout.c:2417:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2417 | relink_timers(ghostly) | ^ timeout.c:2427:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2427 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) | ^~~~~~~~~~~~~~~~~~~ timeout.c:2430:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2430 | nid = (unsigned) curr->arg; | ^~~~~~~~~~~~~~~~~~~~ timeout.c:2440:30: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2440 | if (!lookup_id_mapping((unsigned)curr->arg, &nid)) | ^~~~~~~~~~~~~~~~~~~ timeout.c:2443:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] 2443 | nid = (unsigned) curr->arg; | ^~~~~~~~~~~~~~~~~~~~ 54 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c topten.c In file included from topten.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ topten.c:95:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 95 | topten_print(x) | ^ topten.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 | topten_print_bold(x) | ^ topten.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | observable_depth(lev) | ^ topten.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 | readentry(rfile,tt) | ^ topten.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | writeentry(rfile,tt) | ^ topten.c:311:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 311 | free_ttlist(tt) | ^ topten.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | topten(how) | ^ topten.c:646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 646 | outentry(rank, t1, so) | ^ topten.c:826:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 826 | score_wanted(current_ver, rank, t1, playerct, players, uid) | ^ topten.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | prscore(argc,argv) | ^ topten.c:1019:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1019 | classmon(plch, fem) | ^ topten.c:1047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1047 | tt_oname(otmp) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c track.c In file included from track.c:6: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ track.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 39 | gettrack(x, y) | ^ 5 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c trap.c In file included from trap.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ trap.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 | burnarmor(victim) | ^ trap.c:119:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 119 | rust_dmg(otmp, ostr, type, print, victim) | ^ trap.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 | grease_protect(otmp,ostr,victim) | ^ trap.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | maketrap(x,y,typ) | ^ trap.c:325:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 325 | fall_through(td) | ^ trap.c:368:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 368 | You(dont_fall); | ^~~~~~~~~ trap.c:368:10: note: treat the string as an argument to avoid this 368 | You(dont_fall); | ^ | "%s", trap.c:408:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 408 | animate_statue(statue, x, y, cause, fail_reason) | ^ trap.c:529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 529 | activate_statue_trap(trap, x, y, shatter) | ^ trap.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | keep_saddle_with_steedcorpse(steed_mid, objchn, saddle) | ^ trap.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | dotrap(trap, trflags) | ^ trap.c:1212:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1212 | steedintrap(trap, otmp) | ^ trap.c:1303:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1303 | blow_up_landmine(trap) | ^ trap.c:1333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1333 | launch_obj(otyp, x1, y1, x2, y2, style) | ^ trap.c:1571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1571 | seetrap(trap) | ^ trap.c:1584:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1584 | mkroll_launch(ttmp, x, y, otyp, ocount) | ^ trap.c:1646:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1646 | isclearpath(cc,distance,dx,dy) | ^ trap.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | mon_drain_en(mtmp, n) | ^ trap.c:1688:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1688 | mintrap(mtmp) | ^ trap.c:2253:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2253 | instapetrify(str) | ^ trap.c:2266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2266 | minstapetrify(mon,byplayer) | ^ trap.c:2289:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2289 | selftouch(arg) | ^ trap.c:2312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | mselftouch(mon,arg,byplayer) | ^ trap.c:2397:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2397 | fill_pit(x, y) | ^ trap.c:2412:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2412 | float_down(hmask, emask) | ^ trap.c:2537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2537 | dofiretrap(box) | ^ trap.c:2612:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2612 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trap.c:2612:20: note: treat the string as an argument to avoid this 2612 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ trap.c:2708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2708 | fire_damage(chain, force, here, x, y) | ^ trap.c:2802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2802 | water_damage(obj, force, here) | ^ trap.c:2975:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2975 | emergency_disrobe(lostsome) | ^ trap.c:3214:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3214 | drain_en(n) | ^ trap.c:3254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3254 | untrap_prob(ttmp) | ^ trap.c:3277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3277 | cnv_trap_obj(otyp, cnt, ttmp) | ^ trap.c:3301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3301 | move_into_trap(ttmp) | ^ trap.c:3328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3328 | try_disarm(ttmp, force_failure) | ^ trap.c:3414:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3414 | reward_untrap(ttmp, mtmp) | ^ trap.c:3437:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3437 | disarm_holdingtrap(ttmp) /* Helge Hafting */ | ^ trap.c:3469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3469 | disarm_landmine(ttmp) /* Helge Hafting */ | ^ trap.c:3481:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3481 | disarm_rust_trap(ttmp) /* Paul Sonier */ | ^ trap.c:3503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3503 | disarm_fire_trap(ttmp) /* Paul Sonier */ | ^ trap.c:3537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3537 | disarm_squeaky_board(ttmp) | ^ trap.c:3570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3570 | disarm_shooting_trap(ttmp, otyp) | ^ trap.c:3585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3585 | try_lift(mtmp, ttmp, wt, stuff) | ^ trap.c:3610:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3610 | help_monster_out(mtmp, ttmp) | ^ trap.c:3700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3700 | untrap(force) | ^ trap.c:3908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3908 | chest_trap(obj, bodypart, disarm) | ^ trap.c:4090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4090 | t_at(x,y) | ^ trap.c:4105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4105 | deltrap(trap) | ^ trap.c:4120:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4120 | delfloortrap(ttmp) | ^ trap.c:4154:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4154 | b_trapped(item, bodypart) | ^ trap.c:4172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4172 | thitm(tlev, mon, obj, d_override, nocorpse) | ^ 54 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c u_init.c In file included from u_init.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ u_init.c:822:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 822 | knows_object(obj) | ^ u_init.c:833:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 833 | knows_class(sym) | ^ u_init.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 860 | spellbook_skill_raise(class_skill, spellbook) | ^ u_init.c:1441:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1441 | restricted_spell_discipline(otyp) | ^ u_init.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | ini_inv(trop) | ^ 9 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c uhitm.c In file included from uhitm.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ uhitm.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | hurtmarmor(mdef, attk) | ^ uhitm.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 | attack_checks(mtmp, barehanded) | ^ uhitm.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 255 | check_caitiff(mtmp) | ^ uhitm.c:268:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | find_roll_to_hit(mtmp) | ^ uhitm.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | attack(mtmp) | ^ uhitm.c:489:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 489 | known_hitum(mon, mattack, mhit, uattk) /* returns TRUE if monster still lives */ | ^ uhitm.c:503:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] 503 | else | ^ uhitm.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 682 | hmon(mon, obj, thrown) /* return TRUE if mon still alive */ | ^ uhitm.c:702:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 702 | hmon_hitmon(mon, obj, thrown) | ^ uhitm.c:933:31: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { | ^ ~~ uhitm.c:933:31: note: add parentheses after the '!' to evaluate the comparison first 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { | ^ | ( ) uhitm.c:933:31: note: add parentheses around left hand side expression to silence this warning 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { | ^ | ( ) uhitm.c:933:39: warning: result of comparison of constant 3 with boolean expression is always false [-Wtautological-constant-out-of-range-compare] 933 | obj->otyp == BOOMERANG && !rnl(4) == 4-1) { | ~~~~~~~ ^ ~~~ uhitm.c:1605:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1605 | shade_aware(obj) | ^ uhitm.c:1628:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1628 | m_slips_free(mdef, mattk) | ^ uhitm.c:1671:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1671 | joust(mon, obj) | ^ uhitm.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | steal_it(mdef, mattk) | ^ uhitm.c:1811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1811 | damageum(mdef, mattk) | ^ uhitm.c:2357:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2357 | explum(mdef, mattk) | ^ uhitm.c:2413:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2413 | start_engulf(mdef) | ^ uhitm.c:2436:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2436 | gulpum(mdef,mattk) | ^ uhitm.c:2617:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2617 | missum(mdef, target, roll, mattk) | ^ uhitm.c:2682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2682 | hmonas(mon, tmp) /* attack monster as a monster. */ | ^ uhitm.c:2815:4: warning: '/*' within block comment [-Wcomment] 2815 | /* succubi/incubi are humanoid, but their _second_ | ^ uhitm.c:3014:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3014 | passive(mon, mhit, malive, aatyp) | ^ uhitm.c:3243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3243 | passive_obj(mon, obj, mattk) | ^ uhitm.c:3307:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3307 | stumble_onto_mimic(mtmp) | ^ uhitm.c:3354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3354 | nohandglow(mon) | ^ uhitm.c:3376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3376 | flash_hits_mon(mtmp, otmp) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c vault.c In file included from vault.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ vault.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 22 | clear_fcorr(grd, forceshow) | ^ vault.c:63:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 63 | restfakecorr(grd) | ^ vault.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | grddead(grd) /* called in mon.c */ | ^ vault.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | in_fcorridor(grd, x, y) | ^ vault.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 | vault_occupied(array) | ^ vault.c:353:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 353 | move_gold(gold, vroom) | ^ vault.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | wallify_vault(grd) | ^ vault.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 | gd_move(grd) | ^ 12 warnings generated. ./makedefs -z close: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 _far_: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c vision.c In file included from vision.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ vision.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | does_block(x,y,lev) | ^ vision.c: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 | get_unused_cs(rows, rmin, rmax) | ^ vision.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | vision_recalc(control) | ^ vision.c:821:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 821 | block_point(x,y) | ^ vision.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | unblock_point(x,y) | ^ vision.c:904:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 904 | dig_point(row,col) | ^ vision.c:985:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 985 | fill_point(row,col) | ^ vision.c:1323:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1323 | _q1_path(srow,scol,y2,x2) | ^ vision.c:1367:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1367 | _q4_path(srow,scol,y2,x2) | ^ vision.c:1411:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1411 | _q2_path(srow,scol,y2,x2) | ^ vision.c:1455:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1455 | _q3_path(srow,scol,y2,x2) | ^ vision.c:1505:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1505 | clear_path(col1,row1,col2,row2) | ^ vision.c:1585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1585 | close_shadow(side,this_row,block_row,block_col) | ^ vision.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 | far_shadow(side,this_row,block_row,block_col) | ^ vision.c:1654:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1654 | right_side(row, cb_row, cb_col, fb_row, fb_col, left, right_mark, limits) | ^ vision.c:1913:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1913 | left_side(row, cb_row, cb_col, fb_row, fb_col, left_mark, right, limits) | ^ vision.c:2095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2095 | view_from(srow,scol,loc_cs_rows,left_most,right_most, range, func, arg) | ^ vision.c:2598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2598 | do_clear_area(scol,srow,range,func,arg) | ^ 22 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c vis_tab.c In file included from vis_tab.c:2: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from vis_tab.c:2: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c weapon.c In file included from weapon.c:10: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ weapon.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 | give_may_advance_msg(skill) | ^ weapon.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | hitval(otmp, mon) | ^ weapon.c:235:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 235 | dmgval(otmp, mon) | ^ weapon.c:415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 415 | oselect(mtmp, x) | ^ weapon.c:464:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 464 | select_rwep(mtmp) /* select a ranged weapon for the monster */ | ^ weapon.c:638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 638 | select_hwep(mtmp) /* select a hand to hand weapon for the monster */ | ^ weapon.c:679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 679 | possibly_unwield(mon, polyspot) | ^ weapon.c:734:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 734 | mon_wield_item(mon) | ^ weapon.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 | mon_ignite_lightsaber(obj, mon) | ^ weapon.c:962:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 962 | skill_level_name(skill, buf) | ^ weapon.c:991:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 991 | slots_required(skill) | ^ weapon.c:1021:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1021 | can_advance(skill, speedy) | ^ weapon.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | can_practice(skill) | ^ weapon.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 | could_advance(skill) | ^ weapon.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 | peaked_skill(skill) | ^ weapon.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | skill_advance(skill) | ^ weapon.c:1267:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1267 | unrestrict_weapon_skill(skill) | ^ weapon.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 | use_skill(skill,degree) | ^ weapon.c:1301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | add_weapon_skill(n) | ^ weapon.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 | lose_weapon_skill(n) | ^ weapon.c:1356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1356 | weapon_type(obj) | ^ weapon.c:1387:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1387 | weapon_hit_bonus(weapon) | ^ weapon.c:1474:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1474 | weapon_dam_bonus(weapon) | ^ weapon.c:1549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1549 | skill_bonus(type) | ^ weapon.c:1589:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1589 | int get_obj_skill(obj) | ^ weapon.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | skill_init(class_skill) | ^ weapon.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 | setmnotwielded(mon,obj) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c were.c In file included from were.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ were.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 10 | were_change(mon) | ^ were.c:44:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 44 | counter_were(pm) | ^ were.c: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 | new_were(mon) | ^ were.c:101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 101 | were_summon(ptr,yours,visible,genbuf) /* were-creature (even you) summons a horde */ | ^ were.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 | you_unwere(purify) | ^ 9 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c wield.c In file included from wield.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ wield.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 | setuwep(obj, put_away) | ^ wield.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 | ready_weapon(wep, put_away) | ^ wield.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 | setuqwep(obj) | ^ wield.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 | setuswapwep(obj, put_away) | ^ wield.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | wield_tool(obj, verb) | ^ wield.c:694:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 694 | erode_obj(target, acid_dmg, fade_scrolls) | ^ wield.c:783:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 783 | chwepon(otmp, amount) | ^ wield.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | welded(obj) | ^ wield.c:883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 883 | weldmsg(obj) | ^ wield.c:897:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 897 | unwield(obj, put_away) | ^ 14 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c windows.c In file included from windows.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ windows.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 | def_raw_print(s) | ^ windows.c:130:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 130 | lock_windows(flag) | ^ windows.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | choose_windows(s) | ^ windows.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 | genl_message_menu(let, how, mesg) | ^ windows.c:186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 186 | genl_preference_update(pref) | ^ 9 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c wizard.c In file included from wizard.c:10: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ wizard.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | mon_has_amulet(mtmp) | ^ wizard.c:115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 115 | mon_has_special(mtmp) | ^ wizard.c:138:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 138 | which_arti(mask) | ^ wizard.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 | mon_has_arti(mtmp, otyp) | ^ wizard.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | other_mon_has_arti(mtmp, otyp) | ^ wizard.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | on_ground(otyp) | ^ wizard.c:205:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 205 | you_have(mask) | ^ wizard.c:220:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 220 | target_on(mask, mtmp) | ^ wizard.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 | strategy(mtmp) | ^ wizard.c:302:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 302 | tactics(mtmp) | ^ wizard.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 | nasty(mcast) | ^ wizard.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | cuss(mtmp) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c worm.c In file included from worm.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ worm.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 111 | initworm(worm, wseg_count) | ^ worm.c:142:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 142 | toss_wsegs(curr, display_update) | ^ worm.c:175:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 175 | shrink_worm(wnum) | ^ worm.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | worm_move(worm) | ^ worm.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | worm_nomove(worm) | ^ worm.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 263 | wormgone(worm) | ^ worm.c:288:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 288 | wormhitu(worm) | ^ worm.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | cutworm(worm, x, y, weap) | ^ worm.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 | see_wsegs(worm) | ^ worm.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | detect_wsegs(worm, use_detection_glyph) | ^ worm.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 | save_worm(fd, mode) | ^ worm.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 | rest_worm(fd) | ^ worm.c:548:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 548 | place_wsegs(worm) | ^ worm.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | remove_worm(worm) | ^ worm.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | place_worm_tail_randomly(worm, x, y) | ^ worm.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | random_dir(x, y, nx, ny) | ^ worm.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | count_wsegs(mtmp) | ^ worm.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 708 | create_worm_tail(num_segs) | ^ worm.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | worm_known(worm) | ^ 23 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c worn.c In file included from worn.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ worn.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | setworn(obj, mask) | ^ worn.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | setnotworn(obj) | ^ worn.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 149 | mon_set_minvis(mon) | ^ worn.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 | mon_adjust_speed(mon, adjust, obj) | ^ worn.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 | update_mon_intrinsics(mon, obj, on, silently) | ^ worn.c:345:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 345 | find_mac(mon) | ^ worn.c:376:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 376 | m_dowear(mon, creation) | ^ worn.c:416:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 416 | m_dowear_type(mon, flag, creation, racialexception) | ^ worn.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 | which_armor(mon, flag) | ^ worn.c:546:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 546 | m_lose_armor(mon, obj) | ^ worn.c:603:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 603 | bypass_obj(obj) | ^ worn.c:611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 611 | mon_break_armor(mon, polyspot) | ^ worn.c:776:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 776 | extra_pref(mon, obj) | ^ worn.c:795:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 795 | racial_exception(mon, obj) | ^ 18 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c write.c In file included from write.c:4: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ write.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 12 | cost(otmp) | ^ write.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | dowrite(pen) | ^ 6 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c zap.c In file included from zap.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ zap.c:131:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 131 | bhitm(mtmp, otmp) | ^ zap.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | probe_monster(mtmp) | ^ zap.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | get_obj_location(obj, xp, yp, locflags) | ^ zap.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 | get_mon_location(mon, xp, yp, locflags) | ^ zap.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 | montraits(obj,cc) | ^ zap.c:626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 626 | get_container_location(obj, loc, container_nesting) | ^ zap.c:651:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 651 | revive(obj) | ^ zap.c:811:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 811 | revive_egg(obj) | ^ zap.c:824:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 824 | unturn_dead(mon) | ^ zap.c:865:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 865 | costly_cancel(obj) | ^ zap.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 | cancel_item(obj) | ^ zap.c:1023:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1023 | drain_item(obj) | ^ zap.c:1095:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1095 | obj_resists(obj, ochance, achance) | ^ zap.c:1118:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1118 | obj_shudders(obj) | ^ zap.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 | polyuse(objhdr, mat, minwt) | ^ zap.c:1186:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1186 | create_polymon(obj, okind) | ^ zap.c:1277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1277 | do_osshock(obj) | ^ zap.c:1319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1319 | puton_worn_item(obj) | ^ zap.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 | poly_obj(obj, id) | ^ zap.c:1407:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] 1407 | } else { | ^ zap.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1731 | bhito(obj, otmp) | ^ zap.c:2006:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2006 | bhitpile(obj,fhito,tx,ty) | ^ zap.c:2047:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2047 | zappable(wand) | ^ zap.c:2063:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2063 | zapnodir(obj) | ^ zap.c:2112:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2112 | backfire(otmp) | ^ zap.c:2139:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2139 | if(!zappable(obj)) pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2139:27: note: treat the string as an argument to avoid this 2139 | if(!zappable(obj)) pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ zap.c:2185:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2185 | zap_strike_fx(x,y, type) | ^ zap.c:2208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2208 | throwstorm(obj, skilldmg, min, range) | ^ zap.c:2285:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2285 | zapyourself(obj, ordinary) | ^ zap.c:2344:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2344 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2344:25: note: treat the string as an argument to avoid this 2344 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ zap.c:2561:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2561 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2561:21: note: treat the string as an argument to avoid this 2561 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ zap.c:2626:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2626 | zap_steed(obj) | ^ zap.c:2696:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2696 | cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel) | ^ zap.c:2777:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2777 | zap_updown(obj) | ^ zap.c:2867:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2867 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2867:9: note: treat the string as an argument to avoid this 2867 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ zap.c:2878:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 2878 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2878:10: note: treat the string as an argument to avoid this 2878 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ zap.c:2939:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2939 | weffects(obj) | ^ zap.c:3032:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3032 | spell_damage_bonus(booktype) | ^ zap.c:3061:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3061 | spell_hit_bonus(skill) | ^ zap.c:3090:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3090 | exclam(force) | ^ zap.c:3100:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3100 | hit(str,mtmp,force) | ^ zap.c:3114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3114 | miss(str,mtmp) | ^ zap.c:3147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3147 | bhit(ddx,ddy,range,weapon,fhitm,fhito,obj_p) | ^ zap.c:3254:7: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3254 | (genericptr_t) lits); | ^~~~~~~~~~~~~~~~~~~ zap.c:3349:14: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3349 | LS_TEMP, (genericptr_t) lits); | ^~~~~~~~~~~~~~~~~~~ zap.c:3400:51: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3400 | del_light_source(LS_TEMP, (genericptr_t) lits); | ^~~~~~~~~~~~~~~~~~~ zap.c:3415:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3415 | boomhit(dx, dy) | ^ zap.c:3472:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3472 | zhitm(mon, type, nd, ootmp) /* returns damage to mon */ | ^ zap.c:3638:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3638 | zhitu(type, nd, fltxt, sx, sy) | ^ zap.c:3791:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3791 | burn_floor_paper(x, y, give_feedback, u_caused) | ^ zap.c:3841:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3841 | zap_hit(ac, type) | ^ zap.c:3867:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 3867 | buzz(type,nd,sx,sy,dx,dy) | ^ zap.c:3956:54: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3956 | new_light_source(sx, sy, 1, LS_TEMP, (genericptr_t) lits); | ^~~~~~~~~~~~~~~~~~~ zap.c:3990:29: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 3990 | del_light_source(LS_TEMP, (genericptr_t) lits); | ^~~~~~~~~~~~~~~~~~~ zap.c:4160:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4160 | if (!Blind) Your(vision_clears); | ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:4160:20: note: treat the string as an argument to avoid this 4160 | if (!Blind) Your(vision_clears); | ^ | "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' 348 | #define vision_clears c_common_strings.c_vision_clears | ^ zap.c:4233:43: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 4233 | del_light_source(LS_TEMP, (genericptr_t) lits); | ^~~~~~~~~~~~~~~~~~~ zap.c:4257:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4257 | melt_ice(x, y) | ^ zap.c:4299:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4299 | zap_over_floor(x, y, type, shopdamage) | ^ zap.c:4333:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4333 | Norep(msgtxt); | ^~~~~~ zap.c:4333:9: note: treat the string as an argument to avoid this 4333 | Norep(msgtxt); | ^ | "%s", zap.c:4465:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4465 | pline(see_txt); | ^~~~~~~ zap.c:4465:10: note: treat the string as an argument to avoid this 4465 | pline(see_txt); | ^ | "%s", zap.c:4468:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4468 | You(sense_txt); | ^~~~~~~~~ zap.c:4468:8: note: treat the string as an argument to avoid this 4468 | You(sense_txt); | ^ | "%s", zap.c:4470:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4470 | if (flags.soundok) You_hear(hear_txt); | ^~~~~~~~ zap.c:4470:32: note: treat the string as an argument to avoid this 4470 | if (flags.soundok) You_hear(hear_txt); | ^ | "%s", zap.c:4504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4504 | fracture_rock(obj) /* fractured by pick-axe or wand of striking */ | ^ zap.c:4531:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4531 | break_statue(obj) | ^ zap.c:4565:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4565 | destroy_item(osym, dmgtyp) | ^ zap.c:4735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4735 | destroy_mitem(mtmp, osym, dmgtyp) | ^ zap.c:4836:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 4836 | resist(mtmp, oclass, damage, tell) | ^ zap.c:4900:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 4900 | pline(thats_enough_tries); | ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:4900:12: note: treat the string as an argument to avoid this 4900 | pline(thats_enough_tries); | ^ | "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' 341 | #define thats_enough_tries c_common_strings.c_thats_enough_tries | ^ 72 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c gypsy.c In file included from gypsy.c:3: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from gypsy.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ gypsy.c:18:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 18 | gypsy_charge (mtmp, amount) | ^ gypsy.c:50:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 50 | gypsy_offer (mtmp, cost, txt) | ^ gypsy.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 | gypsy_bet (mtmp, minimum) | ^ gypsy.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 | card_shuffle (mtmp) | ^ gypsy.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 | card_draw (mtmp) | ^ gypsy.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 | card_name (num, buf) | ^ gypsy.c:256:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 256 | fortune_lev (mtmp, name, txt) | ^ gypsy.c:283:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 283 | fortune (mtmp) | ^ gypsy.c:479:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 479 | monte (mtmp) | ^ gypsy.c:556:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 556 | nn_playable (card, total) | ^ gypsy.c:575:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 575 | nn_play (card, total) | ^ gypsy.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 | nn_pref (card) | ^ gypsy.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 624 | ninetynine (mtmp) | ^ gypsy.c:728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 728 | pawn (mtmp) | ^ gypsy.c:770:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 770 | tarocchi (mtmp) | ^ gypsy.c:790:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 790 | gypsy_init (mtmp) | ^ gypsy.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 | gypsy_chat (mtmp) | ^ 21 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c tech.c In file included from tech.c:8: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from tech.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ tech.c:227:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 227 | tech_known(tech) | ^ tech.c:240:11: warning: parameter 'tech' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] 240 | aborttech(tech) | ^ 241 | { tech.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 | aborttech(tech) | ^ tech.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 270 | learntech(tech, mask, tlevel) | ^ tech.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 | gettech(tech_no) | ^ tech.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 | dotechmenu(how, tech_no) | ^ tech.c:510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 510 | get_tech_no(tech) | ^ tech.c:536:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 536 | use_medical_kit(type, feedback, verb) | ^ tech.c:571:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 571 | techeffects(tech_no) | ^ tech.c:737:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 737 | pline(nothing_happens); | ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tech.c:737:13: note: treat the string as an argument to avoid this 737 | pline(nothing_happens); | ^ | "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' 340 | #define nothing_happens c_common_strings.c_nothing_happens | ^ tech.c:1098:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] 1098 | You(no_elbow_room); | ^~~~~~~~~~~~~ tech.c:1098:11: note: treat the string as an argument to avoid this 1098 | You(no_elbow_room); | ^ | "%s", tech.c:1498:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1498 | tech_inuse(tech_id) | ^ tech.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 | hurtmon(mtmp, tmp) | ^ tech.c:1670:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1670 | adjtech(oldlevel,newlevel) | ^ tech.c:1704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | mon_to_zombie(monnum) | ^ 19 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../sys/share/ioctl.c In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../sys/unix/unixmain.c In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../sys/unix/unixmain.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 | main(argc,argv) | ^ ../sys/unix/unixmain.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 | process_options(argc, argv) | ^ ../sys/unix/unixmain.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | chdirx(dir, wr) | ^ ../sys/unix/unixmain.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | append_slash(name) | ^ 8 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../sys/share/unixtty.c In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../sys/share/unixtty.c:147:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 147 | speednum(speed) | ^ ../sys/share/unixtty.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 | settty(s) | ^ 6 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../sys/unix/unixunix.c In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../sys/unix/unixunix.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 41 | veryold(fd) | ^ ../sys/unix/unixunix.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 | regularize(s) /* normalize file name - we don't like .'s, /'s, spaces */ | ^ ../sys/unix/unixunix.c:317:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 317 | child(wt) | ^ 7 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../sys/unix/unixres.c In file included from ../sys/unix/unixres.c:20: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../sys/unix/unixres.c:20: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ 4 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/tty/getline.c In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/tty/getline.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 | tty_getlin(query, bufp) | ^ ../win/tty/getline.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | hooked_tty_getlin(query, bufp, hook) | ^ ../win/tty/getline.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 | xwaitforspace(s) | ^ ../win/tty/getline.c:216:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 216 | ext_cmd_getlin_hook(base) | ^ 8 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/tty/termcap.c In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/tty/termcap.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 93 | tty_startup(wid, hgt) | ^ ../win/tty/termcap.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 355 | tty_number_pad(state) | ^ ../win/tty/termcap.c:502:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 502 | nocmov(x, y) | ^ ../win/tty/termcap.c:549:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | cmov(x, y) | ^ ../win/tty/termcap.c:559:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | xputc(c) | ^ ../win/tty/termcap.c:570:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 570 | xputs(s) | ^ ../win/tty/termcap.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | s_atr2str(n) | ^ ../win/tty/termcap.c:1086:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1086 | e_atr2str(n) | ^ ../win/tty/termcap.c:1103:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1103 | term_start_attr(attr) | ^ ../win/tty/termcap.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 | term_end_attr(attr) | ^ ../win/tty/termcap.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 | term_start_color(color) | ^ ../win/tty/termcap.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 | has_color(color) | ^ 16 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/tty/topl.c In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/tty/topl.c:176:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 176 | redotoplin(str) | ^ ../win/tty/topl.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 | addtopl(s) | ^ ../win/tty/topl.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 | update_topl(bp) | ^ ../win/tty/topl.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 | topl_putsym(c) | ^ ../win/tty/topl.c:369:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 369 | putsyms(str) | ^ ../win/tty/topl.c:377:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 377 | removetopl(n) | ^ ../win/tty/topl.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 | tty_yn_function(query,resp, def) | ^ 11 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/tty/wintty.c In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/tty/wintty.c:198:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 198 | bail(mesg) | ^ ../win/tty/wintty.c:265:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 265 | tty_init_nhwindows(argcp,argv) | ^ ../win/tty/wintty.c:563:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 563 | tty_role_select(pbuf, plbuf) | ^ ../win/tty/wintty.c:631:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 631 | tty_race_select(pbuf, plbuf) | ^ ../win/tty/wintty.c:896:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 896 | tty_suspend_nhwindows(str) | ^ ../win/tty/wintty.c:912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 912 | tty_exit_nhwindows(str) | ^ ../win/tty/wintty.c:936:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 936 | tty_create_nhwindow(type) | ^ ../win/tty/wintty.c:1049:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1049 | erase_menu_or_text(window, cw, clear) | ^ ../win/tty/wintty.c:1067:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1067 | free_window_info(cw, free_data) | ^ ../win/tty/wintty.c:1111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1111 | tty_clear_nhwindow(window) | ^ ../win/tty/wintty.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 | dmore(cw, s) | ^ ../win/tty/wintty.c:1174:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1174 | set_item_state(window, lineno, item) | ^ ../win/tty/wintty.c:1188:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1188 | set_all_on_page(window, page_start, page_end) | ^ ../win/tty/wintty.c:1203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1203 | unset_all_on_page(window, page_start, page_end) | ^ ../win/tty/wintty.c:1219:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1219 | invert_all_on_page(window, page_start, page_end, acc) | ^ ../win/tty/wintty.c:1243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1243 | invert_all(window, page_start, page_end, acc) | ^ ../win/tty/wintty.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 | get_menu_coloring(str, color, attr) | ^ ../win/tty/wintty.c:1301:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1301 | process_menu_window(window, cw) | ^ ../win/tty/wintty.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | process_text_window(window, cw) | ^ ../win/tty/wintty.c:1675:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1675 | tty_display_nhwindow(window, blocking) | ^ ../win/tty/wintty.c:1743:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1743 | tty_dismiss_nhwindow(window) | ^ ../win/tty/wintty.c:1786:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1786 | tty_destroy_nhwindow(window) | ^ ../win/tty/wintty.c:1807:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1807 | tty_curs(window, x, y) | ^ ../win/tty/wintty.c:1883:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1883 | tty_putsym(window, x, y, ch) | ^ ../win/tty/wintty.c:1912:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1912 | compress_str(str) | ^ ../win/tty/wintty.c:1935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1935 | tty_putstr(window, attr, str) | ^ ../win/tty/wintty.c:2136:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2136 | tty_display_file(fname, complain) | ^ ../win/tty/wintty.c:2223:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2223 | tty_start_menu(window) | ^ ../win/tty/wintty.c:2236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2236 | tty_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^ ../win/tty/wintty.c:2291:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2291 | reverse(curr) | ^ ../win/tty/wintty.c:2312:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2312 | tty_end_menu(window, prompt) | ^ ../win/tty/wintty.c:2407:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2407 | tty_select_menu(window, how, menu_list) | ^ ../win/tty/wintty.c:2450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2450 | tty_message_menu(let, how, mesg) | ^ ../win/tty/wintty.c:2518:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2518 | docorner(xmin, ymax) | ^ ../win/tty/wintty.c:2577:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2577 | g_putch(in_ch) | ^ ../win/tty/wintty.c:2620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2620 | tty_cliparound(x, y) | ^ ../win/tty/wintty.c:2661:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2661 | tty_print_glyph(window, x, y, glyph) | ^ ../win/tty/wintty.c:2735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2735 | tty_raw_print(str) | ^ ../win/tty/wintty.c:2747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2747 | tty_raw_print_bold(str) | ^ ../win/tty/wintty.c:2809:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2809 | tty_nh_poskey(x, y, mod) | ^ ../win/tty/wintty.c:2863:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2863 | copy_of(s) | ^ 45 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/Window.c In file included from ../win/X11/Window.c:34: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/Window.c:34: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/Window.c:89:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 89 | static void no_op(w, event, params, num_params) | ^ ../win/X11/Window.c:107:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | static void Redisplay(w, event, region) | ^ ../win/X11/Window.c:117:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 117 | static void Resize(w) | ^ ../win/X11/Window.c:167:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 167 | WindowFont(w) Widget w; { return ((WindowWidget)w)->window.font->fid; } | ^ In file included from ../win/X11/Window.c:32: In file included from ../include/xwindowp.h:8: ../include/xwindow.h:80:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 80 | extern Font WindowFont(/* Widget */); | ^ ../win/X11/Window.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 170 | WindowFontStruct(w) Widget w; { return ((WindowWidget)w)->window.font; } | ^ In file included from ../win/X11/Window.c:32: In file included from ../include/xwindowp.h:8: ../include/xwindow.h:79:21: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 79 | extern XFontStruct *WindowFontStruct(/* Widget */); | ^ 11 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/dialogs.c In file included from ../win/X11/dialogs.c:64: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/dialogs.c:64: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/dialogs.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | CreateDialog(parent, name, okay_callback, cancel_callback) | ^ ../win/X11/dialogs.c:207:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 207 | SetDialogPrompt(w, newprompt) | ^ ../win/X11/dialogs.c:221:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 221 | GetDialogResponse(w) | ^ ../win/X11/dialogs.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 237 | SetDialogResponse(w, s) | ^ ../win/X11/dialogs.c:284:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 284 | positionpopup(w, bottom) | ^ 9 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winX.c In file included from ../win/X11/winX.c:49: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winX.c:49: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winX.c:182:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 182 | find_widget(w) | ^ ../win/X11/winX.c:224:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 224 | {XtWidgetBaseOffset, (XtPointer)XtOffset(Widget, core.screen), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c:226:26: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'Cardinal' (aka 'unsigned int') [-Wint-to-void-pointer-cast] 226 | {XtWidgetBaseOffset, (XtPointer)XtOffset(Widget, core.colormap), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../win/X11/winX.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | nhApproxColor(screen, colormap, str, color) | ^ ../win/X11/winX.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | nhCvtStringToPixel(dpy, args, num_args, fromVal, toVal, closure_ret) | ^ ../win/X11/winX.c:428:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | nhFreePixel(app, toVal, closure, args, num_args) | ^ ../win/X11/winX.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 | nhFontHeight(w) | ^ ../win/X11/winX.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 | X11_raw_print(str) | ^ ../win/X11/winX.c:497:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 497 | X11_raw_print_bold(str) | ^ ../win/X11/winX.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 504 | X11_curs(window, x, y) | ^ ../win/X11/winX.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 | X11_putstr(window, attr, str) | ^ ../win/X11/winX.c:583:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 583 | X11_nh_poskey(x, y, mod) | ^ ../win/X11/winX.c:598:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 598 | X11_create_nhwindow(type) | ^ ../win/X11/winX.c:663:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 663 | X11_clear_nhwindow(window) | ^ ../win/X11/winX.c:686:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 686 | X11_display_nhwindow(window, blocking) | ^ ../win/X11/winX.c:749:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 749 | X11_destroy_nhwindow(window) | ^ ../win/X11/winX.c:844:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 844 | void X11_suspend_nhwindows(str) const char *str; { return; } | ^ ../win/X11/winX.c:848:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 848 | void X11_number_pad(state) int state; { return; } /* called from options.c */ | ^ ../win/X11/winX.c:855:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 855 | void X11_outrip(window, how) | ^ ../win/X11/winX.c:940:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 940 | X11_init_nhwindows(argcp,argv) | ^ ../win/X11/winX.c:1043:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1043 | void X11_exit_nhwindows(dummy) | ^ ../win/X11/winX.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 | d_timeout(client_data, id) | ^ ../win/X11/winX.c:1115:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1115 | X11_hangup(w, event, params, num_params) | ^ ../win/X11/winX.c:1127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1127 | askname_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1141:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | askname_done(w, client_data, call_data) | ^ ../win/X11/winX.c:1211:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1211 | done_button(w, client_data, call_data) | ^ ../win/X11/winX.c:1236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1236 | getline_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1250 | abort_button(w, client_data, call_data) | ^ ../win/X11/winX.c:1264:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1264 | X11_getlin(question, input) | ^ ../win/X11/winX.c:1314:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1314 | delete_file(w, event, params, num_params) | ^ ../win/X11/winX.c:1327:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1327 | dismiss_file(w, event, params, num_params) | ^ ../win/X11/winX.c:1343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1343 | X11_display_file(str, complain) | ^ ../win/X11/winX.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 | key_event_to_char(key) | ^ ../win/X11/winX.c:1511:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1511 | yn_delete(w, event, params, num_params) | ^ ../win/X11/winX.c:1528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1528 | yn_key(w, event, params, num_params) | ^ ../win/X11/winX.c:1597:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1597 | X11_yn_function(ques, choices, def) | ^ ../win/X11/winX.c:1705:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1705 | input_event(exit_condition) | ^ ../win/X11/winX.c:1721:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1721 | msgkey(w, data, event) | ^ ../win/X11/winX.c:1732:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1732 | win_visible(w, data, event, flag) /* only called for autofocus */ | ^ ../win/X11/winX.c:1958:46: warning: incompatible function pointer types passing 'XtErrorHandler' (aka 'void (*)(char *)') to parameter of type 'void (*)(String) __attribute__((noreturn))' (aka 'void (*)(char *) __attribute__((noreturn))') [-Wincompatible-function-pointer-types] 1958 | (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/X11R6/include/X11/Intrinsic.h:1781:1: note: passing argument to parameter here 1781 | ); | ^ ../win/X11/winX.c:1966:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1966 | nh_XtPopup(w, g, childwid) | ^ ../win/X11/winX.c:1977:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1977 | nh_XtPopdown(w) | ^ ../win/X11/winX.c:2009:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 2009 | nh_keyscroll(viewport, event, params, num_params) | ^ 47 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winmap.c In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmap.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winmap.c:82:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 82 | X11_print_glyph(window, x, y, glyph) | ^ ../win/X11/winmap.c:151:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 151 | void X11_cliparound(x, y) int x, y; { } | ^ ../win/X11/winmap.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 | init_annotation(annotation, filename, colorpixel) | ^ ../win/X11/winmap.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 | init_tiles(wp) | ^ ../win/X11/winmap.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 | check_cursor_visibility(wp) | ^ ../win/X11/winmap.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 794 | map_check_size_change(wp) | ^ ../win/X11/winmap.c:843:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 843 | set_gc(w, font, resource_name, bgpixel, regular, inverse) | ^ ../win/X11/winmap.c:878:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 878 | get_text_gc(wp, font) | ^ ../win/X11/winmap.c:924:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 924 | display_cursor(wp) | ^ ../win/X11/winmap.c:937:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 937 | display_map_window(wp) | ^ ../win/X11/winmap.c:971:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 971 | map_all_stone(map_info) | ^ ../win/X11/winmap.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 | clear_map_window(wp) | ^ ../win/X11/winmap.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | get_char_info(wp) | ^ ../win/X11/winmap.c:1059:26: warning: passing arguments to 'WindowFontStruct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1059 | fs = WindowFontStruct(wp->w); | ^ ../win/X11/winmap.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | map_input(w, event, params, num_params) | ^ ../win/X11/winmap.c:1141:16: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1141 | (*input_func)(w, event, params, num_params); | ^ ../win/X11/winmap.c:1201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1201 | set_button_values(w, x, y, button) | ^ ../win/X11/winmap.c:1230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1230 | map_exposed(w, client_data, widget_data) | ^ ../win/X11/winmap.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 | map_update(wp, start_row, stop_row, start_col, stop_col, inverted) | ^ ../win/X11/winmap.c:1454:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1454 | set_map_size(wp, cols, rows) | ^ ../win/X11/winmap.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 | init_text(wp) | ^ ../win/X11/winmap.c:1494:31: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1494 | get_text_gc(wp, WindowFont(wp->w)); | ^ ../win/X11/winmap.c:1510:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1510 | create_map_window(wp, create_popup, parent) | ^ ../win/X11/winmap.c:1704:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1704 | destroy_map_window(wp) | ^ ../win/X11/winmap.c:1762:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1762 | x_event(exit_condition) | ^ 29 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winmenu.c In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmenu.c:39: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winmenu.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 84 | menu_select(w, client_data, call_data) | ^ ../win/X11/winmenu.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | menu_delete(w, event, params, num_params) | ^ ../win/X11/winmenu.c:166:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 166 | invert_line(wp, curr, which, how_many) | ^ ../win/X11/winmenu.c:196:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 196 | menu_key(w, event, params, num_params) | ^ ../win/X11/winmenu.c:328:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 328 | menu_ok(w, client_data, call_data) | ^ ../win/X11/winmenu.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 339 | menu_cancel(w, client_data, call_data) | ^ ../win/X11/winmenu.c:354:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 354 | menu_all(w, client_data, call_data) | ^ ../win/X11/winmenu.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 363 | menu_none(w, client_data, call_data) | ^ ../win/X11/winmenu.c:372:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | menu_invert(w, client_data, call_data) | ^ ../win/X11/winmenu.c:381:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 381 | menu_search(w, client_data, call_data) | ^ ../win/X11/winmenu.c:402:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 402 | select_all(wp) | ^ ../win/X11/winmenu.c:426:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 426 | select_none(wp) | ^ ../win/X11/winmenu.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 450 | invert_all(wp) | ^ ../win/X11/winmenu.c:469:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 469 | invert_match(wp, match) | ^ ../win/X11/winmenu.c:493:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 493 | select_match(wp, match) | ^ ../win/X11/winmenu.c:519:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 519 | menu_popdown(wp) | ^ ../win/X11/winmenu.c:568:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 568 | X11_start_menu(window) | ^ ../win/X11/winmenu.c:586:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 586 | X11_add_menu(window, glyph, identifier, ch, gch, attr, str, preselected) | ^ ../win/X11/winmenu.c:658:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 658 | X11_end_menu(window, query) | ^ ../win/X11/winmenu.c:674:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 674 | X11_select_menu(window, how, menu_list) | ^ ../win/X11/winmenu.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1053 | copy_of(s) | ^ ../win/X11/winmenu.c:1062:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1062 | move_menu(src_menu, dest_menu) | ^ ../win/X11/winmenu.c:1073:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1073 | free_menu(mp) | ^ ../win/X11/winmenu.c:1091:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1091 | reset_menu_to_default(mp) | ^ ../win/X11/winmenu.c:1104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1104 | clear_old_menu(wp) | ^ ../win/X11/winmenu.c:1122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1122 | create_menu_window(wp) | ^ ../win/X11/winmenu.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 | destroy_menu_window(wp) | ^ 31 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winmesg.c In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmesg.c:35: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winmesg.c:55:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 55 | set_message_slider(wp) | ^ ../win/X11/winmesg.c:71:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 71 | create_message_window(wp, create_popup, parent) | ^ ../win/X11/winmesg.c:203:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 203 | destroy_message_window(wp) | ^ ../win/X11/winmesg.c:224:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 224 | display_message_window(wp) | ^ ../win/X11/winmesg.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 236 | append_message(wp, str) | ^ ../win/X11/winmesg.c:261:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 261 | get_previous(mark) | ^ ../win/X11/winmesg.c:281:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 281 | set_circle_buf(mesg_info, count) | ^ ../win/X11/winmesg.c:356:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 356 | split(s, fs, pixel_width) | ^ ../win/X11/winmesg.c:388:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 388 | add_line(mesg_info, s) | ^ ../win/X11/winmesg.c:419:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 419 | set_last_pause(wp) | ^ ../win/X11/winmesg.c:448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 448 | redraw_message_window(wp) | ^ ../win/X11/winmesg.c:500:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 500 | mesg_check_size_change(wp) | ^ ../win/X11/winmesg.c:528:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 528 | mesg_exposed(w, client_data, widget_data) | ^ ../win/X11/winmesg.c:558:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 558 | get_gc(w, mesg_info) | ^ ../win/X11/winmesg.c:574:35: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 574 | values.font = WindowFont(w); | ^ ../win/X11/winmesg.c:590:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 590 | mesg_resized(w, client_data, call_data) | ^ 20 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winmisc.c In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winmisc.c:32: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winmisc.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | ps_quit(w, client_data, call_data) | ^ ../win/X11/winmisc.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 | ps_random(w, client_data, call_data) | ^ ../win/X11/winmisc.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 | ps_select(w, client_data, call_data) | ^ ../win/X11/winmisc.c:110:19: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 110 | ps_selected = (int) client_data; | ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.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 | ps_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 158 | race_key(w, event, params, num_params) | ^ ../win/X11/winmisc.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 | gend_key(w, event, params, num_params) | ^ ../win/X11/winmisc.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 | algn_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:564:20: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast] 564 | int selected = (int) client_data; | ^~~~~~~~~~~~~~~~~ ../win/X11/winmisc.c:560:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 560 | extend_select(w, client_data, call_data) | ^ ../win/X11/winmisc.c:585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 585 | extend_dismiss(w, client_data, call_data) | ^ ../win/X11/winmisc.c:594:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 594 | extend_help(w, client_data, call_data) | ^ ../win/X11/winmisc.c:604:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 604 | ec_delete(w, event, params, num_params) | ^ ../win/X11/winmisc.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 | popup_delete(w, event, params, num_params) | ^ ../win/X11/winmisc.c:644:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 644 | ec_key(w, event, params, num_params) | ^ ../win/X11/winmisc.c:765:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 765 | make_menu(popup_name, popup_label, popup_translations, | ^ ../win/X11/winmisc.c:878:51: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 878 | XtAddCallback(*curr, XtNcallback, name_callback, (XtPointer) i); | ^~~~~~~~~~~~~ 21 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winstat.c In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winstat.c:34: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winstat.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 45 | create_status_window(wp, create_popup, parent) | ^ ../win/X11/winstat.c: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 | destroy_status_window(wp) | ^ ../win/X11/winstat.c:153:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 153 | adjust_status(wp, str) | ^ ../win/X11/winstat.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | hilight_label(w) | ^ ../win/X11/winstat.c:333:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 333 | update_val(attr_rec, new_value) | ^ ../win/X11/winstat.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 | update_fancy_status(wp) | ^ ../win/X11/winstat.c:740:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 740 | width_string(sv_index) | ^ ../win/X11/winstat.c:780:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 780 | create_widget(parent, sv, sv_index) | ^ ../win/X11/winstat.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 | get_widths(sv, width1p, width2p) | ^ ../win/X11/winstat.c:850:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 850 | set_widths(sv, width1, width2) | ^ ../win/X11/winstat.c:872:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 872 | init_column(name, parent, top, left, col_indices) | ^ ../win/X11/winstat.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 | init_info_form(parent, top, left) | ^ ../win/X11/winstat.c:1011:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1011 | create_fancy_status(parent, top) | ^ ../win/X11/winstat.c:1038:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1038 | destroy_fancy_status(wp) | ^ 18 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/wintext.c In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/wintext.c:31: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/wintext.c:58:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 58 | delete_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 86 | dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 109 | key_dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:122:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 122 | rip_dismiss_text(w, event, params, num_params) | ^ ../win/X11/wintext.c:135:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 135 | add_to_text_window(wp, attr, str) | ^ ../win/X11/wintext.c:152:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 152 | display_text_window(wp, blocking) | ^ ../win/X11/wintext.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 244 | create_text_window(wp) | ^ ../win/X11/wintext.c:316:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 316 | destroy_text_window(wp) | ^ ../win/X11/wintext.c:340:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 340 | clear_text_window(wp) | ^ ../win/X11/wintext.c:351:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 351 | append_text_buffer(tb, str, concat) | ^ ../win/X11/wintext.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | init_text_buffer(tb) | ^ ../win/X11/wintext.c:421:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 421 | clear_text_buffer(tb) | ^ ../win/X11/wintext.c:431:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 431 | free_text_buffer(tb) | ^ ../win/X11/wintext.c: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 | rip_exposed(w, client_data, widget_data) | ^ ../win/X11/wintext.c:559:29: warning: passing arguments to 'WindowFont' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 559 | values.font = WindowFont(w); | ^ ../win/X11/wintext.c:572:36: warning: passing arguments to 'WindowFontStruct' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 572 | XFontStruct* font=WindowFontStruct(w); | ^ 20 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/X11/winval.c In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/X11/winval.c:28: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/X11/winval.c:36:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 36 | create_value(parent, name_value) | ^ ../win/X11/winval.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 72 | set_name(w, new_label) | ^ ../win/X11/winval.c:85:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 85 | set_name_width(w, new_width) | ^ ../win/X11/winval.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 98 | get_name_width(w) | ^ ../win/X11/winval.c:113:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 113 | set_value(w, new_value) | ^ ../win/X11/winval.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 126 | set_value_width(w, new_width) | ^ ../win/X11/winval.c:139:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 139 | get_value_width(w) | ^ ../win/X11/winval.c:155:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 155 | hilight_value(w) | ^ ../win/X11/winval.c:163:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 163 | swap_fg_bg(w) | ^ 13 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -L/usr/X11R6/lib -o tilemap ../win/share/tilemap.c In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from ../win/share/tilemap.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ ../win/share/tilemap.c:517:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 517 | int ceil_sqrt(c) | ^ ../win/share/tilemap.c:665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 665 | process_substitutions(ofp) | ^ 6 warnings generated. ld: warning: tilemap.c(/tmp/tilemap-382859.o:(main)): warning: sprintf() is often misused, please use snprintf() ./tilemap cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c tile.c In file included from tile.c:3: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from tile.c:3: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ tile.c:737:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 737 | substitute_tiles(plev) | ^ 5 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c ../win/proxy/md5.c ar cr nhwin.a tile.o md5.o ../util/makedefs -v cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -DHACKDIR=\"/usr/local/lib/slashemdir-3.4.3.7e7f1\" -DHAVE_SYS_PARAM_H -I../include -c version.c In file included from version.c:5: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ version.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 | version_string(buf) | ^ version.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 29 | getversionstring(buf) | ^ version.c:68:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 68 | check_version(version_data, filename, complain) | ^ version.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 104 | uptodate(fd, name) | ^ version.c:129:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 129 | store_version(fd) | ^ version.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 | get_feature_notice_ver(str) | ^ 10 warnings generated. Loading ... ld: warning: apply.c(apply.o:(use_stone)): warning: sprintf() is often misused, please use snprintf() ld: warning: version.c(version.o:(get_feature_notice_ver)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: wintext.c(wintext.o:(calculate_rip_text)): warning: strcat() is almost always misused, please use strlcat() ld: warning: rumors.c(rumors.o:(getrumor)): warning: random() may return deterministic values, is that what you want? ld: warning: pline.c(pline.o:(vpline)): warning: vsprintf() is often misused, please use vsnprintf() slashem is up to date. ( cd util ; /usr/bin/make recover ) `../include/date.h' is up to date. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c recover.c In file included from recover.c:10: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from recover.c:10: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ recover.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 | main(argc, argv) | ^ recover.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 | set_levelfile_name(lev) | ^ recover.c:162:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 162 | open_levelfile(lev) | ^ recover.c:190:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 190 | copy_bytes(ifd, ofd) | ^ recover.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 | restore_savefile(basename) | ^ 9 warnings generated. cc -L/usr/X11R6/lib -o recover recover.o ld: warning: recover.c(recover.o:(restore_savefile)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: recover.c(recover.o:(restore_savefile)): warning: sprintf() is often misused, please use snprintf() ( cd doc ; /usr/bin/make Guidebook ) tbl tmac.n Guidebook.mn | nroff | col -bx > Guidebook /bin/sh: tbl: not found /bin/sh: nroff: not found ( cd dat ; /usr/bin/make data ) ../util/makedefs -d ( cd dat ; /usr/bin/make oracles ) ../util/makedefs -h ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) ../util/makedefs -q ( cd dat ; /usr/bin/make rumors ) ../util/makedefs -r ( cd util ; /usr/bin/make dgn_comp ) yacc -d dgn_comp.y mv y.tab.c dgn_yacc.c mv y.tab.h ../include/dgn_comp.h `../include/date.h' is up to date. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c dgn_yacc.c In file included from dgn_comp.y:25: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dgn_comp.y: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 | getchain(s) | ^ 5 warnings generated. lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include dgn_lex.c In file included from dgn_comp.l:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dgn_comp.l:148:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 148 | void init_yyin( input_f ) | ^ dgn_comp.l:159:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 159 | void init_yyout( output_f ) | ^ 6 warnings generated. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c dgn_main.c In file included from dgn_main.c:11: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from dgn_main.c:11: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ dgn_main.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 56 | main(argc, argv) | ^ dgn_main.c:173:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 173 | void yyerror(s) | ^ dgn_main.c:193:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 193 | void yywarning(s) | ^ 7 warnings generated. cc -L/usr/X11R6/lib -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o ld: warning: dgn_main.c(dgn_main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: dgn_main.c(dgn_main.o:(main)): warning: strcat() is almost always misused, please use strlcat() ld: warning: alloc.c(../src/alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() ( cd dat ; /usr/bin/make dungeon ) ../util/makedefs -e ../util/dgn_comp dungeon.pdf ( cd util ; /usr/bin/make lev_comp ) yacc -d lev_comp.y mv y.tab.c lev_yacc.c mv y.tab.h ../include/lev_comp.h cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c lev_yacc.c In file included from lev_comp.y:26: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lev_comp.y:26: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ lev_comp.y:600:24: warning: incompatible pointer types assigning to 'room_door *' from 'struct room_door *' [-Wincompatible-pointer-types] 600 | tmprdoor[ndoor] = (struct room_door *)0; | ^ ~~~~~~~~~~~~~~~~~~~~~ 5 warnings generated. lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include lev_lex.c In file included from lev_comp.l:8: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ lev_comp.l:260:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 260 | void init_yyin( input_f ) | ^ lev_comp.l:271:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 271 | void init_yyout( output_f ) | ^ 6 warnings generated. `../include/date.h' is up to date. cc -O2 -pipe -DX11_GRAPHICS -I/usr/X11R6/include -I../include -c lev_main.c In file included from lev_main.c:12: In file included from ../include/hack.h:9: ../include/config.h:231:42: warning: '/*' within block comment [-Wcomment] 231 | /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ | ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] 232 | /* # define COMPRESS_EXTENSION ".Z" /* compress's extension */ | ^ In file included from lev_main.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:492: In file included from ../include/global.h:171: ../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:214:19: warning: '/*' within block comment [-Wcomment] 214 | /* #define MAIL /* Deliver mail during the game */ | ^ lev_main.c:233:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 233 | main(argc, argv) | ^ lev_main.c:364:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 364 | yyerror(s) | ^ lev_main.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 384 | yywarning(s) | ^ lev_main.c:409:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | get_artifact_id(s) | ^ lev_main.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 | get_floor_type(c) | ^ lev_main.c:443:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 443 | get_room_type(s) | ^ lev_main.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 | get_trap_type(s) | ^ lev_main.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 475 | get_monster_id(s, c) | ^ lev_main.c:495:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 495 | get_object_id(s, c) | ^ lev_main.c:534:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 534 | check_monster_char(c) | ^ lev_main.c:544:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | check_object_char(c) | ^ lev_main.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 | what_map_char(c) | ^ lev_main.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 602 | scan_map(map) | ^ lev_main.c:771:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 771 | check_coord(x, y, str) | ^ lev_main.c:1101:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1101 | write_common_data(fd, typ, init, flgs) | ^ lev_main.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 | write_monsters(fd, nmonster_p, monsters_p) | ^ lev_main.c:1170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1170 | write_objects(fd, nobject_p, objects_p) | ^ lev_main.c:1204:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1204 | write_engravings(fd, nengraving_p, engravings_p) | ^ lev_main.c:1237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1237 | write_level_file(filename, room_level, maze_level) | ^ lev_main.c:1273:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1273 | write_maze(fd, maze) | ^ lev_main.c:1506:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1506 | write_rooms(fd, lev) | ^ lev_main.c:1620:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 1620 | free_rooms(lev) | ^ 26 warnings generated. cc -L/usr/X11R6/lib -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc.o panic.o ../src/drawing.o ../src/decl.o ../src/monst.o ../src/objects.o ld: warning: alloc.c(../src/alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() ld: warning: lev_lex.c(lev_lex.o:(yylex)): warning: strcpy() is almost always misused, please use strlcpy() ld: warning: lev_main.c(lev_main.o:(write_level_file)): warning: strcat() is almost always misused, please use strlcat() ( cd dat ; /usr/bin/make spec_levs ) ../util/lev_comp beholder.des ../util/lev_comp bigroom.des ../util/lev_comp blkmar.des ../util/lev_comp castle.des ../util/lev_comp grund.des ../util/lev_comp dragons.des ../util/lev_comp endgame.des ../util/lev_comp frnknstn.des ../util/lev_comp gehennom.des ../util/lev_comp giants.des ../util/lev_comp guild.des ../util/lev_comp knox.des ../util/lev_comp kobold-1.des ../util/lev_comp kobold-2.des ../util/lev_comp lich.des ../util/lev_comp mall-1.des ../util/lev_comp mall-2.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp mtemple.des ../util/lev_comp newmall.des ../util/lev_comp nightmar.des ../util/lev_comp nymph.des ../util/lev_comp oracle.des ../util/lev_comp rats.des ../util/lev_comp sea.des ../util/lev_comp sokoban.des ../util/lev_comp spiders.des ../util/lev_comp stor-1.des ../util/lev_comp stor-2.des ../util/lev_comp stor-3.des ../util/lev_comp tomb.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ( cd dat ; /usr/bin/make quest_levs ) ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Flame.des ../util/lev_comp Healer.des ../util/lev_comp Ice.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Necro.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Slayer.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des ../util/lev_comp Yeoman.des touch quest_levs Done. `../include/date.h' is up to date. `recover' is up to date. >>> Running package in games/slash-em at 1764443488.16 ===> games/slash-em ===> Faking installation for slash-em-3.4.3.7e7f1p9 ( cd src ; /usr/bin/make ) slashem is up to date. ( cd util ; /usr/bin/make recover ) `../include/date.h' is up to date. `recover' is up to date. ( cd dat ; /usr/bin/make data ) `data' is up to date. ( cd dat ; /usr/bin/make oracles ) `oracles' is up to date. ( cd dat ; /usr/bin/make options ) `options' is up to date. ( cd dat ; /usr/bin/make quest.dat ) `quest.dat' is up to date. ( cd dat ; /usr/bin/make rumors ) `rumors' is up to date. ( cd util ; /usr/bin/make dgn_comp ) `../include/date.h' is up to date. `dgn_comp' is up to date. ( cd dat ; /usr/bin/make dungeon ) `dungeon' is up to date. ( cd util ; /usr/bin/make lev_comp ) `../include/date.h' is up to date. `lev_comp' is up to date. ( cd dat ; /usr/bin/make spec_levs ) `spec_levs' is up to date. ( cd dat ; /usr/bin/make quest_levs ) `quest_levs' is up to date. ( cd doc; /usr/bin/make Guidebook.txt ) `Guidebook.txt' is up to date. mkdir -p /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin rm -rf /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/save rm -rf /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 rm -rf /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 mkdir -p /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/save mkdir -p /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 mkdir -p /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 rmdir ./-p *** Error 1 in target 'install' (ignored) chown bin /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/save /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 chgrp games /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/save /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 chmod 0755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/save /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 chown bin /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 chgrp games /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 rmdir: ./-p: No such file or directory chmod 0775 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ( /usr/bin/make dofiles ) target=`sed -n -e '/librarian/{' -e 's/.*/dlb/p' -e 'q' -e '}' -e '$s/.*/nodlb/p' < dat/options` ; /usr/bin/make dofiles-${target-nodlb} ( cd dat ; cp help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ) ( cd dat ; cp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ) ( cd /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ; chown bin help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ; chgrp games help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ; chmod 0664 help hh cmdhelp history opthelp wizhelp gypsy.txt data oracles options quest.dat rumors ) ( cd /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ; chown bin dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ; chgrp games dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ; chmod 0664 dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev beholder.lev blkmar.lev cav2fill.lev grund-?.lev demogorg.lev dispater.lev dragons.lev geryon.lev guild.lev kobold-?.lev lich.lev mall-?.lev mall.lev mineking.lev mtemple.lev nymph.lev rats.lev sea.lev spiders.lev stor-?.lev tomb.lev yeenoghu.lev frnknstn.lev nightmar.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev ) cp src/slashem /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 cp util/recover /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 cp dat/license doc/Guidebook.txt /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 rm -f /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem sed -e 's;/usr/games/lib/nethackdir;/usr/local/lib/slashemdir-3.4.3.7e7f1;' -e 's;HACKDIR/nethack;HACKDIR/slashem;' < sys/unix/nethack.sh > /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem ( cd /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ; chown bin slashem recover ; chgrp games slashem recover ) chmod 02755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/slashem chmod 0755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/recover ( cd /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ; chown bin license Guidebook.txt ; chgrp games license Guidebook.txt ; chmod 0664 license Guidebook.txt ) chown bin /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem chgrp games /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem chmod 0755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem touch /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/perm /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/record /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1/logfile ( cd /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/slashemdir-3.4.3.7e7f1 ; chown bin perm record logfile ; chgrp games perm record logfile ; chmod 0644 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. /exopi-obj/pobj/slash-em-3.4.3.7e7f1/bin/install -c -s -m 755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/slashem-3.4.3.7e7f1 strip: error: '/exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/INS@I1xo2Ku71k': The file was not recognized as a valid object file /exopi-obj/pobj/slash-em-3.4.3.7e7f1/bin/install -c -s -m 755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/slashem-0.0.7E7F1/util/strecover /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/bin/strecover-3.4.3.7e7f1 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/bin/install -c -m 644 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/slashem-0.0.7E7F1/doc/slashem.6 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/man/man6/slashem-3.4.3.7e7f1.6 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/bin/install -c -m 644 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/slashem-0.0.7E7F1/doc/strecover.6 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/man/man6/strecover-3.4.3.7e7f1.6 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/bin/install -d -m 755 /exopi-obj/pobj/slash-em-3.4.3.7e7f1/fake-amd64/usr/local/lib/X11/app-defaults ===> Building package for slash-em-3.4.3.7e7f1p9 Create /exopi-cvs/ports/packages/amd64/all/slash-em-3.4.3.7e7f1p9.tgz Creating package slash-em-3.4.3.7e7f1p9 reading plist| switching to /exopi-cvs/ports/games/slash-em/pkg/PFRAG.no-no_x11| switching to /exopi-cvs/ports/games/slash-em/pkg/PFRAG.no-qt-no-no_x11 checking dependencies| checking dependencies|games/hackdata checksumming| checksumming| | 0% checksumming| | 1% checksumming|* | 1% checksumming|* | 2% checksumming|** | 3% checksumming|** | 4% checksumming|*** | 4% checksumming|*** | 5% checksumming|*** | 6% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 9% checksumming|****** | 10% checksumming|****** | 11% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 17% checksumming|*********** | 18% checksumming|*********** | 19% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 21% checksumming|************* | 22% checksumming|************** | 22% checksumming|************** | 23% checksumming|************** | 24% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 26% checksumming|**************** | 27% checksumming|***************** | 27% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|********************** | 37% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 40% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 48% checksumming|****************************** | 49% checksumming|****************************** | 50% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************* | 52% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|********************************** | 57% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************ | 60% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|****************************************** | 70% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|******************************************** | 73% checksumming|********************************************* | 73% checksumming|********************************************* | 74% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 76% checksumming|*********************************************** | 77% checksumming|*********************************************** | 78% checksumming|************************************************ | 78% checksumming|************************************************ | 79% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 81% checksumming|************************************************** | 82% checksumming|************************************************** | 83% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 94% checksumming|********************************************************** | 95% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********************************** | 54% archiving|********************************************** | 72% archiving|********************************************** | 73% archiving|*********************************************** | 73% archiving|************************************************** | 77% archiving|************************************************** | 78% archiving|************************************************** | 79% archiving|*************************************************** | 79% archiving|*************************************************** | 80% archiving|**************************************************** | 80% archiving|**************************************************** | 81% archiving|**************************************************** | 82% archiving|******************************************************** | 88% archiving|********************************************************* | 88% archiving|********************************************************* | 89% archiving|********************************************************* | 90% archiving|********************************************************** | 90% archiving|********************************************************** | 91% archiving|*********************************************************** | 91% archiving|*********************************************************** | 92% archiving|*********************************************************** | 93% archiving|************************************************************ | 93% archiving|************************************************************** | 97% archiving|*************************************************************** | 98% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/slash-em-3.4.3.7e7f1p9.tgz >>> Running clean in games/slash-em at 1764443491.60 ===> games/slash-em ===> Cleaning for slash-em-3.4.3.7e7f1p9 >>> Ended at 1764443491.97 max_stuck=0.69/build=63.92/package=3.51/clean=0.39