>>> Building on exopi-1 under games/nethack/3.4,no_x11 DIST = [games/nethack/3.4:nethack-343-src.tgz] FULLPKGNAME = nethack-3.4.3p17-no_x11 RDEPENDS = [games/hackdata] distfiles size=3497458 >>> Running build in games/nethack/3.4,no_x11 at 1713348530.39 ===> games/nethack/3.4,no_x11 ===> Building from scratch nethack-3.4.3p17-no_x11 ===> Verifying specs: c curses ===> found c.100.0 curses.15.0 ===> Checking files for nethack-3.4.3p17-no_x11 `/exopi-cvs/ports/distfiles/nethack-343-src.tgz' is up to date. >> (SHA256) nethack-343-src.tgz: OK ===> Extracting for nethack-3.4.3p17-no_x11 ===> Patching for nethack-3.4.3p17-no_x11 ===> 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 Mon Dec 8 00:39:13 2003 |+++ include/config.h Tue Aug 10 13:32:55 2004 -------------------------- Patching file include/config.h using Plan A... Hunk #1 succeeded at 84. Hunk #2 succeeded at 126. Hunk #3 succeeded at 141. Hunk #4 succeeded at 170. Hunk #5 succeeded at 303. 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 Mon Dec 8 00:39:13 2003 |+++ include/system.h Wed May 19 06:01:29 2010 -------------------------- Patching file include/system.h using Plan A... Hunk #1 succeeded at 521. 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 Sat Mar 21 18:39:10 2015 |+++ include/tcap.h Sat Mar 21 18:39:33 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 Mon Dec 8 00:39:13 2003 |+++ include/unixconf.h Tue Aug 10 13:34:38 2004 -------------------------- Patching file include/unixconf.h using Plan A... Hunk #1 succeeded at 19. Hunk #2 succeeded at 36. Hunk #3 succeeded at 51. Hunk #4 succeeded at 137. Hunk #5 succeeded at 148. Hunk #6 succeeded at 289. Hunk #7 succeeded at 313. done ===> Applying OpenBSD patch patch-src_files_c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- src/files.c.orig Sat Feb 11 09:31:55 2006 |+++ src/files.c Sat Feb 11 09:32:01 2006 -------------------------- Patching file src/files.c using Plan A... Hunk #1 succeeded at 1153. 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 Dec 8 00:39:13 2003 |+++ sys/share/unixtty.c Sat Mar 21 18:40:41 2015 -------------------------- Patching file sys/share/unixtty.c using Plan A... Hunk #1 succeeded at 121. 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 Mon Dec 8 00:39:13 2003 |+++ sys/unix/Makefile.doc Tue Aug 10 13:32:07 2004 -------------------------- Patching file sys/unix/Makefile.doc using Plan A... Hunk #1 succeeded at 41. 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 Mon Dec 8 00:39:13 2003 |+++ sys/unix/Makefile.src Sat Mar 4 13:30:02 2017 -------------------------- Patching file sys/unix/Makefile.src using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 152. Hunk #3 succeeded at 214. Hunk #4 succeeded at 233. Hunk #5 succeeded at 253. Hunk #6 succeeded at 388. Hunk #7 succeeded at 455. 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 Mon Dec 8 00:39:13 2003 |+++ sys/unix/Makefile.top Tue Aug 10 13:37:18 2004 -------------------------- Patching file sys/unix/Makefile.top using Plan A... Hunk #1 succeeded at 13. Hunk #2 succeeded at 35. Hunk #3 succeeded at 187. 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 Wed Mar 20 18:43:54 2002 |+++ sys/unix/Makefile.utl Fri Mar 22 08:11:35 2002 -------------------------- 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 Fri Mar 20 14:12:00 2015 |+++ util/makedefs.c Fri Mar 20 14:13:23 2015 -------------------------- Patching file util/makedefs.c using Plan A... Hunk #1 succeeded at 543. Hunk #2 succeeded at 569. 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: -------------------------- |Don't use malloc.h header on OpenBSD. | |--- win/Qt/qt_win.cpp.orig Thu Nov 20 22:02:50 2014 |+++ win/Qt/qt_win.cpp Thu Nov 20 22:13:01 2014 -------------------------- Patching file win/Qt/qt_win.cpp using Plan A... Hunk #1 succeeded at 104. 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:21:20 2010 |+++ win/tty/termcap.c Wed May 19 09:21:53 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 nethack-3.4.3p17-no_x11 ===> Configuring for nethack-3.4.3p17-no_x11 Lucky you! Symbolic links. ===> Building for nethack-3.4.3p17-no_x11 ( cd src ; /usr/bin/make ) touch ../src/config.h-t cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c monst.c In file included from monst.c:5: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from monst.c:5: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c objects.c In file included from objects.c:8: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from objects.c:8: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -I../include -c makedefs.c In file included from makedefs.c:10: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from makedefs.c:10: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from makedefs.c:10: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ makedefs.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] main(argc, argv) ^ makedefs.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] do_makedefs(options) ^ makedefs.c:329: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:361:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Data); ^~~~~~~~~~~~~~ makedefs.c:361:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Data); ^ "%s", makedefs.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] version_string(outbuf) ^ makedefs.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] version_id_string(outbuf, build_date) ^ makedefs.c:560:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:560:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.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] d_filter(line) ^ makedefs.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] h_filter(line) ^ makedefs.c:1192: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: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] without_control(s) ^ makedefs.c:1232:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Data); ^~~~~~~~~~~~~~ makedefs.c:1232:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Data); ^ "%s", makedefs.c:1263: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: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] mstrength(ptr) ^ makedefs.c:1354:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1354:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1395:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1395:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1433: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: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] qt_control(s) ^ makedefs.c:1448: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: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] new_id (code) ^ makedefs.c:1475: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:1488: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:1507: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:1546: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:1682: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:1711:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1711:14: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.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] tmpdup(str) ^ makedefs.c:1823: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:1866:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1866:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:1891:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Fprintf(ofp,Dont_Edit_Code); ^~~~~~~~~~~~~~ makedefs.c:1891:17: note: treat the string as an argument to avoid this Fprintf(ofp,Dont_Edit_Code); ^ "%s", makedefs.c:2132: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) ^ 37 warnings generated. cc -o makedefs makedefs.o ../src/monst.o ../src/objects.o makedefs.c(makedefs.o:(do_objs)): warning: sprintf() is often misused, please use snprintf() 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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from allmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ allmain.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] welcome(new_game) ^ 6 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c alloc.c cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c apply.c In file included from alloc.c:11: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from alloc.c:11: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ alloc.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] alloc(lth) ^ alloc.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fmt_ptr(ptr, buf) ^ 7 warnings generated. In file included from apply.c:5: In file included from ../include/hack.h:9: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from apply.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ apply.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] use_camera(obj) ^ apply.c:65:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:65:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.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] use_towel(obj) ^ apply.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] its_dead(rx, ry, resp) ^ apply.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] use_stethoscope(obj) ^ apply.c:313: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: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] use_magic_whistle(obj) ^ apply.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] um_dist(x,y,n) ^ apply.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] o_unleash(otmp) /* otmp is about to be destroyed or stolen */ ^ apply.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] m_unleash(mtmp, feedback) /* mtmp is about to die, or become untame */ ^ apply.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] use_leash(obj) ^ apply.c:491: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: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] check_leash(x, y) ^ apply.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] use_mirror(obj) ^ apply.c:744: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:805:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:805:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:837:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] case 0: pline(nothing_happens); break; ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:837:20: note: treat the string as an argument to avoid this case 0: pline(nothing_happens); break; ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:849:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:849:14: note: treat the string as an argument to avoid this else pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:862: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: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] use_candle(optr) ^ apply.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] snuff_candle(otmp) /* call in drop, throw, and put in box, etc. */ ^ apply.c:1004: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:1026: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: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] use_lamp(obj) ^ apply.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] light_cocktail(obj) ^ apply.c:1195:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1195:17: note: treat the string as an argument to avoid this else pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:1200:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1200:15: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.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] jump(magic) ^ apply.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] tinnable(corpse) ^ apply.c:1378: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:1445: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:1513:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:1513:12: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.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] fig_transform(arg, timeout) ^ apply.c:1683: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: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] use_figurine(optr) ^ apply.c:1757: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: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] use_stone(tstone) ^ apply.c:1975: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:2110: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:2175:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:2175:13: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:2216:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(msg_snap); ^~~~~~~~ apply.c:2216:14: note: treat the string as an argument to avoid this else pline(msg_snap); ^ "%s", apply.c:2238:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:2238:9: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:2241:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(msg_snap); ^~~~~~~~ apply.c:2241:15: note: treat the string as an argument to avoid this } else pline(msg_snap); ^ "%s", apply.c:2333:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_slipsfree); ^~~~~~~~~~~~~ apply.c:2333:9: note: treat the string as an argument to avoid this pline(msg_slipsfree); ^ "%s", apply.c:2343:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else pline(msg_snap); ^~~~~~~~ apply.c:2343:14: note: treat the string as an argument to avoid this else pline(msg_snap); ^ "%s", apply.c:2352:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(msg_snap); ^~~~~~~~ apply.c:2352:8: note: treat the string as an argument to avoid this pline(msg_snap); ^ "%s", apply.c:2367: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:2429:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2429:12: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:2434: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:2473: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:2591:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2591:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.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] do_break_wand(obj) ^ apply.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] add_class(cl, class) ^ apply.c:2992:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ apply.c:2992:13: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ apply.c:3027: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) ^ 60 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from artifact.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ artifact.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] save_artifacts(fd) ^ artifact.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] restore_artifacts(fd) ^ artifact.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] artiname(artinum) ^ artifact.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] mk_artifact(otmp, alignment) ^ artifact.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] artifact_name(name, otyp) ^ artifact.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] exist_artifact(otyp, name) ^ artifact.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] artifact_exists(otmp, name, mod) ^ artifact.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] spec_ability(otmp, abil) ^ artifact.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] confers_luck(obj) ^ artifact.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] arti_reflects(obj) ^ artifact.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] restrict_name(otmp, name) /* returns 1 if name is restricted for otmp->otyp */ ^ artifact.c:313: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: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] defends(adtyp, otmp) ^ artifact.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] protects(adtyp, otmp) ^ artifact.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] set_artifact_intrinsic(otmp,on,wp_mask) ^ artifact.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] touch_artifact(obj,mon) ^ artifact.c:562: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: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] spec_m2(otmp) ^ artifact.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] spec_abon(otmp, mon) ^ artifact.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] spec_dbon(otmp, mon, tmp) ^ artifact.c:666: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:685: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: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] disp_artifact_discoveries(tmpwin) ^ artifact.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] Mb_hit(magr, mdef, mb, dmgptr, dieroll, vis, hittee) ^ artifact.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] artifact_hit(magr, mdef, otmp, dmgptr, dieroll) ^ artifact.c:1185: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:1194:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ artifact.c:1194:12: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ artifact.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] artifact_light(obj) ^ artifact.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] arti_speak(obj) ^ artifact.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] artifact_has_invprop(otmp, inv_prop) ^ artifact.c:1448: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from attrib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ attrib.c:105:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] adjattrib(ndx, incr, msgflg) ^ attrib.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gainstr(otmp, incr) ^ attrib.c:179:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] losestr(num) /* may kill you; cause may be poison or monster like 'a' */ ^ attrib.c:199:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] change_luck(n) ^ attrib.c:208:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stone_luck(parameter) ^ attrib.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] exercise(i, inc_or_dec) ^ attrib.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] init_attr(np) ^ attrib.c:527: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: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] adjabil(oldlevel,newlevel) ^ attrib.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] acurr(x) ^ attrib.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] adjalign(n) ^ 16 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ball.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ball.c:173:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_bc(already_blind) ^ ball.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] move_bc(before, control, ballx, bally, chainx, chainy) ^ ball.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] drag_ball(x, y, bc_control, ballx, bally, chainx, chainy, cause_delay, ^ ball.c:643: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) ^ 9 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from bones.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ bones.c:19:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] no_bones_level(lev) ^ bones.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodfruit(id) ^ bones.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] resetobjs(ochain,restore) ^ bones.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] drop_upon_death(mtmp, cont) ^ bones.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] savebones(corpse) ^ 10 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from botl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ botl.c:49: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:66: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: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] title_to_mon(str, rank_indx, title_length) ^ botl.c:191:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Sprintf(nb = eos(nb), mbot); ^~~~ botl.c:191:25: note: treat the string as an argument to avoid this Sprintf(nb = eos(nb), mbot); ^ "%s", botl.c:193:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Sprintf(nb = eos(nb), rank()); ^~~~~~ botl.c:193:25: note: treat the string as an argument to avoid this Sprintf(nb = eos(nb), rank()); ^ "%s", botl.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] describe_level(buf) ^ 11 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from cmd.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ cmd.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] set_occupation(fn, txt, xtime) ^ cmd.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] pushch(ch) ^ cmd.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] savech(ch) ^ cmd.c:605:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:605:8: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ cmd.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] enlght_line(start, middle, end) ^ cmd.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] enlght_combatinc(inctyp, incamt, final, outbuf) ^ cmd.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] enlightenment(final) ^ cmd.c:1254: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:1591: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: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] obj_chain(win, src, chain, total_count, total_size) ^ cmd.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] mon_invent_chain(win, src, chain, total_count, total_size) ^ cmd.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] contained(win, src, total_count, total_size) ^ cmd.c:1679: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:1804: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:2005: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:2017: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:2027: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:2056: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:2063:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmd.c:2063:9: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ cmd.c:2072:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (emsg) pline(emsg); ^~~~ cmd.c:2072:19: note: treat the string as an argument to avoid this if (emsg) pline(emsg); ^ "%s", cmd.c:2079: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: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] help_dir(sym, msg) ^ cmd.c:2207: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:2220: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:2343:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(in_line); ^~~~~~~ cmd.c:2343:10: note: treat the string as an argument to avoid this pline(in_line); ^ "%s", cmd.c:2535: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dbridge.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dbridge.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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) ^ 28 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from decl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from detect.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ detect.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] level_distance(where) ^ detect.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_crystal_ball(obj) ^ detect.c:811:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:811:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ detect.c:860:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (flags.verbose) pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ detect.c:860:27: note: treat the string as an argument to avoid this if (flags.verbose) pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ detect.c:911: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:982: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:1002: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:1048: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: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] find_trap(trap) ^ detect.c:1159: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) ^ 26 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dig.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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:382:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(digtxt && !digging.quiet) pline(digtxt); /* after newsym */ ^~~~~~ dig.c:382:38: note: treat the string as an argument to avoid this if(digtxt && !digging.quiet) pline(digtxt); /* after newsym */ ^ "%s", dig.c:446: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: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] digactualhole(x, y, madeby, ttyp) ^ dig.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] dighole(pit_only) ^ dig.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] use_pick_axe(obj) ^ dig.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] use_pick_axe2(obj) ^ dig.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] watch_dig(mtmp, x, y, zap) ^ dig.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] mdig_tunnel(mtmp) ^ dig.c:1286: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:1340: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: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] unearth_objs(x, y) ^ dig.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] rot_organic(arg, timeout) ^ dig.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] rot_corpse(arg, timeout) ^ 22 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from display.c:118: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ display.c:168:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] magic_map_background(x, y, show) ^ display.c:213:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map_background(x, y, show) ^ display.c:231:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map_trap(trap, show) ^ display.c:250:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map_object(obj, show) ^ display.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] map_invisible(x, y) ^ display.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] unmap_object(x, y) ^ display.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] map_location(x,y,show) ^ display.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] display_monster(x, y, mon, sightflags, worm_tail) ^ display.c:456: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: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] feel_location(x, y) ^ display.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] newsym(x,y) ^ display.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] shieldeff(x,y) ^ display.c:829: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: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] swallowed(first) ^ display.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] under_water(mode) ^ display.c:1024: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: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] show_glyph(x,y,glyph) ^ display.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] row_refresh(start,stop,y) ^ display.c:1340: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:1389: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:1486: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: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] zapdir_to_glyph(dx, dy, beam_type) ^ display.c:1532: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:1590: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:1619: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:1637: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:1660: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: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] set_crosswall(x, y) ^ display.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] set_seenv(lev, x0, y0, x, y) ^ 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] t_warn(lev) ^ 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] wall_angle(lev) ^ 36 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c dlb.c In file included from dlb.c:5: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dlb.c:5: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from do.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] flooreffects(obj,x,y,verb) ^ do.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] doaltarobj(obj) /* obj is an object dropped on an altar */ ^ do.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] trycall(obj) ^ do.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] dosinkring(obj) /* obj is a ring being dropped over a kitchen sink */ ^ do.c:412: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: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] drop(obj) ^ do.c:518: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:537: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: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] obj_no_longer_held(obj) ^ do.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] menu_drop(retry) ^ do.c:953: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:1313:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (mesg) pline(mesg); ^~~~ do.c:1313:22: note: treat the string as an argument to avoid this if (mesg) pline(mesg); ^ "%s", do.c:1430: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:1462:29: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfr_pre_msg) pline(dfr_pre_msg); ^~~~~~~~~~~ do.c:1462:29: note: treat the string as an argument to avoid this if (dfr_pre_msg) pline(dfr_pre_msg); ^ "%s", do.c:1472:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfr_post_msg) pline(dfr_post_msg); ^~~~~~~~~~~~ do.c:1472:30: note: treat the string as an argument to avoid this if (dfr_post_msg) pline(dfr_post_msg); ^ "%s", do.c:1489: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) ^ do.c:1575: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:1637: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from do_name.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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:998: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:1031: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) ^ 26 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from do_wear.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ do_wear.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] off_msg(otmp) ^ do_wear.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] on_msg(otmp) ^ do_wear.c:681: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:788: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:894: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:901: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: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] Blindf_on(otmp) ^ do_wear.c:941: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: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] donning(otmp) /* also checks for doffing */ ^ do_wear.c:1165: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: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] armoroff(otmp) ^ do_wear.c:1232: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:1239: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: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] canwearobj(otmp,mask,noisy) ^ do_wear.c:1686: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:1712: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:1726: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:1760: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:2061: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:2104: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:2162: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) ^ 26 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dog.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dog.c:13:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] initedog(mtmp) ^ dog.c:49: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: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_arrive(mtmp, with_you) ^ dog.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] mon_catchup_elapsed_time(mtmp, nmv) ^ dog.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] keepdogs(pets_only) ^ dog.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] migrate_to_level(mtmp, tolev, xyloc, cc) ^ dog.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] dogfood(mon,obj) ^ dog.c:745: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:847: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: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] abuse_dog(mtmp) ^ 15 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dogmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dogmove.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] DROPPABLES(mon) ^ dogmove.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] cursed_object_at(x, y) ^ dogmove.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] dog_nutrition(mtmp, obj) ^ dogmove.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] dog_eat(mtmp, obj, x, y, devour) ^ dogmove.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] dog_hunger(mtmp, edog) ^ dogmove.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] dog_invent(mtmp, edog, udist) ^ dogmove.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] dog_goal(mtmp, edog, after, udist, whappr) ^ dogmove.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] dog_move(mtmp, after) ^ dogmove.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] could_reach_item(mon, nx, ny) ^ dogmove.c:815: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:852: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dokick.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] kick_monster(x, y) ^ dokick.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] ghitm(mtmp, gold) ^ dokick.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] container_impact_dmg(obj) ^ dokick.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] kick_object(x, y) ^ dokick.c:596: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: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] drop_to(cc, loc) ^ dokick.c:1150: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:1272: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:1432: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:1461: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) ^ 16 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dothrow.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dothrow.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] throw_obj(obj, shotlimit) ^ dothrow.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] hitfloor(obj) ^ dothrow.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] walk_path(src_cc, dest_cc, check_proc, arg) ^ dothrow.c:447: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: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] mhurtle_step(arg, x, y) ^ dothrow.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] hurtle(dx, dy, range, verbose) ^ dothrow.c:650: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:681: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: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] toss_up(obj, hitsroof) ^ dothrow.c:773:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dothrow.c:773:24: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ dothrow.c:829: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: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] sho_obj_return_to_u(obj) ^ dothrow.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] throwit(obj, wep_mask, twoweap) ^ dothrow.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] omon_adj(mon, obj, mon_notices) ^ dothrow.c:1150: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: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] thitmonst(mon, obj) ^ dothrow.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] gem_accept(mon, obj) ^ dothrow.c:1519: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: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] breaks(obj, x, y) ^ dothrow.c:1554: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:1626: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:1650: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: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] throw_gold(obj) ^ 28 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from drawing.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ drawing.c:619:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_char_to_objclass(ch) ^ drawing.c:633:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_char_to_monclass(ch) ^ drawing.c:643:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] assign_graphics(graph_chars, glth, maxlen, offset) ^ drawing.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] switch_graphics(gr_set_flag) ^ drawing.c:779:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] assign_rogue_graphics(is_rlevel) ^ 10 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dungeon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dungeon.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] save_dungeon(fd, perform_write, free_data) ^ dungeon.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] restore_dungeon(fd) ^ dungeon.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] Fread(ptr, size, nitems, stream) ^ dungeon.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] dname_to_dnum(s) ^ dungeon.c:215: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:226: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: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] parent_dnum(s, pd) ^ dungeon.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] level_range(dgn, base, rand, chain, pd, adjusted_base) ^ 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] parent_dlevel(s, pd) ^ dungeon.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] correct_branch_type(tbr) ^ dungeon.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] insert_branch(new_branch, extract_first) ^ dungeon.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] add_branch(dgn, child_entry_level, pd) ^ dungeon.c:449: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:471: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:506: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: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] pick_level(map, nth) ^ dungeon.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] place_level(proto_index, pd) ^ dungeon.c:677:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] panic(tbuf); ^~~~ dungeon.c:677:12: note: treat the string as an argument to avoid this panic(tbuf); ^ "%s", dungeon.c:903: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:910: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: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] deepest_lev_reached(noquest) /* return the lowest level explored in the game*/ ^ dungeon.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] ledger_no(lev) ^ dungeon.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] ledger_to_dnum(ledgerno) ^ dungeon.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] ledger_to_dlev(ledgerno) ^ dungeon.c:1007: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:1014: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:1025: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: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] Is_branchlev(lev) ^ dungeon.c:1055: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: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] prev_level(at_stairs) ^ dungeon.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] u_on_newpos(x, y) ^ dungeon.c:1151: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:1162: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:1169: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: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] Can_fall_thru(lev) ^ dungeon.c:1195: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: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] get_level(newlevel, levnum) ^ dungeon.c:1272: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: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] In_mines(lev) /* are you in the mines dungeon? */ ^ dungeon.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] dungeon_branch(s) ^ dungeon.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] at_dgn_entrance(s) ^ dungeon.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] In_V_tower(lev) /* is `lev' part of Vlad's tower? */ ^ dungeon.c:1340: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:1349: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:1371: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:1381: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:1389: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: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] assign_level(dest, src) /* equivalent to dest = source */ ^ dungeon.c:1407: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:1424: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: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] Invocation_lev(lev) ^ dungeon.c:1470: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:1538: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: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] print_branch(win, dnum, lower_bound, upper_bound, bymenu, lchoices) ^ dungeon.c:1591: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from eat.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ eat.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] is_edible(obj) ^ eat.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] food_xname(food, the_pfx) ^ eat.c:226: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: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] touchfood(otmp) ^ eat.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] food_disappears(obj) ^ eat.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] food_substitution(old_obj, new_obj) ^ eat.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] done_eating(message) ^ eat.c:425:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (message) pline(nomovemsg); ^~~~~~~~~ eat.c:425:22: note: treat the string as an argument to avoid this if (message) pline(nomovemsg); ^ "%s", eat.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] maybe_cannibal(pm, allowmsg) ^ eat.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] cprefx(pm) ^ eat.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] intrinsic_possible(type, ptr) ^ eat.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] givit(type, ptr) ^ eat.c:784: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: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] costly_tin(verb) ^ eat.c:1133: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:1200: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:1211:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ eat.c:1211:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ eat.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] eatcorpse(otmp) /* called when a corpse is selected as food */ ^ eat.c:1338: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:1377: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: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] accessory_has_effect(otmp) ^ eat.c:1467: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: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] foodword(otmp) ^ eat.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] fpostfx(otmp) /* called after consuming (non-corpse) food */ ^ eat.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] edibility_prompts(otmp) ^ eat.c:2052: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: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] morehungry(num) /* called after vomiting and after performing feats of magic */ ^ eat.c:2179: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: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] newuhs(incr) /* compute and comment on your (new?) hunger status */ ^ eat.c:2401: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,corpsecheck) /* get food from floor or pack */ ^ eat.c:2496: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: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] consume_oeaten(obj, amt) ^ eat.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] maybe_finished_meal(stopping) ^ 38 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from end.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ end.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] done1(sig_unused) /* called as signal() handler, so sent at least one arg */ ^ end.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] done_intr(sig_unused) /* called as signal() handler, so sent at least one arg */ ^ end.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] done_hangup(sig) /* signal() handler */ ^ end.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] done_in_by(mtmp) ^ end.c:313: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: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] disclose(how,taken) ^ end.c:412:1: 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: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] get_valuables(list) ^ end.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] sort_valuables(list, size) ^ end.c:498: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: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] done(how) ^ end.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] container_contents(list, identified, all_containers) ^ end.c:960: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: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] list_vanquished(defquery, ask) ^ end.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] list_genocided(defquery, ask) ^ 20 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from engrave.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ engrave.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] random_engraving(outbuf) ^ engrave.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wipeout_text(engr, cnt, seed) ^ engrave.c:148:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] surface(x, y) ^ engrave.c:180:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ceiling(x, y) ^ engrave.c:209:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] engr_at(x, y) ^ engrave.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sengr_at(s, x, y) ^ engrave.c:243:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] u_wipe_engr(cnt) ^ engrave.c:254:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] wipe_engr_at(x,y,cnt) ^ engrave.c:277:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] read_engr_at(x,y) ^ engrave.c:355:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_engr_at(x,y,s,e_time,e_type) ^ engrave.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] del_engr_at(x, y) ^ engrave.c:893:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:893:13: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ engrave.c:986:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:986:9: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ engrave.c:1103:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (post_engr_text[0]) pline(post_engr_text); ^~~~~~~~~~~~~~ engrave.c:1103:31: note: treat the string as an argument to avoid this if (post_engr_text[0]) pline(post_engr_text); ^ "%s", engrave.c:1108:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ engrave.c:1108:23: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ engrave.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] save_engravings(fd, mode) ^ engrave.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] rest_engravings(fd) ^ engrave.c:1162: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:1185: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:1239: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) ^ 25 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from exper.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ exper.c:11:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] newuexp(lev) ^ exper.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] enermod(en) ^ exper.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] experience(mtmp, nk) /* return # of exp points for mtmp after nk killed */ ^ exper.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] more_experienced(exp, rexp) ^ exper.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] losexp(drainer) /* e.g., hit by drain life attack */ ^ exper.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] pluslvl(incr) ^ exper.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] rndexp(gaining) ^ 12 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from explode.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ explode.c:25:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] explode(x, y, type, dam, olet, expltype) ^ explode.c:405: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: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] splatter_burning_oil(x, y) ^ 8 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from extralev.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ extralev.c:32:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roguejoin(x1,y1,x2,y2, horiz) ^ extralev.c:64:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] roguecorr(x, y, dir) ^ extralev.c:149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] miniwalk(x, y) ^ extralev.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] corr(x,y) ^ 9 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from files.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ files.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] fname_encode(legal, quotechar, s, callerbuf, bufsz) ^ files.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] fname_decode(quotechar, s, callerbuf, bufsz) ^ files.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] fqname(basename, whichprefix, buffnum) ^ files.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] validate_prefix_locations(reasonbuf) ^ files.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] fopen_datafile(filename, mode, prefix) ^ files.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] set_levelfile_name(file, lev) ^ files.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] create_levelfile(lev, errbuf) ^ files.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] open_levelfile(lev, errbuf) ^ files.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] delete_levelfile(lev) ^ files.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] set_bonesfile_name(file, lev) ^ files.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] create_bonesfile(lev, bonesid, errbuf) ^ files.c:711: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: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] open_bonesfile(lev, bonesid) ^ files.c:760: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: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] save_savefile_name(fd) ^ files.c:1030: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: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] redirect(filename, mode, stream, uncomp) ^ files.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] docompress_file(filename, uncomp) ^ files.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] compress(filename) ^ files.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] uncompress(filename) ^ files.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] make_lockname(filename, lockname) ^ files.c:1291: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: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] unlock_file(filename) ^ files.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] fopen_config_file(filename) ^ files.c:1600: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:1678: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:1981: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:2159: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:2243: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) ^ 34 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from fountain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ fountain.c:16:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] floating_above(what) ^ fountain.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] dogushforth(drinking) /* Gushing forth along LOS from (u.ux, u.uy) */ ^ fountain.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] gush(x, y, poolcnt) ^ fountain.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] dryup(x, y, isyou) ^ fountain.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] dipfountain(obj) ^ fountain.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] breaksink(x,y) ^ 11 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from hack.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ hack.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] revive_nasty(x, y, msg) ^ hack.c:313: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:426:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (digtxt) You(digtxt); /* after newsym */ ^~~~~~ hack.c:426:21: note: treat the string as an argument to avoid this if (digtxt) You(digtxt); /* after newsym */ ^ "%s", hack.c:436: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: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] may_dig(x,y) ^ hack.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] may_passwall(x,y) ^ hack.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] bad_rock(mdat,x,y) ^ hack.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] invocation_pos(x, y) ^ hack.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] test_move(ux, uy, dx, dy, mode) ^ hack.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] findtravelpath(guess) ^ hack.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] spoteffects(pick) ^ hack.c:1569: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:1583: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: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] in_town(x, y) ^ hack.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] move_update(newlev) ^ hack.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] check_special_room(newlev) ^ hack.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] nomul(nval) ^ hack.c:2079: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:2085:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (*nomovemsg) pline(nomovemsg); ^~~~~~~~~ hack.c:2085:24: note: treat the string as an argument to avoid this if (*nomovemsg) pline(nomovemsg); ^ "%s", hack.c:2127: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: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] calc_capacity(xtra_wt) ^ hack.c:2255: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:2260:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(str); ^~~ hack.c:2260:12: note: treat the string as an argument to avoid this pline(str); ^ "%s", 28 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from hacklib.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] yyyymmdd(date) ^ 31 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from invent.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ invent.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] assigninvlet(otmp) ^ invent.c:124: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: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] merged(potmp, pobj) ^ invent.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] addinv_core1(obj) ^ invent.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] addinv_core2(obj) ^ invent.c:301: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:349: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(obj) ^ invent.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] hold_another_object(obj, drop_fmt, drop_arg, hold_msg) ^ 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] useupall(obj) ^ invent.c:452: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: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] consume_obj_charge(obj, maybe_unpaid) ^ invent.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] freeinv_core(obj) ^ invent.c:532: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: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] delallobj(x, y) ^ invent.c:562: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:588: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: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] carrying(type) ^ invent.c:615: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:634: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:650: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: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] g_at(x,y) ^ invent.c:681: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:698: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: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] taking_off(action) ^ invent.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] putting_on(action) ^ invent.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] getobj(let,word) ^ invent.c:974:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:974:10: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ invent.c:1029:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:1029:14: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ invent.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] silly_thing(word, otmp) ^ invent.c:1134: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:1142: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:1159: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:1176: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: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] askchain(objchn, olets, allflag, fn, ckfn, mx, word) ^ invent.c:1468: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:1480: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: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] menu_identify(id_limit) ^ invent.c:1520: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:1562: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:1581: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:1596: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:1664: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: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] display_pickinv(lets, want_reply, out_cnt) ^ invent.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] display_inventory(lets, want_reply) ^ invent.c:1819: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:1838: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:1965: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: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] dfeature_at(x, y, buf) ^ invent.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] look_here(obj_cnt, picked_some) ^ invent.c:2217:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:2217:23: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.c:2226:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:2226:26: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.c:2233:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (dfeature) pline(fbuf); ^~~~ invent.c:2233:26: note: treat the string as an argument to avoid this if (dfeature) pline(fbuf); ^ "%s", invent.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] will_feel_cockatrice(otmp, force_touch) ^ invent.c:2287: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:2309: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:2321: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: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] tool_in_use(obj) ^ invent.c:2540: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:2592: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:2687:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ invent.c:2687:10: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ invent.c:2733: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:2755: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: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] display_minventory(mon, dflags, title) ^ invent.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] display_cinventory(obj) ^ invent.c:2892: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: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] display_binventory(x, y, as_if_seen) ^ 71 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from light.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ light.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] new_light_source(x, y, range, type, id) ^ light.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] del_light_source(type, id) ^ light.c:101: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:103: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: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] do_light_sources(cs_rows) ^ light.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] find_mid(nid, fmflags) ^ light.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] save_light_sources(fd, mode, range) ^ light.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] restore_light_sources(fd) ^ light.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] relink_light_sources(ghostly) ^ light.c:311: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:314: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: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] maybe_write_ls(fd, range, write_it) ^ light.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] write_ls(fd, ls) ^ light.c:392: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:399: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:417: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: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] snuff_light_source(x, y) ^ light.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] obj_sheds_light(obj) ^ light.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] obj_is_burning(obj) ^ light.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] obj_split_light_source(src, dest) ^ light.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] obj_merge_light_sources(src, dest) ^ light.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] candle_light_range(obj) ^ 27 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from lock.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ lock.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] picking_lock(x, y) ^ lock.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] picking_at(x, y) ^ lock.c:226:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pick_lock(pick) /* pick a lock with a given object */ ^ lock.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] obstructed(x,y) ^ lock.c:701: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: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] doorlock(otmp,x,y) /* returns true if something happened */ ^ lock.c:865:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (msg && cansee(x,y)) pline(msg); ^~~ lock.c:865:32: note: treat the string as an argument to avoid this if (msg && cansee(x,y)) pline(msg); ^ "%s", lock.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] chest_shatter_msg(otmp) ^ 13 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mail.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from makemon.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ makemon.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] is_home_elemental(ptr) ^ makemon.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] wrong_elem_type(ptr) ^ makemon.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] m_initgrp(mtmp, x, y, n) /* make a group just like mtmp */ ^ makemon.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] m_initthrow(mtmp,otyp,oquan) ^ makemon.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] m_initweap(mtmp) ^ makemon.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] m_initinv(mtmp) ^ makemon.c:671: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:788: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: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] makemon(ptr, x, y, mmflags) ^ makemon.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] mbirth_limit(mndx) ^ makemon.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] create_critters(cnt, mptr) ^ makemon.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] uncommon(mndx) ^ makemon.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] align_shift(ptr) ^ makemon.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] reset_rndmonst(mndx) ^ makemon.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] mkclass(class,spc) ^ makemon.c:1362: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: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] grow_up(mtmp, victim) /* `mtmp' might "grow up" into a bigger version */ ^ makemon.c:1485: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: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] golemhp(type) ^ makemon.c:1564: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:1607: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: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] set_mimic_sym(mtmp) /* KAA, modified by ERS */ ^ makemon.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] bagotricks(bag) ^ makemon.c:1782:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ makemon.c:1782:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ 29 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mapglyph.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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) ^ 6 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mcastu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mcastu.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] cursetxt(mtmp, undirected) ^ mcastu.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] choose_magic_spell(spellval) ^ mcastu.c:125: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: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] castmu(mtmp, mattk, thinks_it_foundyou, foundyou) ^ mcastu.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] cast_wizard_spell(mtmp, dmg, spellnum) ^ mcastu.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] cast_cleric_spell(mtmp, dmg, spellnum) ^ mcastu.c:593:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mcastu.c:593:23: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ mcastu.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] is_undirected_spell(adtyp, spellnum) ^ mcastu.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] spell_would_be_useless(mtmp, adtyp, spellnum) ^ mcastu.c:760: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) */ ^ 15 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mhitm.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mon_nam_too(outbuf, mon, other_mon) ^ mhitm.c:56:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] noises(magr, mattk) ^ mhitm.c:73:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] missmm(magr, mdef, mattk) ^ mhitm.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] fightm(mtmp) /* have monsters fight each other */ ^ mhitm.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] mattackm(magr, mdef) ^ mhitm.c:382: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:439: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: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] gulpmm(magr, mdef, mattk) ^ mhitm.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] explmm(magr, mdef, mattk) ^ mhitm.c:587: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: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] noattacks(ptr) /* returns 1 if monster doesn't attack */ ^ mhitm.c:1184: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: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] slept_monst(mon) ^ mhitm.c:1220: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: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] mswingsm(magr, mdef, otemp) ^ mhitm.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] passivemm(magr,mdef,mhit,mdead) ^ mhitm.c:1417: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) ^ 22 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mhitu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mhitu.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] hitmsg(mtmp, mattk) ^ mhitu.c:86:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] missmu(mtmp, nearmiss, mattk) /* monster missed you */ ^ mhitu.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] mswings(mtmp, otemp) /* monster swings obj */ ^ mhitu.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] mpoisons_subj(mtmp, mattk) ^ mhitu.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] wildmiss(mtmp, mattk) /* monster attacked your displaced image */ ^ mhitu.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] expels(mtmp, mdat, message) ^ mhitu.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] getmattk(mptr, indx, prev_result, alt_attk_buf) ^ mhitu.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] mattacku(mtmp) ^ mhitu.c:704: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:766: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: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] u_slip_free(mtmp, mattk) ^ mhitu.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] magic_negation(mon) ^ mhitu.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] hitmu(mtmp, mattk) ^ mhitu.c:1039:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:1039:24: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ mhitu.c:1623: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:1745:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:1745:25: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ mhitu.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] explmu(mtmp, mattk, ufound) /* monster explodes in your face */ ^ mhitu.c:1861:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:1861:21: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ mhitu.c:1896: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:1988:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mhitu.c:1988:24: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ mhitu.c:2044: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:2062: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: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] could_seduce(magr,mdef,mattk) ^ mhitu.c:2159: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:2410: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:2448: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from minion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ minion.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] demon_talk(mtmp) /* returns 1 if it won't attack. */ ^ minion.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] bribe(mtmp) ^ minion.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] dprince(atyp) ^ minion.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] dlord(atyp) ^ minion.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] ndemon(atyp) ^ 12 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mklev.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mklev.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] do_comp(vx,vy) ^ mklev.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] finddpos(cc, xl,yl,xh,yh) ^ mklev.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] do_room_or_subroom(croom, lowx, lowy, hix, hiy, lit, rtype, special, is_room) ^ mklev.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] add_room(lowx, lowy, hix, hiy, lit, rtype, special) ^ mklev.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] add_subroom(proom, lowx, lowy, hix, hiy, lit, rtype, special) ^ mklev.c:249: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: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] add_door(x,y,aroom) ^ mklev.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] dosdoor(x,y,aroom,type) ^ mklev.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] place_niche(aroom,dy,xx,yy) ^ mklev.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] makeniche(trap_type) ^ mklev.c:953: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:1016: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: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] pos_to_room(x, y) ^ mklev.c:1060: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: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] bydoor(x, y) ^ mklev.c:1144: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: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] dodoor(x,y,aroom) ^ mklev.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] occupied(x, y) ^ mklev.c:1181: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:1271: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:1306: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: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] mksink(croom) ^ mklev.c:1353: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:1377: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: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] mkinvpos(x,y,dist) ^ mklev.c:1551: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mkmap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] join_map(bg_typ, fg_typ) ^ mkmap.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] finish_map(fg_typ, bg_typ, lit, walled) ^ mkmap.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] remove_rooms(lx, ly, hx, hy) ^ mkmap.c:405: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) ^ 17 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mkmaze.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mkmaze.c:29:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] wallification(x1, y1, x2, y2) ^ mkmaze.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] okay(x,y,dir) ^ mkmaze.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] maze0xy(cc) /* find random starting point for maze generation */ ^ mkmaze.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] bad_location(x, y, lx, ly, hx, hy) ^ mkmaze.c:238: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: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] put_lregion_here(x,y,nlx,nly,nhx,nhy,rtype,oneshot,lev) ^ mkmaze.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] makemaz(s) ^ mkmaze.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] walkfrom(x,y) ^ mkmaze.c:745: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:759: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: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] mkportal(x, y, todnum, todlevel) ^ mkmaze.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] save_waterlevel(fd, mode) ^ mkmaze.c:1114: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:1147: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:1228: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:1285: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) ^ 25 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mkobj.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mkobj.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] mkobj_at(let, x, y, artif) ^ mkobj.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] mksobj_at(otyp, x, y, init, artif) ^ mkobj.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] mkobj(oclass, artif) ^ mkobj.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] mkbox_cnts(box) ^ mkobj.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] splitobj(obj, num) ^ mkobj.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] replace_object(obj, otmp) ^ mkobj.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] bill_dummy_object(otmp) ^ mkobj.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] mksobj(otyp, init, artif) ^ mkobj.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] start_corpse_timeout(body) ^ mkobj.c:688: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:706: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:717: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: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] uncurse(otmp) ^ mkobj.c:763: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: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] bcsign(otmp) ^ mkobj.c:801: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:861: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: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] mkgold(amount, x, y) ^ mkobj.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] mkcorpstat(objtype, mtmp, ptr, x, y, init) ^ mkobj.c:955: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:978: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:1006: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:1035: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: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] mk_named_object(objtype, ptr, x, y, nm) ^ mkobj.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] is_flammable(otmp) ^ mkobj.c:1082: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: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] place_object(otmp, x, y) ^ mkobj.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] obj_ice_effects(x, y, do_buried) ^ mkobj.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] peek_at_iced_corpse_age(otmp) ^ mkobj.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] obj_timer_checks(otmp, x, y, force) ^ mkobj.c:1256: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:1272: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:1300: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: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] extract_nobj(obj, head_ptr) ^ mkobj.c:1364: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:1389: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: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] add_to_container(container, obj) ^ mkobj.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] add_to_migration(obj) ^ mkobj.c:1449: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:1462: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: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] dealloc_obj(obj) ^ mkobj.c:1609: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:1617: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) ^ 48 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mkroom.c:16: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mkroom.c:38:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] pick_room(strict) ^ mkroom.c:215: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: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] fill_zoo(sroom) ^ mkroom.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] mkundead(mm, revive_corpses, mm_flags) ^ mkroom.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] shrine_pos(roomno) ^ mkroom.c:520: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:535: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: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] has_upstairs(sroom) ^ mkroom.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] somex(croom) ^ mkroom.c:567: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: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] inside_room(croom, x, y) ^ mkroom.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] somexy(croom, c) ^ mkroom.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] search_special(type) ^ mkroom.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] save_room(fd, r) ^ mkroom.c:733: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:745: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: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] rest_rooms(fd) ^ 24 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mon.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] undead_to_corpse(mndx) ^ mon.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] genus(mndx, mode) ^ mon.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] pm_to_cham(mndx) ^ mon.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] make_corpse(mtmp) ^ mon.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] minliquid(mtmp) ^ mon.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] mcalcmove(mon) ^ mon.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] meatmetal(mtmp) ^ mon.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] meatobj(mtmp) /* for gelatinous cubes */ ^ mon.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] mpickgold(mtmp) ^ mon.c:867: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: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] curr_mon_load(mtmp) ^ mon.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] max_mon_load(mtmp) ^ mon.c:957: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: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] mfndpos(mon, poss, info, flag) ^ mon.c:1216: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:1232: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:1270: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:1317: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:1336: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: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] mlifesaver(mon) ^ mon.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] lifesaved_monster(mtmp) ^ mon.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] mondead(mtmp) ^ mon.c:1491: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:1562: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:1575: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:1598: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:1684: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:1712: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:1730: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: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] xkilled(mtmp, dest) ^ mon.c:1909: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:1928: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:1954: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:2005: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:2013: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:2070: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: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] setmangry(mtmp) ^ mon.c:2141: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:2171: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: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] seemimic(mtmp) ^ mon.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] restore_cham(mon) ^ mon.c:2273: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:2297: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:2330: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:2373:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (tries==5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mon.c:2373:23: note: treat the string as an argument to avoid this if (tries==5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ mon.c:2382: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:2581: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:2603: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: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] dead_species(m_idx, egg) ^ mon.c:2637: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:2710: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:2740: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:2795: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) ^ 58 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mondata.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mondata.c:14:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] resists_magm(mon) /* TRUE if monster is magic-missile resistant */ ^ mondata.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] resists_blnd(mon) ^ mondata.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] can_blnd(magr, mdef, aatyp, obj) ^ mondata.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] ranged_attk(ptr) /* returns TRUE if monster can attack at range */ ^ mondata.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] hates_silver(ptr) ^ mondata.c:252: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: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] can_track(ptr) /* returns TRUE if monster can track well */ ^ mondata.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] sliparm(ptr) /* creature will slide out of armor */ ^ mondata.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] breakarm(ptr) /* creature will break out of armor */ ^ 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] sticks(ptr) /* creature sticks other creatures it hits */ ^ mondata.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] num_horns(ptr) ^ mondata.c:327: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: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] dmgtype(ptr, dtyp) ^ mondata.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] max_passive_dmg(mdef, magr) ^ mondata.c:380: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: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] name_to_mon(in_str) ^ mondata.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] gender(mtmp) ^ mondata.c:527: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:540: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:617: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: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] big_to_little(montype) ^ mondata.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] raceptr(mtmp) ^ mondata.c:676: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: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] stagger(ptr, def) ^ mondata.c:717: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) ^ 35 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from monmove.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ monmove.c:23: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:49: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: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] dochugw(mtmp) ^ monmove.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] onscary(x, y, mtmp) ^ monmove.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] mon_regen(mon, digest_meal) ^ monmove.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] disturb(mtmp) ^ monmove.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] monflee(mtmp, fleetime, first, fleemsg) ^ monmove.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] distfleeck(mtmp,inrange,nearby,scared) ^ monmove.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] m_arrival(mon) ^ monmove.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] dochug(mtmp) ^ monmove.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] itsstuck(mtmp) ^ monmove.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] m_move(mtmp, after) ^ monmove.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] closed_door(x, y) ^ monmove.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] accessible(x, y) ^ monmove.c:1240: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: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] can_ooze(mtmp) ^ 21 warnings generated. ./makedefs -m cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c monstr.c In file included from monstr.c:2: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from monstr.c:2: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mplayer.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] create_mplayers(num, special) ^ mplayer.c:319: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) ^ 10 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from mthrowu.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ mthrowu.c:37:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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(obj, ohit, x, y) ^ mthrowu.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] ohitmon(mtmp, otmp, range, verbose) ^ mthrowu.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] m_throw(mon, x, y, dx, dy, range, obj) ^ mthrowu.c:453:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mthrowu.c:453:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ mthrowu.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] m_useup(mon, obj) ^ mthrowu.c:485: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: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] spitmu(mtmp, mattk) /* monster spits substance at you */ ^ mthrowu.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] breamu(mtmp, mattk) /* monster breathes at you (ranged) */ ^ mthrowu.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] linedup(ax, ay, bx, by) ^ mthrowu.c:721: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:733: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:747: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from muse.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ muse.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] precheck(mon, obj) ^ muse.c:82:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (vis) pline(empty); ^~~~~ muse.c:82:19: note: treat the string as an argument to avoid this if (vis) pline(empty); ^ "%s", muse.c:105:22: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (vis) pline(empty); ^~~~~ muse.c:105:22: note: treat the string as an argument to avoid this if (vis) pline(empty); ^ "%s", muse.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] mzapmsg(mtmp, otmp, self) ^ muse.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] mreadmsg(mtmp, otmp) ^ muse.c:206: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: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] find_defensive(mtmp) ^ muse.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] use_defensive(mtmp) ^ muse.c:901: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: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] find_offensive(mtmp) ^ muse.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] mbhitm(mtmp, otmp) ^ muse.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] mbhit(mon,range,fhitm,fhito,obj) ^ muse.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] use_offensive(mtmp) ^ muse.c:1518: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:1566: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:1679:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] muse_newcham_mon(mon) ^ muse.c:1694: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:1884: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:1909: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:1945: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:2027: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: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] ureflects (fmt, str) ^ 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] munstone(mon, by_you) ^ muse.c:2124: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) ^ 29 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from music.c:29: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ music.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] do_improvisation(instr) ^ music.c:476: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) ^ 13 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from o_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ o_init.c:45:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] setgemprobs(dlev) ^ o_init.c:72:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] shuffle(o_low, o_high, domaterial) ^ o_init.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] savenames(fd, mode) ^ 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] restnames(fd) ^ o_init.c:301: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:327: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: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] interesting_to_discover(i) ^ 12 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from objnam.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ objnam.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] strprepend(s,pref) ^ objnam.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] obj_typename(otyp) ^ objnam.c:168: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: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] obj_is_pname(obj) ^ objnam.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] distant_name(obj, func) ^ objnam.c:215: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: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] xname(obj) ^ objnam.c:486: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:508: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: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] add_erosion_words(obj,prefix) ^ objnam.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] doname(obj) ^ objnam.c:797: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: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] corpse_xname(otmp, ignore_oquan) ^ objnam.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] cxname(obj) ^ objnam.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] killer_xname(obj) ^ objnam.c:902: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: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] an(str) ^ objnam.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] An(str) ^ objnam.c:961: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:1008: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:1018: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:1039: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: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] otense(otmp, verb) ^ objnam.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] vtense(subj, verb) ^ objnam.c:1183: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: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] yname(obj) ^ objnam.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] Yname2(obj) ^ objnam.c:1220: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:1232: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:1268: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: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] makesingular(oldstr) ^ objnam.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] wishymatch(u_str, o_str, retry_inverted) ^ objnam.c:1750: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:2722: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:2741: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:2755: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:2775: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) ^ 42 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from options.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ options.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] match_optname(user_string, opt_name, min_length, val_allowed) ^ options.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] nh_getenv(ev) ^ options.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] nmcpy(dest, src, maxlen) ^ options.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] escapes(cp, tp) ^ options.c:688: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: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] badoption(opts) ^ options.c:723: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: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] string_for_env_opt(optname, opts, val_optional) ^ options.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] bad_negation(optname, with_parameter) ^ options.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] change_inv_order(op) ^ options.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] graphics_opts(opts, optype, maxlen, offset) ^ options.c:832: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: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] assign_warnings(graph_chars) ^ options.c:862: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: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] set_duplicate_opt_detection(on_or_off) ^ options.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] duplicate_opt_detection(opts, bool_or_comp) ^ options.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] parseoptions(opts, tinitial, tfrom_file) ^ options.c:2271: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:2290: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:2309: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:2331: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: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] special_handling(optname, setinitial, setfromfile) ^ options.c:2887: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:3339: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:3377: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:3479: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:3608: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:3641: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:3660: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:3673: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:3697: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:3716: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:3729: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:3744: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:3778: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) ^ 40 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from pager.c:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pager.c:24:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] checkfile(inp, pm, user_typed_name, without_asking) ^ pager.c:458: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: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] dowhatdoes_core(q, cbuf) ^ pager.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] help_menu(sel) ^ 12 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from pickup.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pickup.c:66: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: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] collect_obj_classes(ilets, otmp, here, incl_gold, filter, itemcount) ^ pickup.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] query_classes(oclasses, one_at_a_time, everything, action, objs, ^ pickup.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] check_here(picked_some) ^ pickup.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] n_or_more(obj) ^ pickup.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] add_valid_menu_class(c) ^ pickup.c:308: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: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] allow_all(obj) ^ pickup.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] allow_category(obj) ^ pickup.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] is_worn_by_type(otmp) ^ pickup.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] pickup(what) ^ pickup.c:627: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:685: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:784: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:947: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:978: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:1142: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: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] safe_qbuf(qbuf, padlength, planA, planB, last_resort) ^ pickup.c:1238: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:1373: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:1445: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:1463: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:1491: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:1680: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: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] mbag_explodes(obj, depthin) ^ pickup.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] in_container(obj) ^ pickup.c:1919: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: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] out_container(obj) ^ pickup.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] mbag_item_gone(held, item) ^ pickup.c:2028: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:2071: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(obj, held) ^ pickup.c:2301: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:2374: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) ^ 38 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from pline.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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) ^ 8 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from polyself.c:13: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ polyself.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] polyman(fmt, arg) ^ polyself.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] polyself(forcecontrol) ^ polyself.c:237:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:237:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ polyself.c:259:23: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (tries==5) pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ polyself.c:259:23: note: treat the string as an argument to avoid this if (tries==5) pline(thats_enough_tries); ^ "%s", ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ polyself.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] polymon(mntmp) /* returns 1 if polymorph successful */ ^ polyself.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] drop_weapon(alone) ^ polyself.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] skinback(silently) ^ polyself.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] mbodypart(mon, part) ^ polyself.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] body_part(part) ^ polyself.c:1268: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: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] armor_to_dragon(atyp) ^ 16 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from potion.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ potion.c:20:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] itimeout(val) ^ potion.c:31:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] itimeout_incr(old, incr) ^ potion.c:40:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_itimeout(which, val) ^ potion.c:49:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] incr_itimeout(which, incr) ^ potion.c:57:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_confused(xtime,talk) ^ potion.c:74:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] make_stunned(xtime,talk) ^ potion.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] make_sick(xtime, cause, talk, type) ^ potion.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] make_vomiting(xtime, talk) ^ potion.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] make_blinded(xtime, talk) ^ potion.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] make_hallucinated(xtime, talk, mask) ^ potion.c:386: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:412: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: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] healup(nhp, nxtra, curesick, cureblind) ^ potion.c:927: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:935:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(txt); ^~~ potion.c:935:9: note: treat the string as an argument to avoid this pline(txt); ^ "%s", potion.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] potionhit(mon, obj, your_fault) ^ potion.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] potionbreathe(obj) ^ potion.c:1283:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind && !u.usleep) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1283:33: note: treat the string as an argument to avoid this if (!Blind && !u.usleep) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ potion.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] mixtype(o1, o2) ^ potion.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] get_wet(obj) ^ potion.c:1636:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ potion.c:1636:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ potion.c:1930: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: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] split_mon(mon, mtmp) ^ 28 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from pray.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ pray.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] fix_worst_trouble(trouble) ^ pray.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] god_zaps_you(resp_god) ^ pray.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] fry_by_god(resp_god) ^ pray.c:552: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:620: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: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] pleased(g_align) ^ pray.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] water_prayer(bless_water) ^ pray.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] godvoice(g_align, words) ^ pray.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] gods_angry(g_align) ^ pray.c:1084: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: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] consume_offering(otmp) ^ pray.c:1320:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pray.c:1320:8: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ pray.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] can_pray(praying) ^ pray.c:1753: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:1768: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:1788: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:1810: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:1826: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:1844: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) ^ 24 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from priest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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:246: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: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] p_coaligned(priest) ^ priest.c:295: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: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] findpriest(roomno) ^ priest.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] intemple(roomno) ^ priest.c:366:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] verbalize(msg1); ^~~~ priest.c:366:17: note: treat the string as an argument to avoid this verbalize(msg1); ^ "%s", priest.c:367:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (msg2) verbalize(msg2); ^~~~ priest.c:367:27: note: treat the string as an argument to avoid this if (msg2) verbalize(msg2); ^ "%s", priest.c:404: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:436:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] verbalize(cranky_msg[rn2(3)]); ^~~~~~~~~~~~~~~~~~ priest.c:436:16: note: treat the string as an argument to avoid this verbalize(cranky_msg[rn2(3)]); ^ "%s", priest.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] mk_roamer(ptr, alignment, x, y, peaceful) ^ priest.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] reset_hostility(roamer) ^ priest.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] in_your_sanctuary(mon, x, y) ^ priest.c:605: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: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] restpriest(mtmp, ghostly) ^ 24 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from quest.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ quest.c:109:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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) ^ 13 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from questpgr.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ questpgr.c:54:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fread(ptr, size, nitems, stream) ^ questpgr.c:69:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] construct_qtlist(hdr_offset) ^ questpgr.c:150:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] quest_info(typ) ^ questpgr.c:181:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_quest_artifact(otmp) ^ questpgr.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] msg_in(qtm_list, msgnum) ^ questpgr.c:226: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: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] deliver_by_pline(qt_msg) ^ questpgr.c:367:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(out_line); ^~~~~~~~ questpgr.c:367:12: note: treat the string as an argument to avoid this pline(out_line); ^ "%s", questpgr.c:373: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: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] com_pager(msgnum) ^ questpgr.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] qt_pager(msgnum) ^ 16 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from read.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ read.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] stripspe(obj) ^ read.c:159:26: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (obj->blessed) pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:159:26: note: treat the string as an argument to avoid this if (obj->blessed) pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:166:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:166:16: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.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] p_glow1(otmp) ^ read.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] p_glow2(otmp,color) ^ read.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] is_chargeable(obj) ^ read.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] recharge(obj, curse_bless) ^ read.c:323:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:323:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:381:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] } else pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:381:20: note: treat the string as an argument to avoid this } else pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.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] forget_single_object(obj_id) ^ read.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] randomize(indices, count) ^ read.c:481: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:509: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: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] forget_levels(percent) ^ read.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] forget(howmuch) ^ read.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] maybe_tame(mtmp, sobj) ^ read.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] seffects(sobj) ^ read.c:1287:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(Never_mind); ^~~~~~~~~~ ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1287:13: note: treat the string as an argument to avoid this pline(Never_mind); ^ "%s", ../include/decl.h:306:23: note: expanded from macro 'Never_mind' #define Never_mind c_common_strings.c_Never_mind ^ read.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] wand_explode(obj) ^ read.c:1320: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: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] litroom(on,obj) ^ read.c:1436:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1436:10: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ read.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] do_genocide(how) ^ read.c:1605:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1605:13: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ read.c:1728:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1728:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ read.c:1733: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:1781: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:1848:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ read.c:1848:12: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:300: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from rect.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rect.c:43:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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) ^ 11 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from region.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ region.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] inside_rect(r, x, y) ^ region.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] inside_region(reg, x, y) ^ region.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] create_region(rects, nrect) ^ region.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] add_rect_to_reg(reg, rect) ^ region.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] add_mon_to_reg(reg, mon) ^ region.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] remove_mon_from_reg(reg, mon) ^ region.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] mon_in_region(reg, mon) ^ region.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] free_region(reg) ^ region.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] add_region(reg) ^ region.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] remove_region(reg) ^ region.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] in_out_region(x, y) ^ region.c:448:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(regions[i]->leave_msg); ^~~~~~~~~~~~~~~~~~~~~ region.c:448:9: note: treat the string as an argument to avoid this pline(regions[i]->leave_msg); ^ "%s", region.c:459:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(regions[i]->enter_msg); ^~~~~~~~~~~~~~~~~~~~~ region.c:459:9: note: treat the string as an argument to avoid this pline(regions[i]->enter_msg); ^ "%s", region.c:470: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: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] update_monster_region(mon) ^ region.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] visible_region_at(x, y) ^ region.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] show_region(reg, x, y) ^ region.c:615: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: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] rest_regions(fd, ghostly) ^ region.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] reset_region_mids(reg) ^ region.c:876: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:884:14: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] damage = (int) reg->arg; ^~~~~~~~~~~~~~ region.c:889: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: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] inside_gas_cloud(p1, p2) ^ region.c:906:11: warning: cast to smaller integer type 'int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] dam = (int) reg->arg; ^~~~~~~~~~~~~~ region.c:951: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:978:18: warning: cast to 'genericptr_t' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast] cloud->arg = (genericptr_t) damage; ^~~~~~~~~~~~~~~~~~~~~ 32 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from restore.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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:313: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: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] freefruitchn(flist) ^ restore.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] ghostfruit(otmp) ^ restore.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] restgamestate(fd, stuckid, steedid) ^ restore.c:458: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: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] restlevelfile(fd, ltmp) ^ restore.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] dorecover(fd) ^ restore.c:685: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: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] getlev(fd, pid, lev, ghostly) ^ restore.c:740:24: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (wizard) pline(trickbuf); ^~~~~~~~ restore.c:740:24: note: treat the string as an argument to avoid this if (wizard) pline(trickbuf); ^ "%s", restore.c:922: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:947: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: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] reset_oattached_mids(ghostly) ^ restore.c:1068: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) ^ 24 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from rip.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rip.c:76:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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) ^ 7 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from rnd.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rnd.c:22:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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) ^ 11 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from role.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ role.c:514: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: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] str2role(str) ^ role.c:562: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: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] randrace(rolenum) ^ role.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] str2race(str) ^ role.c:627: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: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] randgend(rolenum, racenum) ^ role.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] str2gend(str) ^ role.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] validalign(rolenum, racenum, alignnum) ^ role.c:704: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: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] str2align(str) ^ role.c:759: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: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] pick_role(racenum, gendnum, alignnum, pickhow) ^ role.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] ok_race(rolenum, racenum, gendnum, alignnum) ^ role.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] pick_race(rolenum, gendnum, alignnum, pickhow) ^ role.c:892: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:927: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: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] ok_align(rolenum, racenum, gendnum, alignnum) ^ role.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] pick_align(rolenum, racenum, gendnum, pickhow) ^ role.c:1056: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:1071: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:1084: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: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] root_plselection_prompt(suppliedbuf, buflen, rolenum, racenum, gendnum, alignnum) ^ role.c:1232: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:1448: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from rumors.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ rumors.c:41:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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) ^ 13 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from save.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ save.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] hangup(sig_unused) /* called as signal() handler, so sent at least one arg */ ^ save.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] savegamestate(fd, mode) ^ save.c:435: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: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] bufon(fd) ^ save.c:714: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: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] bflush(fd) ^ save.c:735: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:775: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: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] savelevchn(fd, mode) ^ save.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] savedamage(fd, mode) ^ save.c:839: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: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] savemonchn(fd, mtmp, mode) ^ save.c:901: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:925: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) ^ 19 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from shk.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ shk.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] next_shkp(shkp, withbill) ^ shk.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] shkname(mtmp) /* called in do_name.c */ ^ shk.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] shkgone(mtmp) /* called in mon.c */ ^ shk.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] set_residency(shkp, zero_out) ^ shk.c:229: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: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] restshk(shkp, ghostly) ^ shk.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] clear_unpaid(list) ^ shk.c:278: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: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] addupbill(shkp) ^ shk.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] call_kops(shkp, nearshop) ^ shk.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] inside_shop(x, y) ^ shk.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] u_left_shop(leavestring, newlev) ^ shk.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] remote_burglary(x, y) ^ shk.c:470: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: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] u_entered_shop(enterstring) ^ shk.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] same_price(obj1, obj2) ^ shk.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] shop_debt(eshkp) ^ shk.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] inhishop(mtmp) ^ shk.c:718: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:735: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:747: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: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] delete_contents(obj) ^ shk.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] obfree(obj, merge) ^ shk.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] check_credit(tmp, shkp) ^ shk.c:862: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:888: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:920: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:939: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: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] rouse_shk(shkp, verbosely) ^ shk.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] make_happy_shk(shkp, silentkops) ^ shk.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] hot_pursuit(shkp) ^ shk.c:1035: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: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] cheapest_item(shkp) /* delivers the cheapest item on the list */ ^ shk.c:1348:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(sbuf); ^~~~ shk.c:1348:9: note: treat the string as an argument to avoid this pline(sbuf); ^ "%s", shk.c:1488: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: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] paybill(croaked) ^ shk.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] inherits(shkp, numsk, croaked) ^ shk.c:1747: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:1798: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: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] find_oid(id) ^ shk.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] get_cost(obj, shkp) ^ shk.c:1930: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:1963: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: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] dropped_container(obj, shkp, sale) ^ shk.c:2000: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: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_cost(obj, shkp) ^ shk.c:2059: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: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] add_one_tobill(obj, dummy) ^ shk.c:2119: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:2134: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:2155: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:2190: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:2298: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:2336: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: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] subfrombill(obj, shkp) ^ shk.c:2402: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) ^ shk.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] stolen_value(obj, x, y, peaceful, silent) ^ shk.c:2526: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:2541: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: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] doinvbill(mode) ^ shk.c:2847: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: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] shkcatch(obj, x, y) ^ shk.c:2919: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: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] remove_damage(shkp, croaked) ^ shk.c:3062: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:3194: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:3305: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:3322: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:3330: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:3419: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:3445: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:3604: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:3623: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:3643: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:3692: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:3737: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:3804: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:3827: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:3887: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:3924: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:3931: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:3968: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:4000: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:4040: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:4050: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:4060: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:4077: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) ^ cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c shknam.c 92 warnings generated. In file included from shknam.c:7: In file included from ../include/hack.h:9: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from shknam.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ shknam.c:246: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: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] nameshk(shk, nlp) ^ 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] shkinit(shp, sroom) /* create a new shopkeeper in the given room */ ^ shknam.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] stock_room(shp_indx, sroom) ^ shknam.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] saleable(shkp, obj) ^ shknam.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] get_shop_item(type) ^ 11 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from sit.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from sounds.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ sounds.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] mon_in_room(mon, rmtyp) ^ sounds.c:56:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(fountain_msg[rn2(3)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:56:11: note: treat the string as an argument to avoid this You_hear(fountain_msg[rn2(3)+hallu]); ^ "%s", sounds.c:65:11: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(sink_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:65:11: note: treat the string as an argument to avoid this You_hear(sink_msg[rn2(2)+hallu]); ^ "%s", sounds.c:84:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (which != 2) You_hear(throne_msg[which]); ^~~~~~~~~~~~~~~~~ sounds.c:84:28: note: treat the string as an argument to avoid this if (which != 2) You_hear(throne_msg[which]); ^ "%s", sounds.c:96:6: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(swamp_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:96:6: note: treat the string as an argument to avoid this You(swamp_msg[rn2(2)+hallu]); ^ "%s", sounds.c:204:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(barracks_msg[rn2(3)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~~~~~ sounds.c:204:12: note: treat the string as an argument to avoid this You_hear(barracks_msg[rn2(3)+hallu]); ^ "%s", sounds.c:219:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(zoo_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~ sounds.c:219:12: note: treat the string as an argument to avoid this You_hear(zoo_msg[rn2(2)+hallu]); ^ "%s", sounds.c:237:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(shop_msg[rn2(2)+hallu]); ^~~~~~~~~~~~~~~~~~~~~~ sounds.c:237:15: note: treat the string as an argument to avoid this You_hear(shop_msg[rn2(2)+hallu]); ^ "%s", sounds.c:255:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You_hear(ora_msg[rn2(3)+hallu*2]); ^~~~~~~~~~~~~~~~~~~~~~~ sounds.c:255:15: note: treat the string as an argument to avoid this You_hear(ora_msg[rn2(3)+hallu*2]); ^ "%s", sounds.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] growl_sound(mtmp) ^ sounds.c:313: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(mtmp) ^ sounds.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] yelp(mtmp) ^ sounds.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] whimper(mtmp) ^ sounds.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] beg(mtmp) ^ sounds.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] domonnoise(mtmp) ^ sounds.c:819:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else if (verbl_msg) verbalize(verbl_msg); ^~~~~~~~~ sounds.c:819: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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from sp_lev.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ sp_lev.c:104:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] set_wall_property(x1,y1,x2,y2, prop) ^ sp_lev.c:171:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_location(x, y, humidity) ^ sp_lev.c:210:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] is_ok_location(x, y, humidity) ^ sp_lev.c:236:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] sp_lev_shuffle(list1, list2, n) ^ sp_lev.c:262:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_room_loc(x,y, croom) ^ sp_lev.c:290:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] get_free_room_loc(x,y, croom) ^ sp_lev.c:308:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_room(lowx, ddx, lowy, ddy, vault) ^ sp_lev.c:363:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_room(x,y,w,h,xal,yal,rtype,rlit) ^ sp_lev.c:533:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_subroom(proom, x, y, w, h, rtype, rlit) ^ sp_lev.c:582:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_door(dd, broom) ^ sp_lev.c:666:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_secret_door(croom, walls) ^ sp_lev.c:708:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_trap(t,croom) ^ sp_lev.c:735:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] noncoalignment(alignment) ^ sp_lev.c:747:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_monster(m,croom) ^ sp_lev.c:908:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] create_object(o,croom) ^ sp_lev.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] create_engraving(e, croom) ^ sp_lev.c:1068: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:1084: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: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] create_gold(g,croom) ^ sp_lev.c:1176: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: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] search_door(croom,x,y,wall,cnt) ^ sp_lev.c:1270: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: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] create_corridor(c) ^ sp_lev.c:1462: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:1523: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: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] build_room(r, pr) ^ sp_lev.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] light_region(tmpregion) ^ sp_lev.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] load_common_data(fd, typ) ^ sp_lev.c:1753: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:1775: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:1791: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: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] load_rooms(fd) ^ sp_lev.c:2035: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:2061: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:2631: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) ^ 40 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from spell.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ spell.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] spell_let_to_idx(ilet) ^ spell.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] cursed_book(bp) ^ spell.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] confused_book(spellbook) ^ spell.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] deadbook(book2) ^ spell.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] study_book(spellbook) ^ spell.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] book_disappears(obj) ^ spell.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] book_substitution(old_obj, new_obj) ^ spell.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] getspell(spell_no) ^ 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] spelltypemnemonic(skill) ^ spell.c:616: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:685: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: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] spelleffects(spell, atme) ^ spell.c:951:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ spell.c:951:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ spell.c:1048: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:1119: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:1133: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:1242: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) ^ 22 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from steal.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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: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] mpickobj(mtmp,otmp) ^ steal.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] stealamulet(mtmp) ^ steal.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] mdrop_obj(mon, obj, verbosely) ^ steal.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] mdrop_special_objs(mon) ^ 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] relobj(mtmp,show,is_pet) ^ 14 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from steed.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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:306: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:306: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: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] landing_spot(spot, reason, forceit) ^ steed.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] dismount_steed(reason) ^ steed.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] place_monster(mon, x, y) ^ 13 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from teleport.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ teleport.c:21:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] goodpos(x, y, mtmp, gpflags) ^ teleport.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] enexto(cc, xx, yy, mdat) ^ teleport.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] enexto_core(cc, xx, yy, mdat, entflags) ^ teleport.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] tele_jump_ok(x1, y1, x2, y2) ^ teleport.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] teleok(x, y, trapok) ^ teleport.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] teleds(nux, nuy, allow_drag) ^ teleport.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] safe_teleds(allow_drag) ^ teleport.c:367: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:555:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:555:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:666:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:666:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:683:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:683:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:689:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:689:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.c:809: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:815:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:815:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.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] tele_trap(trap) ^ teleport.c:849:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(shudder_for_moment); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ teleport.c:849:7: note: treat the string as an argument to avoid this You(shudder_for_moment); ^ "%s", ../include/decl.h:302:28: note: expanded from macro 'shudder_for_moment' #define shudder_for_moment c_common_strings.c_shudder_for_moment ^ teleport.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] level_tele_trap(trap) ^ teleport.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] rloc_pos_ok(x, y, mtmp) ^ teleport.c:935: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:980: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:1033: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:1048: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: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] mtele_trap(mtmp, trap, in_sight) ^ teleport.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] mlevel_tele_trap(mtmp, trap, force_it, in_sight) ^ teleport.c:1162: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:1268: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) ^ 31 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from timeout.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ timeout.c:34:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(stoned_texts[SIZE(stoned_texts) - i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:34:9: note: treat the string as an argument to avoid this pline(stoned_texts[SIZE(stoned_texts) - i]); ^ "%s", timeout.c:58:7: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ timeout.c:58:7: note: treat the string as an argument to avoid this You(vomiting_texts[SIZE(vomiting_texts) - i - 1]); ^ "%s", timeout.c:105:13: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(str); ^~~ timeout.c:105:13: note: treat the string as an argument to avoid this pline(str); ^ "%s", timeout.c:135:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(str); ^~~ timeout.c:135:9: note: treat the string as an argument to avoid this pline(str); ^ "%s", timeout.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] fall_asleep(how_long, wakeup_msg) ^ timeout.c:380: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:405: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: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] hatch_egg(arg, timeout) ^ timeout.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] learn_egg_type(mnum) ^ timeout.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] attach_fig_transform_timeout(figurine) ^ timeout.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] see_lamp_flicker(obj, tailer) ^ timeout.c:719: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:744: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:1043: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:1136: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:1165: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: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] kind_name(kind) ^ timeout.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] print_queue(win, base) ^ timeout.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] start_timer(when, kind, func_index, arg) ^ timeout.c:1475: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: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] obj_move_timers(src, dest) ^ timeout.c:1523: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: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] obj_stop_timers(obj) ^ timeout.c:1569: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: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] remove_timer(base, func_index, arg) ^ timeout.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] write_timer(fd, timer) ^ timeout.c:1627: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:1641: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: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] obj_is_local(obj) ^ timeout.c:1682: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: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] timer_is_local(timer) ^ timeout.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] maybe_write_timer(fd, range, write_it) ^ timeout.c:1765: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:1804: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:1829: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:1839: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:1842:13: warning: cast to smaller integer type 'unsigned int' from 'genericptr_t' (aka 'void *') [-Wvoid-pointer-to-int-cast] nid = (unsigned) curr->arg; ^~~~~~~~~~~~~~~~~~~~ 42 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from topten.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ topten.c:88:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] topten_print(x) ^ topten.c:98:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] topten_print_bold(x) ^ topten.c:108:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] observable_depth(lev) ^ topten.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] readentry(rfile,tt) ^ topten.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeentry(rfile,tt) ^ topten.c:230:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free_ttlist(tt) ^ topten.c:244:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] topten(how) ^ topten.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] outentry(rank, t1, so) ^ topten.c:697: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:744: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: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] classmon(plch, fem) ^ topten.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] tt_oname(otmp) ^ 17 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from track.c:6: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ track.c:39:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] gettrack(x, y) ^ 6 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from trap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ trap.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] burnarmor(victim) ^ trap.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] rust_dmg(otmp, ostr, type, print, victim) ^ trap.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] grease_protect(otmp,ostr,victim) ^ trap.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] maketrap(x,y,typ) ^ trap.c:322: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:362:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(dont_fall); ^~~~~~~~~ trap.c:362:10: note: treat the string as an argument to avoid this You(dont_fall); ^ "%s", trap.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] animate_statue(statue, x, y, cause, fail_reason) ^ trap.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] activate_statue_trap(trap, x, y, shatter) ^ trap.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] keep_saddle_with_steedcorpse(steed_mid, objchn, saddle) ^ trap.c:584: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: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] steedintrap(trap, otmp) ^ trap.c:1283: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: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] launch_obj(otyp, x1, y1, x2, y2, style) ^ trap.c:1546: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: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] mkroll_launch(ttmp, x, y, otyp, ocount) ^ trap.c:1621: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: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] mintrap(mtmp) ^ trap.c:2165: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:2178: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: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] selftouch(arg) ^ trap.c:2224: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:2290: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:2305: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: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] dofiretrap(box) ^ trap.c:2501:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ trap.c:2501:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ trap.c:2588: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: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] water_damage(obj, force, here) ^ trap.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] emergency_disrobe(lostsome) ^ trap.c:2964: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:3004: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:3027: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: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] move_into_trap(ttmp) ^ trap.c:3075: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:3161: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:3184: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:3216: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:3232: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:3266: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:3281: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:3306: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:3396: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:3600: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:3781: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:3796: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:3811: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: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] b_trapped(item, bodypart) ^ trap.c:3863: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) ^ 52 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from u_init.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ u_init.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] knows_object(obj) ^ u_init.c:507: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: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] restricted_spell_discipline(otyp) ^ u_init.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] ini_inv(trop) ^ 9 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from uhitm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ uhitm.c:35: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: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] attack_checks(mtmp, wep) ^ uhitm.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] check_caitiff(mtmp) ^ uhitm.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] find_roll_to_hit(mtmp) ^ uhitm.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] attack(mtmp) ^ uhitm.c:412: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, mhit, uattk) /* returns TRUE if monster still lives */ ^ uhitm.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] hitum(mon, tmp, uattk) /* returns TRUE if monster still lives */ ^ uhitm.c:487: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:506: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: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] shade_aware(obj) ^ uhitm.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] m_slips_free(mdef, mattk) ^ uhitm.c:1135: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: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] steal_it(mdef, mattk) ^ uhitm.c:1275: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:1657: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: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] start_engulf(mdef) ^ uhitm.c:1736: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:1917: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,mattk) ^ uhitm.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] hmonas(mon, tmp) /* attack monster as a monster. */ ^ uhitm.c:2133: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:2342: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:2401: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:2440: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:2462: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) ^ 29 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from vault.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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) ^ 13 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 -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from vision.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ vision.c:158:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] does_block(x,y,lev) ^ vision.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] get_unused_cs(rows, rmin, rmax) ^ vision.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] rogue_vision(next, rmin, rmax) ^ vision.c:492: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: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] block_point(x,y) ^ vision.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] unblock_point(x,y) ^ vision.c:901: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:982: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:1320: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:1364: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: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] _q2_path(srow,scol,y2,x2) ^ vision.c:1452: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:1502: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: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] close_shadow(side,this_row,block_row,block_col) ^ vision.c:1611: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:1651: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:1906: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: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] view_from(srow,scol,loc_cs_rows,left_most,right_most, range, func, arg) ^ vision.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] do_clear_area(scol,srow,range,func,arg) ^ 24 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c vis_tab.c In file included from vis_tab.c:2: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from vis_tab.c:2: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c weapon.c 5 warnings generated. In file included from weapon.c:10: In file included from ../include/hack.h:9: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from weapon.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ weapon.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] give_may_advance_msg(skill) ^ weapon.c:125: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: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] dmgval(otmp, mon) ^ weapon.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] oselect(mtmp, x) ^ weapon.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] select_rwep(mtmp) /* select a ranged weapon for the monster */ ^ weapon.c:485: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: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] possibly_unwield(mon, polyspot) ^ weapon.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] mon_wield_item(mon) ^ weapon.c:735: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: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] slots_required(skill) ^ weapon.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] can_advance(skill, speedy) ^ weapon.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] could_advance(skill) ^ weapon.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] peaked_skill(skill) ^ weapon.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] skill_advance(skill) ^ weapon.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] unrestrict_weapon_skill(skill) ^ weapon.c:1013: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:1028: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:1043: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: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] weapon_type(obj) ^ weapon.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] weapon_hit_bonus(weapon) ^ weapon.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] weapon_dam_bonus(weapon) ^ weapon.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] skill_init(class_skill) ^ weapon.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] setmnotwielded(mon,obj) ^ 28 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from were.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ were.c:10:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] new_were(mon) ^ were.c:90:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] were_summon(ptr,yours,visible,genbuf) /* were-creature (even you) summons a horde */ ^ were.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] you_unwere(purify) ^ 10 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from wield.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ wield.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] setuwep(obj) ^ wield.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] ready_weapon(wep) ^ wield.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] setuqwep(obj) ^ wield.c:215: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) ^ wield.c:403: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: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] erode_obj(target, acid_dmg, fade_scrolls) ^ wield.c:687: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: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] welded(obj) ^ wield.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] weldmsg(obj) ^ 14 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from windows.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ windows.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] def_raw_print(s) ^ windows.c:96:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] choose_windows(s) ^ windows.c:126:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] genl_message_menu(let, how, mesg) ^ windows.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] genl_preference_update(pref) ^ 9 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from wizard.c:10: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ wizard.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] mon_has_amulet(mtmp) ^ wizard.c:110: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: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] which_arti(mask) ^ wizard.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] mon_has_arti(mtmp, otyp) ^ wizard.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] other_mon_has_arti(mtmp, otyp) ^ wizard.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] on_ground(otyp) ^ wizard.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] you_have(mask) ^ wizard.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] target_on(mask, mtmp) ^ wizard.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] strategy(mtmp) ^ wizard.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] tactics(mtmp) ^ wizard.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] nasty(mcast) ^ wizard.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] cuss(mtmp) ^ 17 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from worm.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ worm.c:111:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] cutworm(worm, x, y, weap) ^ worm.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] see_wsegs(worm) ^ worm.c:439: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: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] save_worm(fd, mode) ^ worm.c:511: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: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] place_wsegs(worm) ^ worm.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] remove_worm(worm) ^ worm.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] place_worm_tail_randomly(worm, x, y) ^ worm.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] random_dir(x, y, nx, ny) ^ worm.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] count_wsegs(mtmp) ^ worm.c:704: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: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] worm_known(worm) ^ 24 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from worn.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ worn.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] setworn(obj, mask) ^ worn.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] setnotworn(obj) ^ worn.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] mon_set_minvis(mon) ^ worn.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] mon_adjust_speed(mon, adjust, obj) ^ worn.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] update_mon_intrinsics(mon, obj, on, silently) ^ worn.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] find_mac(mon) ^ worn.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] m_dowear(mon, creation) ^ worn.c:399: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: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] which_armor(mon, flag) ^ worn.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] m_lose_armor(mon, obj) ^ worn.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] bypass_obj(obj) ^ worn.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] mon_break_armor(mon, polyspot) ^ worn.c:759: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: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] racial_exception(mon, obj) ^ 19 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from write.c:4: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ write.c:12:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] cost(otmp) ^ write.c:70:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dowrite(pen) ^ 7 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from zap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ zap.c:103: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: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] probe_monster(mtmp) ^ zap.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] get_obj_location(obj, xp, yp, locflags) ^ zap.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] get_mon_location(mon, xp, yp, locflags) ^ zap.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] montraits(obj,cc) ^ zap.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] get_container_location(obj, loc, container_nesting) ^ zap.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] revive(obj) ^ zap.c:724: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: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] unturn_dead(mon) ^ zap.c:777: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:809: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:911: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: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] obj_resists(obj, ochance, achance) ^ zap.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] obj_shudders(obj) ^ zap.c:1029: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: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] create_polymon(obj, okind) ^ zap.c:1150: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: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] poly_obj(obj, id) ^ zap.c:1445: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: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] bhitpile(obj,fhito,tx,ty) ^ zap.c:1752: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:1768: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:1814: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:1838:27: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if(!zappable(obj)) pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:1838:27: note: treat the string as an argument to avoid this if(!zappable(obj)) pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ zap.c:1875: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:1915:25: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:1915:25: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ zap.c:2096:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2096:21: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ zap.c:2160: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: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] cancel_monst(mdef, obj, youattack, allow_cancel_kill, self_cancel) ^ zap.c:2286: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:2376:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2376:9: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ zap.c:2387:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(nothing_happens); ^~~~~~~~~~~~~~~ ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:2387:10: note: treat the string as an argument to avoid this pline(nothing_happens); ^ "%s", ../include/decl.h:299:28: note: expanded from macro 'nothing_happens' #define nothing_happens c_common_strings.c_nothing_happens ^ zap.c:2448: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: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] spell_hit_bonus(skill) ^ zap.c:2563: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:2573: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:2587: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:2618: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) ^ zap.c:2841: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:2898: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:3068: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: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] burn_floor_paper(x, y, give_feedback, u_caused) ^ zap.c:3249: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:3273: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:3466:20: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (!Blind) Your(vision_clears); ^~~~~~~~~~~~~ ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:3466:20: note: treat the string as an argument to avoid this if (!Blind) Your(vision_clears); ^ "%s", ../include/decl.h:307:26: note: expanded from macro 'vision_clears' #define vision_clears c_common_strings.c_vision_clears ^ zap.c:3524: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:3566: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:3600:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security] Norep(msgtxt); ^~~~~~ zap.c:3600:9: note: treat the string as an argument to avoid this Norep(msgtxt); ^ "%s", zap.c:3724:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(see_txt); ^~~~~~~ zap.c:3724:10: note: treat the string as an argument to avoid this pline(see_txt); ^ "%s", zap.c:3727:8: warning: format string is not a string literal (potentially insecure) [-Wformat-security] You(sense_txt); ^~~~~~~~~ zap.c:3727:8: note: treat the string as an argument to avoid this You(sense_txt); ^ "%s", zap.c:3729:32: warning: format string is not a string literal (potentially insecure) [-Wformat-security] if (flags.soundok) You_hear(hear_txt); ^~~~~~~~ zap.c:3729:32: note: treat the string as an argument to avoid this if (flags.soundok) You_hear(hear_txt); ^ "%s", zap.c:3763: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:3790: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:3824: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:3949: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:4050: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:4114:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security] pline(thats_enough_tries); ^~~~~~~~~~~~~~~~~~ ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ zap.c:4114:12: note: treat the string as an argument to avoid this pline(thats_enough_tries); ^ "%s", ../include/decl.h:300:28: note: expanded from macro 'thats_enough_tries' #define thats_enough_tries c_common_strings.c_thats_enough_tries ^ 62 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../sys/share/ioctl.c:9: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../sys/unix/unixmain.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../sys/unix/unixmain.c:48:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main(argc,argv) ^ ../sys/unix/unixmain.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] process_options(argc, argv) ^ ../sys/unix/unixmain.c:410: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: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] append_slash(name) ^ 9 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../sys/share/unixtty.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../sys/share/unixtty.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] speednum(speed) ^ ../sys/share/unixtty.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] settty(s) ^ 7 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../sys/unix/unixunix.c:7: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../sys/unix/unixunix.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] veryold(fd) ^ ../sys/unix/unixunix.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] regularize(s) /* normalize file name - we don't like .'s, /'s, spaces */ ^ ../sys/unix/unixunix.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] child(wt) ^ 8 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -DHAVE_SYS_PARAM_H -I../include -c ../sys/unix/unixres.c In file included from ../sys/unix/unixres.c:17: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ In file included from ../sys/unix/unixres.c:17: In file included from ../include/config.h:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../sys/unix/unixres.c:17: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 5 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../win/tty/getline.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../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) ^ 9 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../win/tty/termcap.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../win/tty/termcap.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in 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: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] s_atr2str(n) ^ ../win/tty/termcap.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] e_atr2str(n) ^ ../win/tty/termcap.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] term_start_attr(attr) ^ ../win/tty/termcap.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] term_end_attr(attr) ^ ../win/tty/termcap.c:1148: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: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] has_color(color) ^ 17 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../win/tty/topl.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../win/tty/topl.c:124: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: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] addtopl(s) ^ ../win/tty/topl.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] update_topl(bp) ^ ../win/tty/topl.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] topl_putsym(c) ^ ../win/tty/topl.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] putsyms(str) ^ ../win/tty/topl.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] removetopl(n) ^ ../win/tty/topl.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] tty_yn_function(query,resp, def) ^ 12 warnings generated. cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from ../win/tty/wintty.c:11: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ ../win/tty/wintty.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] bail(mesg) ^ ../win/tty/wintty.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] tty_init_nhwindows(argcp,argv) ^ ../win/tty/wintty.c:759: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:775: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: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] tty_create_nhwindow(type) ^ ../win/tty/wintty.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] erase_menu_or_text(window, cw, clear) ^ ../win/tty/wintty.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] free_window_info(cw, free_data) ^ ../win/tty/wintty.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] tty_clear_nhwindow(window) ^ ../win/tty/wintty.c:1013: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:1033: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: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] set_all_on_page(window, page_start, page_end) ^ ../win/tty/wintty.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] unset_all_on_page(window, page_start, page_end) ^ ../win/tty/wintty.c:1078: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:1102: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: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] process_menu_window(window, cw) ^ ../win/tty/wintty.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] process_text_window(window, cw) ^ ../win/tty/wintty.c:1489: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: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] tty_dismiss_nhwindow(window) ^ ../win/tty/wintty.c:1600: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:1621: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: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] tty_putsym(window, x, y, ch) ^ ../win/tty/wintty.c:1726: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:1749: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:1896: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:1974: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:1987: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:2039: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: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] tty_end_menu(window, prompt) ^ ../win/tty/wintty.c:2155: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:2198: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: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] docorner(xmin, ymax) ^ ../win/tty/wintty.c:2325: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:2368: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:2409: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:2478: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:2490: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:2552: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:2603: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) ^ 43 warnings generated. ../util/makedefs -v cc -O2 -pipe -DHACKDIR=\"/usr/local/lib/nethackdir-3.4.3\" -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from version.c:5: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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) ^ 11 warnings generated. Loading ... cc -o nethack monst.o objects.o allmain.o alloc.o apply.o artifact.o attrib.o ball.o bones.o botl.o cmd.o dbridge.o decl.o detect.o dig.o display.o dlb.o do.o do_name.o do_wear.o dog.o dogmove.o dokick.o dothrow.o drawing.o dungeon.o eat.o end.o engrave.o exper.o explode.o extralev.o files.o fountain.o hack.o hacklib.o invent.o light.o lock.o mail.o makemon.o mapglyph.o mcastu.o mhitm.o mhitu.o minion.o mklev.o mkmap.o mkmaze.o mkobj.o mkroom.o mon.o mondata.o monmove.o monstr.o mplayer.o mthrowu.o muse.o music.o o_init.o objnam.o options.o pager.o pickup.o pline.o polyself.o potion.o pray.o priest.o quest.o questpgr.o read.o rect.o region.o restore.o rip.o rnd.o role.o rumors.o save.o shk.o shknam.o sit.o sounds.o sp_lev.o spell.o steal.o steed.o teleport.o timeout.o topten.o track.o trap.o u_init.o uhitm.o vault.o vision.o vis_tab.o weapon.o were.o wield.o windows.o wizard.o worm.o worn.o write.o zap.o ioctl.o unixmain.o unixtty.o unixunix.o unixres.o getline.o termcap.o topl.o wintty.o version.o -ltermlib apply.c(apply.o:(use_stone)): warning: sprintf() is often misused, please use snprintf() version.c(version.o:(get_feature_notice_ver)): warning: strcpy() is almost always misused, please use strlcpy() topl.c(topl.o:(update_topl)): warning: strcat() is almost always misused, please use strlcat() rumors.c(rumors.o:(getrumor)): warning: random() may return deterministic values, is that what you want? pline.c(pline.o:(vpline)): warning: vsprintf() is often misused, please use vsnprintf() nethack is up to date. ( cd util ; /usr/bin/make recover ) `../include/date.h' is up to date. cc -O2 -pipe -I../include -c recover.c In file included from recover.c:10: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from recover.c:10: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from recover.c:10: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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) ^ 11 warnings generated. cc -o recover recover.o recover.c(recover.o:(restore_savefile)): warning: strcpy() is almost always misused, please use strlcpy() 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 -I../include -c dgn_yacc.c In file included from dgn_comp.y:25: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 previous declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from dgn_comp.y:25: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dgn_comp.y:488:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] getchain(s) ^ 7 warnings generated. lex dgn_comp.l mv lex.yy.c dgn_lex.c cc -c -O2 -pipe -I../include dgn_lex.c In file included from dgn_comp.l:9: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 previous declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from dgn_comp.l:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ dgn_comp.l:121: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:132: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 ) ^ 8 warnings generated. cc -O2 -pipe -I../include -c dgn_main.c In file included from dgn_main.c:11: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from dgn_main.c:11: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from dgn_main.c:11: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 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:161: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:175: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) ^ 9 warnings generated. cc -O2 -pipe -I../include -c panic.c In file included from panic.c:11: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from panic.c:11: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from panic.c:11: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 6 warnings generated. cc -o dgn_comp dgn_yacc.o dgn_lex.o dgn_main.o ../src/alloc.o panic.o alloc.c(../src/alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() dgn_main.c(dgn_main.o:(main)): warning: strcpy() is almost always misused, please use strlcpy() dgn_main.c(dgn_main.o:(main)): warning: strcat() is almost always misused, please use strlcat() ( 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 -I../include -c lev_yacc.c In file included from lev_comp.y:24: In file included from ../include/hack.h:9: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS_EXTENSION ".Z" /* compress's extension */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 previous declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from lev_comp.y:24: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ 6 warnings generated. lex lev_comp.l mv lex.yy.c lev_lex.c cc -c -O2 -pipe -I../include lev_lex.c In file included from lev_comp.l:8: In file included from ../include/hack.h:9: ../include/config.h:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 previous declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from lev_comp.l:8: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ lev_comp.l:224: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:235: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 ) ^ 8 warnings generated. `../include/date.h' is up to date. cc -O2 -pipe -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:173:41: warning: '/*' within block comment [-Wcomment] /* #define COMPRESS "/usr/bin/compress" /* Lempel-Ziv compression */ ^ ../include/config.h:174:37: 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:359: In file included from ../include/global.h:150: ../include/unixconf.h:39:18: warning: '/*' within block comment [-Wcomment] /* #define SVR4 /* use in addition to SYSV for System V Release 4 */ ^ ../include/unixconf.h:151:19: warning: '/*' within block comment [-Wcomment] /* #define MAIL /* Deliver mail during the game */ ^ In file included from lev_main.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:91:8: 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 declaration [-Wdeprecated-non-prototype] E void srand48(); ^ /usr/include/stdlib.h:161:7: note: conflicting prototype is here void srand48(long); ^ In file included from lev_main.c:12: In file included from ../include/hack.h:9: In file included from ../include/config.h:359: In file included from ../include/global.h:150: In file included from ../include/unixconf.h:280: ../include/system.h:349:12: 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 declaration [-Wdeprecated-non-prototype] E unsigned sleep(); ^ /usr/include/unistd.h:367:14: note: conflicting prototype is here unsigned int sleep(unsigned int); ^ lev_main.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] main(argc, argv) ^ lev_main.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] yyerror(s) ^ lev_main.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] yywarning(s) ^ lev_main.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] get_floor_type(c) ^ lev_main.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] get_room_type(s) ^ lev_main.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] get_trap_type(s) ^ lev_main.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] get_monster_id(s, c) ^ lev_main.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] get_object_id(s, c) ^ lev_main.c:450:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_monster_char(c) ^ lev_main.c:460:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] check_object_char(c) ^ lev_main.c:470: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:511: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: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] check_coord(x, y, str) ^ lev_main.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] write_common_data(fd, typ, init, flgs) ^ lev_main.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] write_monsters(fd, nmonster_p, monsters_p) ^ lev_main.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] write_objects(fd, nobject_p, objects_p) ^ lev_main.c:1074: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: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] write_level_file(filename, room_level, maze_level) ^ lev_main.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] write_maze(fd, maze) ^ lev_main.c:1357: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: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] free_rooms(lev) ^ 27 warnings generated. cc -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 alloc.c(../src/alloc.o:(fmt_ptr)): warning: sprintf() is often misused, please use snprintf() lev_lex.c(lev_lex.o:(yylex)): warning: strcpy() is almost always misused, please use strlcpy() lev_main.c(lev_main.o:(write_level_file)): warning: strcat() is almost always misused, please use strlcat() ( cd dat ; /usr/bin/make spec_levs ) ../util/lev_comp bigroom.des ../util/lev_comp castle.des ../util/lev_comp endgame.des ../util/lev_comp gehennom.des ../util/lev_comp knox.des ../util/lev_comp medusa.des ../util/lev_comp mines.des ../util/lev_comp oracle.des ../util/lev_comp sokoban.des ../util/lev_comp tower.des ../util/lev_comp yendor.des touch spec_levs ( cd dat ; /usr/bin/make quest_levs ) ../util/lev_comp Arch.des ../util/lev_comp Barb.des ../util/lev_comp Caveman.des ../util/lev_comp Healer.des ../util/lev_comp Knight.des ../util/lev_comp Monk.des ../util/lev_comp Priest.des ../util/lev_comp Ranger.des ../util/lev_comp Rogue.des ../util/lev_comp Samurai.des ../util/lev_comp Tourist.des ../util/lev_comp Valkyrie.des ../util/lev_comp Wizard.des touch quest_levs Done. `../include/date.h' is up to date. `recover' is up to date. >>> Running package in games/nethack/3.4,no_x11 at 1713348611.61 ===> games/nethack/3.4,no_x11 ===> Faking installation for nethack-3.4.3p17-no_x11 ( cd src ; /usr/bin/make ) nethack 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. mkdir -p /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin rm -rf /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 mkdir -p /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/save rmdir ./-p rmdir: ./-p: No such file or directory *** Error 1 in target 'install' (ignored) chown bin /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/save chgrp games /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/save chmod 0775 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/save ( /usr/bin/make dofiles ) target=`sed -n -e '/librarian/{' -e 's/.*/dlb/p' -e 'q' -e '}' -e '$s/.*/nodlb/p' < dat/options` ; /usr/bin/make dofiles-${target-nodlb} ( cd dat ; cp license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 ) ( cd /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 ; chown bin license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ; chgrp games license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ; chmod 0664 license help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors ) cp src/nethack /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 cp util/recover /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 rm -f /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack sed -e 's;/usr/games/lib/nethackdir;/usr/local/lib/nethackdir-3.4.3;' -e 's;HACKDIR/nethack;HACKDIR/nethack;' < sys/unix/nethack.sh > /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack ( cd /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 ; chown bin nethack recover ; chgrp games nethack recover ) chmod 02755 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/nethack chmod 0755 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/recover chown bin /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack chgrp games /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack chmod 0755 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack touch /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/perm /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/record /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3/logfile ( cd /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/lib/nethackdir-3.4.3 ; chown bin perm record logfile ; chgrp games perm record logfile ; chmod 0664 perm record logfile ) You may also want to reinstall the man pages via the doc Makefile. /exopi-obj/pobj/nethack-3.4.3-no_x11/bin/install -d -m 755 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/share/doc/nethack-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/bin/install -c -m 644 /exopi-obj/pobj/nethack-3.4.3-no_x11/nethack-3.4.3/doc/Guidebook.txt /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/share/doc/nethack-3.4.3/Guidebook.txt /exopi-obj/pobj/nethack-3.4.3-no_x11/bin/install -c -s -m 755 /exopi-obj/pobj/nethack-3.4.3-no_x11/nethack-3.4.3/util/recover /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/recover-3.4.3 /exopi-obj/pobj/nethack-3.4.3-no_x11/bin/install -c -m 644 /exopi-obj/pobj/nethack-3.4.3-no_x11/nethack-3.4.3/doc/nethack.6 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/man/man6/nethack-3.4.3.6 /exopi-obj/pobj/nethack-3.4.3-no_x11/bin/install -c -m 644 /exopi-obj/pobj/nethack-3.4.3-no_x11/nethack-3.4.3/doc/recover.6 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/man/man6/recover-3.4.3.6 /exopi-obj/pobj/nethack-3.4.3-no_x11/bin/install -c -s -m 755 /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack /exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/nethack-3.4.3 strip: error: '/exopi-obj/pobj/nethack-3.4.3-no_x11/fake-amd64-no_x11/usr/local/bin/INS@Fli2uybwXV': The file was not recognized as a valid object file ===> Building package for nethack-3.4.3p17-no_x11 Create /exopi-cvs/ports/packages/amd64/all/nethack-3.4.3p17-no_x11.tgz Creating package nethack-3.4.3p17-no_x11 reading plist| 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|**** | 7% checksumming|***** | 8% checksumming|***** | 9% checksumming|****** | 9% checksumming|****** | 10% checksumming|****** | 11% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 12% checksumming|******** | 13% checksumming|******** | 14% checksumming|********* | 14% checksumming|********* | 15% checksumming|********** | 16% 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|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************* | 32% checksumming|******************** | 32% checksumming|******************** | 33% checksumming|******************** | 34% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 35% checksumming|********************** | 36% checksumming|*********************** | 37% checksumming|*********************** | 38% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 41% checksumming|************************* | 42% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 44% checksumming|*************************** | 45% checksumming|**************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 49% checksumming|******************************* | 50% checksumming|******************************* | 51% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************* | 55% checksumming|********************************** | 55% checksumming|********************************** | 56% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 58% checksumming|************************************ | 59% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 62% checksumming|************************************** | 63% checksumming|*************************************** | 64% checksumming|*************************************** | 65% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 66% checksumming|***************************************** | 67% checksumming|***************************************** | 68% checksumming|****************************************** | 68% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% 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|*************************************************** | 84% checksumming|**************************************************** | 85% checksumming|**************************************************** | 86% checksumming|***************************************************** | 86% checksumming|***************************************************** | 87% checksumming|***************************************************** | 88% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 89% checksumming|******************************************************* | 90% checksumming|******************************************************* | 91% checksumming|******************************************************** | 91% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|********************************************************** | 96% checksumming|*********************************************************** | 96% checksumming|*********************************************************** | 97% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************| 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|******************************************** | 69% archiving|*********************************************** | 74% archiving|************************************************ | 74% archiving|************************************************ | 75% archiving|************************************************ | 76% archiving|************************************************* | 76% archiving|************************************************* | 77% archiving|************************************************** | 77% archiving|************************************************** | 78% archiving|************************************************** | 79% archiving|*************************************************** | 79% archiving|******************************************************* | 86% archiving|******************************************************* | 87% archiving|******************************************************** | 87% archiving|******************************************************** | 88% archiving|********************************************************* | 89% archiving|*********************************************************** | 92% archiving|************************************************************ | 94% archiving|************************************************************ | 95% archiving|************************************************************* | 95% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/nethack-3.4.3p17-no_x11.tgz >>> Running clean in games/nethack/3.4,no_x11 at 1713348617.30 ===> games/nethack/3.4,no_x11 ===> Cleaning for nethack-3.4.3p17-no_x11 >>> Ended at 1713348618.49 max_stuck=0.50/build=81.16/package=5.36/clean=1.64