>>> Building on exopi-5 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 1731964957.25 ===> 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.100.3 curses.15.0 X11.18.2 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] char *xcrypt(str) ^ makedefs.c:387:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Data); ^~~~~~~~~~~~~~ makedefs.c:387:14: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] version_id_string(outbuf, build_date) ^ makedefs.c:611:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:611:14: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] without_control(s) ^ makedefs.c:1384:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Data); ^~~~~~~~~~~~~~ makedefs.c:1384:14: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] mstrength(ptr) ^ makedefs.c:1509:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1509:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1550:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1550:14: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1865:14: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] eos(str) ^ makedefs.c:2020:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:2020:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:2045:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:2045:17: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] clear_path(you_row,you_col,y2,x2) ^ makedefs.c:2377:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:2377:17: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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: alloc.c(../src/alloc.o:(fmt_ptr)): 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] use_camera(obj) ^ apply.c:68:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:68:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] use_bell(optr) ^ apply.c:851:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:851:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] case 0: pline(nothing_happens); break; ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:883:20: note: treat the string as an argument to avoid this case 0: pline(nothing_happens); break; ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:895:14: note: treat the string as an argument to avoid this else pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] light_cocktail(obj) ^ apply.c:1363:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1363:17: note: treat the string as an argument to avoid this else pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1368:15: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] use_unicorn_horn(obj) ^ apply.c:1709:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1709:12: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] use_whip(obj) ^ apply.c:2566:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:2566:13: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:2607:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(msg_snap); ^~~~~~~~ apply.c:2607:14: note: treat the string as an argument to avoid this else pline(msg_snap); ^ "%s", apply.c:2629:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:2629:9: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:2632:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(msg_snap); ^~~~~~~~ apply.c:2632:15: note: treat the string as an argument to avoid this } else pline(msg_snap); ^ "%s", apply.c:2724:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:2724:9: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:2734:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(msg_snap); ^~~~~~~~ apply.c:2734:14: note: treat the string as an argument to avoid this else pline(msg_snap); ^ "%s", apply.c:2743:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_snap); ^~~~~~~~ apply.c:2743:8: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] use_pole(obj) ^ apply.c:2901:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2901:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] use_grapple (obj) ^ apply.c:3140:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:3140:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] add_class(cl, class) ^ apply.c:3709:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:3709:21: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:3757:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] arti_invoke(obj) ^ artifact.c:1484:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1484:12: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] title_to_mon(str, rank_indx, title_length) ^ botl.c:227:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Sprintf(eos(nb), mbot); ^~~~ botl.c:227:19: note: treat the string as an argument to avoid this Sprintf(eos(nb), mbot); ^ "%s", botl.c:229:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Sprintf(eos(nb), rank()); ^~~~~~ botl.c:229:19: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] savech(ch) ^ cmd.c:1036:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:1036:8: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:2911:9: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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] if (emsg) pline(emsg); ^~~~ cmd.c:2920:19: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] click_to_cmd(x, y, mod) ^ cmd.c:3233:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(in_line); ^~~~~~~ cmd.c:3233:10: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] use_crystal_ball(obj) ^ detect.c:817:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:817:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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] if (flags.verbose) pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:866:27: note: treat the string as an argument to avoid this if (flags.verbose) pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] dig_check(madeby, verbose, x, y) ^ dig.c:419:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(digtxt && !digging.quiet) pline(digtxt); /* after newsym */ ^~~~~~ dig.c:419:38: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] digactualhole(x, y, madeby, ttyp) ^ dig.c:658:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(You_fall); ^~~~~~~~ dig.c:658:10: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] map_object(obj, show) ^ display.c:276:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ display.c:294:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] goto_level(newlevel, at_stairs, falling, portal) ^ do.c:1368:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (mesg) pline(mesg); ^~~~ do.c:1368:22: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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] if (dfr_pre_msg) pline(dfr_pre_msg); ^~~~~~~~~~~ do.c:1516:29: note: treat the string as an argument to avoid this 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] if (dfr_post_msg) pline(dfr_post_msg); ^~~~~~~~~~~~ do.c:1526:30: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] toss_up(obj, hitsroof) ^ dothrow.c:902:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:902:24: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] place_level(proto_index, pd) ^ dungeon.c:681:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] panic(tbuf); ^~~~ dungeon.c:681:12: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] done_eating(message) ^ eat.c:474:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (message) pline(nomovemsg); ^~~~~~~~~ eat.c:474:22: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] rottenfood(obj) ^ eat.c:1446:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:1446:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (((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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] del_engr_at(x, y) ^ engrave.c:984:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:984:13: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:1077:9: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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] if (post_engr_text[0]) pline(post_engr_text); ^~~~~~~~~~~~~~ engrave.c:1194:31: note: treat the string as an argument to avoid this 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] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:1199:23: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] else ^ explode.c:660:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] else ^ explode.c:957:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ explode.c:1015:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] still_chewing(x,y) ^ hack.c:757:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (digtxt) You(digtxt); /* after newsym */ ^~~~~~ hack.c:757:21: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] unmul(msg_override) ^ hack.c:2585:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (*nomovemsg) pline(nomovemsg); ^~~~~~~~~ hack.c:2585:24: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] check_capacity(str) ^ hack.c:2774:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(str); ^~~ hack.c:2774:12: note: treat the string as an argument to avoid this 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getobj(let,word) ^ invent.c:1148:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1148:10: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1212:14: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1238:14: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] look_here(obj_cnt, picked_some) ^ invent.c:2464:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:2464:23: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.c:2473:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:2473:26: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.c:2480:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:2480:26: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] let_to_name(let,unpaid) ^ invent.c:2980:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2980:10: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (msg && cansee(x,y)) pline(msg); ^~~ lock.c:1114:32: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] bagotricks(bag) ^ makemon.c:2509:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:2509:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] cast_cleric_spell(mtmp, dmg, spellnum) ^ mcastu.c:695:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mcastu.c:695:23: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] hitmu(mtmp, mattk) ^ mhitu.c:1318:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:1318:24: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:2115:25: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:2231:21: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] gazemu(mtmp, mattk) /* monster gazes at you */ ^ mhitu.c:2358:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:2358:24: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] replmon(mtmp, mtmp2) ^ mon.c:1466:20: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:1466:20: note: place parentheses around the assignment to silence this warning if (unpolytime = stop_timer(UNPOLY_MON, (genericptr_t) mtmp)) { ^ ( ) mon.c:1466:20: note: use '==' to turn this assignment into an equality comparison 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] unpoly_monster(mtmp) ^ mon.c:1592:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(buf, Monnam(mtmp)); ^~~~~~~~~~~~ mon.c:1592:15: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] select_newcham_form(mon) ^ mon.c:2677:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (tries==5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 if (tries==5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mthrowu.c:536:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] precheck(mon, obj) ^ muse.c:84:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (vis) pline(empty); ^~~~~ muse.c:84:19: note: treat the string as an argument to avoid this if (vis) pline(empty); ^ "%s", muse.c:107:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (vis) pline(empty); ^~~~~ muse.c:107:22: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] shuffle(o_low, o_high, domaterial) ^ o_init.c:191:10: warning: self-comparison always evaluates to false [-Wtautological-compare] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] polyself(forcecontrol) ^ polyself.c:293:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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] if (tries==5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 if (tries==5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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] if (tries==5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 if (tries==5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] strange_feeling(obj,txt) ^ potion.c:1137:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(txt); ^~~ potion.c:1137:9: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] potionbreathe(obj) ^ potion.c:1611:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind && !u.usleep) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1611:33: note: treat the string as an argument to avoid this if (!Blind && !u.usleep) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] upgrade_obj(obj) ^ potion.c:2782:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:2782:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] offer_oracle (mtmp, otmp) ^ pray.c:1236:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1236:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1517:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] intemple(roomno) ^ priest.c:378:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] verbalize(msg1); ^~~~ priest.c:378:17: note: treat the string as an argument to avoid this verbalize(msg1); ^ "%s", priest.c:379:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (msg2) verbalize(msg2); ^~~~ priest.c:379:27: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] priest_talk(priest) ^ priest.c:448:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] verbalize(cranky_msg[rn2(3)]); ^~~~~~~~~~~~~~~~~~ priest.c:448:16: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] deliver_by_pline(qt_msg) ^ questpgr.c:368:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(out_line); ^~~~~~~~ questpgr.c:368:12: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] stripspe(obj) ^ read.c:273:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (obj->blessed) pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:273:26: note: treat the string as an argument to avoid this if (obj->blessed) pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:280:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] recharge(obj, curse_bless) ^ read.c:394:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:394:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:496:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:579:20: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] seffects(sobj) ^ read.c:1221:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else setmangry(mtmp); ^ read.c:1600:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1600:13: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] litroom(on,obj) ^ read.c:1758:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 C2x [-Wdeprecated-non-prototype] do_genocide(how) ^ read.c:1948:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:2071:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] cant_create(mtype, revival) ^ read.c:2191:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] in_out_region(x, y) ^ region.c:451:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(regions[i]->leave_msg); ^~~~~~~~~~~~~~~~~~~~~ region.c:451:9: note: treat the string as an argument to avoid this pline(regions[i]->leave_msg); ^ "%s", region.c:462:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(regions[i]->enter_msg); ^~~~~~~~~~~~~~~~~~~~~ region.c:462:9: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] getlev(fd, pid, lev, ghostly) ^ restore.c:780:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (wizard) pline(trickbuf); ^~~~~~~~ restore.c:780:24: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] pline(sbuf); ^~~~ shk.c:1634:9: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] shk_identify(slang, shkp) ^ shk.c:4669:27: warning: & has lower precedence than ==; == will be evaluated first [-Wparentheses] if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shk.c:4669:27: note: place parentheses around the '==' expression to silence this warning if (ESHK(shkp)->services & (SHK_ID_BASIC|SHK_ID_PREMIUM) == ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shk.c:4669:27: note: place parentheses around the & expression to evaluate it first 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] shk_weapon_works(slang, shkp) ^ shk.c:5025:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shk.c:5025:8: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ sounds.c:78:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(fountain_msg[rn2(3)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:78:11: note: treat the string as an argument to avoid this You_hear(fountain_msg[rn2(3)+hallu]); ^ "%s", sounds.c:87:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(sink_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:87:11: note: treat the string as an argument to avoid this You_hear(sink_msg[rn2(2)+hallu]); ^ "%s", sounds.c:106:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (which != 2) You_hear(throne_msg[which]); ^~~~~~~~~~~~~~~~~ sounds.c:106:28: note: treat the string as an argument to avoid this 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] You(swamp_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:118:6: note: treat the string as an argument to avoid this You(swamp_msg[rn2(2)+hallu]); ^ "%s", sounds.c:148:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(spooky_msg[rn2(15)+hallu*9]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:148:6: note: treat the string as an argument to avoid this You(spooky_msg[rn2(15)+hallu*9]); ^ "%s", sounds.c:256:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(barracks_msg[rn2(3)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:256:12: note: treat the string as an argument to avoid this You_hear(barracks_msg[rn2(3)+hallu]); ^ "%s", sounds.c:271:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(zoo_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~ sounds.c:271:12: note: treat the string as an argument to avoid this You_hear(zoo_msg[rn2(2)+hallu]); ^ "%s", sounds.c:289:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(shop_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:289:15: note: treat the string as an argument to avoid this You_hear(shop_msg[rn2(2)+hallu]); ^ "%s", sounds.c:309:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(ora_msg[rn2(3)+hallu*2]); ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:309:15: note: treat the string as an argument to avoid this 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] pline(blkmar_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:321:13: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] domonnoise(mtmp) ^ sounds.c:945:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else if (verbl_msg) verbalize(verbl_msg); ^~~~~~~~~ sounds.c:945:35: note: treat the string as an argument to avoid this 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] spelleffects(spell, atme) ^ spell.c:1062:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1062:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); /* Already have as intrinsic */ ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1069:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); /* Already have as intrinsic */ ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); /* Already have as intrinsic */ ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1079:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); /* Already have as intrinsic */ ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); /* Already have as intrinsic */ ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1086:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); /* Already have as intrinsic */ ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); /* Already have as intrinsic */ ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1096:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); /* Already have as intrinsic */ ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] } else pline(nothing_happens); /* Already have as intrinsic */ ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:1106:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); /* Already have as intrinsic */ ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] use_saddle(otmp) ^ steed.c:61:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ steed.c:61:12: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:347:23: note: expanded from macro 'Never_mind' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] teleport_pet(mtmp, force_it) ^ teleport.c:828:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 C2x [-Wdeprecated-non-prototype] domagicportal(ttmp) ^ teleport.c:1123:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 C2x [-Wdeprecated-non-prototype] tele_trap(trap) ^ teleport.c:1157:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 You(shudder_for_moment); ^ "%s", ../include/decl.h:343:28: note: expanded from macro 'shudder_for_moment' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ timeout.c:36:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(stoned_texts[SIZE(stoned_texts) - i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:36:9: note: treat the string as an argument to avoid this pline(stoned_texts[SIZE(stoned_texts) - i]); ^ "%s", timeout.c:63:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:63:7: note: treat the string as an argument to avoid this 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] pline(str); ^~~ timeout.c:110:13: note: treat the string as an argument to avoid this pline(str); ^ "%s", timeout.c:140:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(str); ^~~ timeout.c:140:9: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] 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] 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] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] fall_through(td) ^ trap.c:368:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(dont_fall); ^~~~~~~~~ trap.c:368:10: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] dofiretrap(box) ^ trap.c:2612:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trap.c:2612:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] else ^ uhitm.c:682:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] obj->otyp == BOOMERANG && !rnl(4) == 4-1) { ^ ~~ uhitm.c:933:31: note: add parentheses after the '!' to evaluate the comparison first obj->otyp == BOOMERANG && !rnl(4) == 4-1) { ^ ( ) uhitm.c:933:31: note: add parentheses around left hand side expression to silence this warning 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] hmonas(mon, tmp) /* attack monster as a monster. */ ^ uhitm.c:2815:4: warning: '/*' within block comment [-Wcomment] /* 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] _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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] poly_obj(obj, id) ^ zap.c:1407:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { ^ zap.c:1731:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] backfire(otmp) ^ zap.c:2139:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(!zappable(obj)) pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2139:27: note: treat the string as an argument to avoid this if(!zappable(obj)) pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] zapyourself(obj, ordinary) ^ zap.c:2344:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2344:25: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2561:21: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] zap_updown(obj) ^ zap.c:2867:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2867:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2878:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (genericptr_t) lits); ^~~~~~~~~~~~~~~~~~~ zap.c:3349:14: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] del_light_source(LS_TEMP, (genericptr_t) lits); ^~~~~~~~~~~~~~~~~~~ zap.c:4160:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:4160:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:348:26: note: expanded from macro 'vision_clears' #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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] zap_over_floor(x, y, type, shopdamage) ^ zap.c:4333:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Norep(msgtxt); ^~~~~~ zap.c:4333:9: note: treat the string as an argument to avoid this Norep(msgtxt); ^ "%s", zap.c:4465:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(see_txt); ^~~~~~~ zap.c:4465:10: note: treat the string as an argument to avoid this pline(see_txt); ^ "%s", zap.c:4468:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(sense_txt); ^~~~~~~~~ zap.c:4468:8: note: treat the string as an argument to avoid this You(sense_txt); ^ "%s", zap.c:4470:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (flags.soundok) You_hear(hear_txt); ^~~~~~~~ zap.c:4470:32: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] resist(mtmp, oclass, damage, tell) ^ zap.c:4900:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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 pline(thats_enough_tries); ^ "%s", ../include/decl.h:341:28: note: expanded from macro 'thats_enough_tries' #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] aborttech(tech) ^ tech.c:240:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] techeffects(tech_no) ^ tech.c:737:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tech.c:737:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:340:28: note: expanded from macro 'nothing_happens' #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] You(no_elbow_room); ^~~~~~~~~~~~~ tech.c:1098:11: note: treat the string as an argument to avoid this 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] {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] {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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] (void) XtAppSetErrorHandler(app_context, (XtErrorHandler) hangup); ^~~~~~~~~~~~~~~~~~~~~~~ /usr/X11R6/include/X11/Intrinsic.h:1786:1: note: passing argument to parameter here ); ^ ../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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] (*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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] process_substitutions(ofp) ^ 6 warnings generated. ld: warning: tilemap.c(/tmp/tilemap-3d6c5c.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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] get_feature_notice_ver(str) ^ 10 warnings generated. Loading ... ld: warning: alloc.c(alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() ld: warning: apply.c(apply.o:(fig_transform)): 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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_yacc.c(dgn_yacc.o:(yyparse)): 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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] /* # define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:232:42: warning: '/*' within block comment [-Wcomment] /* # 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] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:214:19: warning: '/*' within block comment [-Wcomment] /* #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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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 C2x [-Wdeprecated-non-prototype] 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_main.c(lev_main.o:(write_level_file)): warning: strcat() is almost always misused, please use strlcat() ld: warning: lev_lex.c(lev_lex.o:(yylex)): warning: strcpy() is almost always misused, please use strlcpy() ( 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 1731965058.38 ===> 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 rmdir: ./-p: No such file or directory *** 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 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@bHYudbar0X': 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 1731965063.74 ===> games/slash-em ===> Cleaning for slash-em-3.4.3.7e7f1p9 >>> Ended at 1731965064.31 max_stuck=1.58/build=101.07/package=5.41/clean=0.61