Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ularn.spec'], chrootPath='/var/lib/mock/f31-build-60240-28696/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ularn.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Wrote: /builddir/build/SRPMS/ularn-1.5p4-31.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ularn.spec'], chrootPath='/var/lib/mock/f31-build-60240-28696/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ularn.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549152000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ohHF0F + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf Ularn + /usr/bin/gzip -dc /builddir/build/SOURCES/Ularn-1.5ishPL4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd Ularn + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e s#@bindir@#/usr/bin# -e s#@datadir@#/usr/share# -e s#@var@#/var# + chmod +x config.h.SH + echo 'Patch #0 (ularn-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #1 (ularn-euid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #2 (ularn-datadir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + echo 'Patch #3 (ularn-drop-setgid.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (ularn-build.patch): patching file extern.h patching file fortune.c patching file header.h patching file io.c patching file main.c patching file Makefile.u.SH patching file savelev.c patching file tok.c Patch #1 (ularn-euid.patch): patching file main.c Patch #2 (ularn-datadir.patch): patching file config.h.SH patching file data.c patching file extern.h patching file header.h patching file main.c Patch #3 (ularn-drop-setgid.patch): patching file data.c patching file extern.h patching file header.h patching file main.c patching file scores.c Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wK1yAJ + umask 022 + cd /builddir/build/BUILD + cd Ularn BUILDSTDERR: ++ pwd + builddir=/builddir/build/BUILD/Ularn + . ./config.h.SH BUILDSTDERR: ++ case $CONFIG in BUILDSTDERR: ++ test '!' -f config.sh BUILDSTDERR: ++ . ./config.sh BUILDSTDERR: +++ hpux=undef BUILDSTDERR: +++ linux=define BUILDSTDERR: +++ bsd=undef BUILDSTDERR: +++ cygwin=undef BUILDSTDERR: +++ syserr=define BUILDSTDERR: +++ bsdlibs= BUILDSTDERR: +++ d_eunice=undef BUILDSTDERR: +++ eunicefix=: BUILDSTDERR: +++ define=define BUILDSTDERR: +++ contains=grep BUILDSTDERR: +++ cppstdin=/usr/bin/cpp BUILDSTDERR: +++ cppminus= BUILDSTDERR: +++ d_ftime=define BUILDSTDERR: +++ d_getopt=define BUILDSTDERR: +++ d_index=define BUILDSTDERR: +++ d_termio=define BUILDSTDERR: +++ d_voidsig=define BUILDSTDERR: +++ libc=/usr/lib/libc.a BUILDSTDERR: +++ mansrc= BUILDSTDERR: +++ manext= BUILDSTDERR: +++ models=none BUILDSTDERR: +++ split= BUILDSTDERR: +++ small= BUILDSTDERR: +++ medium= BUILDSTDERR: +++ large= BUILDSTDERR: +++ huge= BUILDSTDERR: +++ ccflags= BUILDSTDERR: +++ ldflags= BUILDSTDERR: +++ cc=gcc BUILDSTDERR: +++ n=-n BUILDSTDERR: +++ c= BUILDSTDERR: +++ package=Ularn BUILDSTDERR: +++ spitshell=cat BUILDSTDERR: +++ shsharp=true BUILDSTDERR: +++ sharpbang='#!' BUILDSTDERR: +++ startsh='#!/bin/sh' BUILDSTDERR: +++ loclist=' BUILDSTDERR: expr BUILDSTDERR: sed BUILDSTDERR: echo BUILDSTDERR: cat BUILDSTDERR: rm BUILDSTDERR: tr BUILDSTDERR: grep BUILDSTDERR: ' BUILDSTDERR: +++ expr=/usr/bin/expr BUILDSTDERR: +++ sed=/bin/sed BUILDSTDERR: +++ echo=/bin/echo BUILDSTDERR: +++ cat=/bin/cat BUILDSTDERR: +++ rm=/bin/rm BUILDSTDERR: +++ mv= BUILDSTDERR: +++ cp= BUILDSTDERR: +++ tail= BUILDSTDERR: +++ tr=/usr/bin/tr BUILDSTDERR: +++ mkdir= BUILDSTDERR: +++ sort= BUILDSTDERR: +++ uniq= BUILDSTDERR: +++ grep=/bin/grep BUILDSTDERR: +++ trylist=' BUILDSTDERR: xmkmf BUILDSTDERR: imake BUILDSTDERR: compress BUILDSTDERR: uncompress BUILDSTDERR: test BUILDSTDERR: Mcc BUILDSTDERR: cpp BUILDSTDERR: ' BUILDSTDERR: +++ test=test BUILDSTDERR: +++ inews= BUILDSTDERR: +++ egrep= BUILDSTDERR: +++ more= BUILDSTDERR: +++ pg= BUILDSTDERR: +++ Mcc=Mcc BUILDSTDERR: +++ vi= BUILDSTDERR: +++ mailx= BUILDSTDERR: +++ mail= BUILDSTDERR: +++ cpp=/usr/bin/cpp BUILDSTDERR: +++ perl= BUILDSTDERR: +++ compress=/usr/bin/compress BUILDSTDERR: +++ uncompress=/usr/bin/uncompress BUILDSTDERR: +++ imake=/usr/bin/X11/imake BUILDSTDERR: +++ xmkmf=/usr/bin/X11/xmkmf BUILDSTDERR: +++ bindir=/usr/bin BUILDSTDERR: +++ d_drand48=define BUILDSTDERR: +++ d_havetlib=define BUILDSTDERR: +++ termlib=-lcurses BUILDSTDERR: +++ d_itimer=define BUILDSTDERR: +++ d_systime='' BUILDSTDERR: +++ d_random=undef BUILDSTDERR: +++ defcomp=undef BUILDSTDERR: +++ imaketmpl= BUILDSTDERR: +++ libdir=/usr/share/ularn BUILDSTDERR: +++ scoredir=/var/games BUILDSTDERR: +++ mycompress='/usr/bin/compress -c' BUILDSTDERR: +++ myuncompress='/usr/bin/uncompress -c' BUILDSTDERR: +++ CONFIG=true BUILDSTDERR: ++ test undef = define BUILDSTDERR: ++ echo 'Extracting config.h (with variable substitutions)' BUILDSTDERR: ++ sed -e 's!^#undef!/\*#undef!' + /builddir/build/BUILD/Ularn/Makefile.u.SH + cd /builddir/build/BUILD/Ularn + mv Makefile.u Makefile + CC='gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + make -j4 BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from data.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from create.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from bill.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from action.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: bill.c:10:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 10 | letter1() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 37 | letter2 () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 58 | letter3 () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 76 | letter4 () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:95:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 95 | letter5 () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:116:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 116 | letter6 () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 146 | mailbill () BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: bill.c: In function 'mailbill': BUILDSTDERR: bill.c:151:2: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] BUILDSTDERR: 151 | wait((int *)0); BUILDSTDERR: | ^~~~ BUILDSTDERR: create.c:14:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 14 | makeplayer () BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: create.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 52 | newcavelevel (x) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: create.c: In function 'newcavelevel': BUILDSTDERR: create.c:57:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 57 | if (beenhere[level]) BUILDSTDERR: | ^ BUILDSTDERR: create.c:64:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 64 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c:52:1: note: declared here BUILDSTDERR: 52 | newcavelevel (x) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: create.c: At top level: BUILDSTDERR: create.c:90:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 90 | makemaze (lev) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: create.c: In function 'makemaze': BUILDSTDERR: create.c:99:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 99 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c:90:1: note: declared here BUILDSTDERR: 90 | makemaze (lev) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: create.c:114:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 114 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c:90:1: note: declared here BUILDSTDERR: 90 | makemaze (lev) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: action.c:7:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 7 | run (dir) BUILDSTDERR: | ^~~ BUILDSTDERR: action.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c: In function 'wield': BUILDSTDERR: action.c:35:38: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 35 | if ((i = whatitem("wield"))==ESC) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:42:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 42 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: bill.c: In function 'letter1': BUILDSTDERR: bill.c:14:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 14 | write(1,"can't write 600 letter\n",23); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: action.c:44:40: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 44 | else if (iven[i-'a']==0) { ydhi(i); return; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: data.c:134:28: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 134 | /*char mitem[MAXX][MAXY]; /* monster item array */ BUILDSTDERR: | BUILDSTDERR: create.c: At top level: BUILDSTDERR: create.c:163:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 163 | eat (xx,yy) BUILDSTDERR: | ^~~ BUILDSTDERR: action.c:45:46: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 45 | else if (iven[i-'a']==OPOTION) { ycwi(i); return; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:46:46: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 46 | else if (iven[i-'a']==OSCROLL) { ycwi(i); return; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:49:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 49 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:54:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 54 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:58:46: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 58 | lprintf("\nYou wield %s", objectname[iven[i-'a']]); BUILDSTDERR: | ~~~~^~~~~~~ BUILDSTDERR: create.c:228:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 228 | cannedlevel (lev) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: action.c:65:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 65 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:30:1: note: declared here BUILDSTDERR: 30 | wield () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c: At top level: BUILDSTDERR: action.c:74:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 74 | ydhi (x) BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:81:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 81 | ycwi (x) BUILDSTDERR: | ^~~~ BUILDSTDERR: bill.c: In function 'letter2': BUILDSTDERR: bill.c:41:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 41 | write(1,"can't write 600 letter\n",23); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bill.c: In function 'letter3': BUILDSTDERR: bill.c:62:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 62 | write(1,"can't write 600 letter\n",23); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bill.c: In function 'letter4': BUILDSTDERR: bill.c:80:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 80 | write(1,"can't write 600 letter\n",23); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: bill.c: In function 'letter5': BUILDSTDERR: bill.c:99:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 99 | write(1,"can't write 600 letter\n",23); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: create.c:310:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 310 | treasureroom(lv) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: action.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c: In function 'wear': BUILDSTDERR: action.c:96:37: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 96 | if ((i = whatitem("wear"))==ESC) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:102:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 102 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:114:10: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 114 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:118:53: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 118 | lprintf("\nYou put on your %s", objectname[iven[i-'a']]); BUILDSTDERR: | ~~~~^~~~~~~ BUILDSTDERR: bill.c: In function 'letter6': BUILDSTDERR: bill.c:120:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 120 | write(1,"can't write 600 letter\n",23); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: create.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 332 | troom(lv,xsize,ysize,tx,ty,glyph) BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:125:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 125 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:130:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 130 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:135:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 135 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c:146:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 146 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:91:1: note: declared here BUILDSTDERR: 91 | wear () BUILDSTDERR: | ^~~~ BUILDSTDERR: action.c: At top level: BUILDSTDERR: action.c:157:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c: In function 'dropobj': BUILDSTDERR: action.c:163:11: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 163 | p = &item[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: action.c:163:20: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 163 | p = &item[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: bill.c: In function 'mailbill': BUILDSTDERR: bill.c:160:5: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 160 | system(buf); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: action.c:166:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 166 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:157:1: note: declared here BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:175:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 175 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:157:1: note: declared here BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:180:44: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 180 | if ((amt=readnum((long)c[GOLD])) <= 0) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:157:1: note: declared here BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:183:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 183 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:157:1: note: declared here BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: bill.c:165:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 165 | } BUILDSTDERR: | ^ BUILDSTDERR: action.c:215:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 215 | iarg[playerx][playery]=i; BUILDSTDERR: | ^ BUILDSTDERR: action.c:215:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 215 | iarg[playerx][playery]=i; BUILDSTDERR: | ^ BUILDSTDERR: action.c:217:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 217 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: action.c:217:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 217 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: action.c:219:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 219 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:157:1: note: declared here BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:222:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 222 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:157:1: note: declared here BUILDSTDERR: 157 | dropobj () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c: At top level: BUILDSTDERR: action.c:230:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 230 | readscr () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: create.c:391:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 391 | makeobject (j) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: action.c: In function 'readscr': BUILDSTDERR: action.c:235:37: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 235 | if ((i = whatitem("read"))==ESC) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:230:1: note: declared here BUILDSTDERR: 230 | readscr () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:243:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 243 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:230:1: note: declared here BUILDSTDERR: 230 | readscr () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:248:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 248 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:230:1: note: declared here BUILDSTDERR: 230 | readscr () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:252:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 252 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c: In function 'makeobject': BUILDSTDERR: create.c:405:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 405 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c:391:1: note: declared here BUILDSTDERR: 391 | makeobject (j) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: action.c:230:1: note: declared here BUILDSTDERR: 230 | readscr () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c:254:49: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 254 | lprcat("\nThere's nothing on it to read."); return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:230:1: note: declared here BUILDSTDERR: 230 | readscr () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: action.c: At top level: BUILDSTDERR: action.c:263:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 263 | eatcookie () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c: In function 'eatcookie': BUILDSTDERR: action.c:270:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 270 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:263:1: note: declared here BUILDSTDERR: 263 | eatcookie () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:284:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 284 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:263:1: note: declared here BUILDSTDERR: 263 | eatcookie () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:286:34: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 286 | if (iven[i-'a']==0) { ydhi(i); return; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:263:1: note: declared here BUILDSTDERR: 263 | eatcookie () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:287:37: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 287 | lprcat("\nYou can't eat that!"); return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:263:1: note: declared here BUILDSTDERR: 263 | eatcookie () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:271:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 271 | if (i != '.') BUILDSTDERR: | ^ BUILDSTDERR: action.c: At top level: BUILDSTDERR: action.c:295:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 295 | quaff () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c: In function 'quaff': BUILDSTDERR: action.c:301:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 301 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:295:1: note: declared here BUILDSTDERR: 295 | quaff () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:309:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 309 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:295:1: note: declared here BUILDSTDERR: 295 | quaff () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:313:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 313 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:295:1: note: declared here BUILDSTDERR: 295 | quaff () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:316:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 316 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:295:1: note: declared here BUILDSTDERR: 295 | quaff () BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c: At top level: BUILDSTDERR: action.c:322:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 322 | qwhatitem () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:350:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 350 | whatitem (str) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: create.c: At top level: BUILDSTDERR: create.c:621:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 621 | fillmroom(n,what,arg) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: create.c:630:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 630 | froom(n,itm,arg) BUILDSTDERR: | ^~~~~ BUILDSTDERR: create.c:641:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 641 | fillroom (what,arg) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: create.c:668:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 668 | fillmonst (what) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: create.c:693:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 693 | sethp (flg) BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c:476:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 476 | do_create() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: create.c: In function 'sethp': BUILDSTDERR: create.c:704:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 704 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c:693:1: note: declared here BUILDSTDERR: 693 | sethp (flg) BUILDSTDERR: | ^~~~~ BUILDSTDERR: action.c: In function 'do_create': BUILDSTDERR: action.c:487:12: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 487 | case ESC: return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:476:1: note: declared here BUILDSTDERR: 476 | do_create() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: create.c: At top level: BUILDSTDERR: create.c:747:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 747 | checkgen () BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: create.c: In function 'checkgen': BUILDSTDERR: action.c:497:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 497 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: create.c:753:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 753 | if ((monster[mitem[x][y].mon].flags&FL_GENOCIDED) != 0) BUILDSTDERR: | ~~~~~~~~~~~^~~~ BUILDSTDERR: action.c:476:1: note: declared here BUILDSTDERR: 476 | do_create() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:507:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 507 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:476:1: note: declared here BUILDSTDERR: 476 | do_create() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:520:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 520 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:476:1: note: declared here BUILDSTDERR: 476 | do_create() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c:531:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 531 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: action.c:476:1: note: declared here BUILDSTDERR: 476 | do_create() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: action.c: In function 'run': BUILDSTDERR: action.c:25:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 25 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'makeplayer': BUILDSTDERR: create.c:40:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 40 | } BUILDSTDERR: | ^ BUILDSTDERR: action.c: In function 'ydhi': BUILDSTDERR: action.c:79:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 79 | } BUILDSTDERR: | ^ BUILDSTDERR: action.c: In function 'ycwi': BUILDSTDERR: action.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 86 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'eat': BUILDSTDERR: create.c:206:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 206 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'treasureroom': BUILDSTDERR: create.c:325:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 325 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'troom': BUILDSTDERR: create.c:383:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 383 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'fillmroom': BUILDSTDERR: create.c:628:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 628 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'froom': BUILDSTDERR: create.c:635:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 635 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'fillroom': BUILDSTDERR: create.c:662:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 662 | } BUILDSTDERR: | ^ BUILDSTDERR: create.c: In function 'checkgen': BUILDSTDERR: create.c:755:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 755 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from diag.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: diag.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 64 | diag() BUILDSTDERR: | ^~~~ BUILDSTDERR: diag.c: In function 'diag': BUILDSTDERR: diag.c:69:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 69 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: diag.c:64:1: note: declared here BUILDSTDERR: 64 | diag() BUILDSTDERR: | ^~~~ BUILDSTDERR: diag.c:78:64: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=] BUILDSTDERR: 78 | fprintf(dfile, "gold: %ld Experience: %ld Character level: %d Level in caverns: %ld\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: ...... BUILDSTDERR: 81 | (long) c[LEVEL], BUILDSTDERR: | ~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | long int BUILDSTDERR: diag.c:78:87: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'int' [-Wformat=] BUILDSTDERR: 78 | fprintf(dfile, "gold: %ld Experience: %ld Character level: %d Level in caverns: %ld\n", BUILDSTDERR: | ~~^ BUILDSTDERR: | | BUILDSTDERR: | long int BUILDSTDERR: | %d BUILDSTDERR: ...... BUILDSTDERR: 82 | level); BUILDSTDERR: | ~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: diag.c:95:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 95 | j, ivendef[iven[j]], iven[j] ); BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: diag.c:96:42: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 96 | fprintf (dfile, "\t%s", objectname[iven[j]] ); BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: diag.c:115:12: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 115 | levelname[level], level); BUILDSTDERR: | ^ BUILDSTDERR: diag.c: At top level: BUILDSTDERR: diag.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 187 | diagdrawscreen() BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: diag.c: In function 'diagdrawscreen': BUILDSTDERR: diag.c:194:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 194 | if (k = mitem[j][i].mon) BUILDSTDERR: | ^ BUILDSTDERR: diag.c:197:45: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 197 | fprintf(dfile, "%c", objnamelist[item[j][i]]); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: diag.c:200:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 200 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from display.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: display.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 20 | bottomdo() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: display.c: In function 'bottomdo': BUILDSTDERR: display.c:25:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 25 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: display.c:20:1: note: declared here BUILDSTDERR: 20 | bottomdo() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 38 | bottomgold() { botsub(GOLD,72,19,"%-8d"); } BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 41 | bot_spellx() { botsub(SPELLS,9,18,"%2d"); } BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 43 | bot_linex() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: display.c: In function 'bot_linex': BUILDSTDERR: display.c:68:18: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 68 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); BUILDSTDERR: | ~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: display.c:68:22: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: 68 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); BUILDSTDERR: | ~^ ~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: display.c:86:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 86 | lprintf("%2s", levelname[level]); BUILDSTDERR: | ^ BUILDSTDERR: display.c:96:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 96 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: display.c:43:1: note: declared here BUILDSTDERR: 43 | bot_linex() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: display.c:139:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 139 | lprintf("%2s", levelname[level]); BUILDSTDERR: | ^ BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:150:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 150 | bot_hpx() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: display.c:166:16: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 166 | } bot_data[] = { BUILDSTDERR: | ^ BUILDSTDERR: display.c:186:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 186 | botside() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: display.c:211:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 211 | bothp() BUILDSTDERR: | ^~~~~ BUILDSTDERR: display.c: In function 'bothp': BUILDSTDERR: display.c:216:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 216 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: display.c:211:1: note: declared here BUILDSTDERR: 211 | bothp() BUILDSTDERR: | ^~~~~ BUILDSTDERR: display.c:219:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 219 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); BUILDSTDERR: | ~^ ~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: display.c:219:21: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: 219 | sprintf(buf, "%d (%d)", c[HP], c[HPMAX]); BUILDSTDERR: | ~^ ~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 233 | draws(xmin,xmax,ymin,ymax) BUILDSTDERR: | ^~~~~ BUILDSTDERR: display.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 275 | drawscreen() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c: In function 'drawscreen': BUILDSTDERR: display.c:296:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 296 | if (k=mitem[j][i].mon) { BUILDSTDERR: | ^ BUILDSTDERR: display.c:300:31: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 300 | screen[j][i]=monstnamelist[mimicmonst]; BUILDSTDERR: | ^ BUILDSTDERR: display.c:302:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 302 | screen[j][i]=objnamelist[item[j][i]]; BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: display.c:305:40: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 305 | screen[j][i] = objnamelist[item[j][i]]; BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 385 | showcell(x,y) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: display.c: In function 'showcell': BUILDSTDERR: display.c:391:11: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 391 | return; /* see nothing if blind */ BUILDSTDERR: | BUILDSTDERR: In file included from display.c:2: BUILDSTDERR: display.c:434:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 434 | lprc(monstnamelist[mimicmonst]); BUILDSTDERR: | ^ BUILDSTDERR: header.h:136:47: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c:434:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 434 | lprc(monstnamelist[mimicmonst]); BUILDSTDERR: | ^ BUILDSTDERR: header.h:136:76: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c:436:30: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 436 | lprc(objnamelist[item[i][j]]); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: header.h:136:47: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c:436:30: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 436 | lprc(objnamelist[item[i][j]]); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: header.h:136:76: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:471:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 471 | show1cell(x,y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: display.c: In function 'show1cell': BUILDSTDERR: display.c:475:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 475 | return; /* see nothing if blind */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: display.c:471:1: note: declared here BUILDSTDERR: 471 | show1cell(x,y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from display.c:2: BUILDSTDERR: display.c:482:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 482 | lprc(monstnamelist[mimicmonst]); BUILDSTDERR: | ^ BUILDSTDERR: header.h:136:47: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c:482:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 482 | lprc(monstnamelist[mimicmonst]); BUILDSTDERR: | ^ BUILDSTDERR: header.h:136:76: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c:484:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 484 | lprc(objnamelist[item[x][y]]); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: header.h:136:47: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c:484:28: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 484 | lprc(objnamelist[item[x][y]]); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: header.h:136:76: note: in definition of macro 'lprc' BUILDSTDERR: 136 | #define lprc(ch) {(lpnt>=lpend) ? (*lpnt++ = (ch), lflush()) : (*lpnt++ = (ch));} BUILDSTDERR: | ^~ BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:515:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 515 | showplayer() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c:540:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 540 | moveplayer(dir) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c:609:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 609 | seemagic(arg) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: display.c: In function 'seemagic': BUILDSTDERR: display.c:629:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 629 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: display.c:609:1: note: declared here BUILDSTDERR: 609 | seemagic(arg) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: display.c:655:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 655 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: display.c:609:1: note: declared here BUILDSTDERR: 609 | seemagic(arg) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: display.c: At top level: BUILDSTDERR: display.c:699:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 699 | seepage() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: display.c: In function 'bottomgold': BUILDSTDERR: display.c:38:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 38 | bottomgold() { botsub(GOLD,72,19,"%-8d"); } BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c: In function 'bot_spellx': BUILDSTDERR: display.c:41:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 41 | bot_spellx() { botsub(SPELLS,9,18,"%2d"); } BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: display.c: In function 'bot_hpx': BUILDSTDERR: display.c:158:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 158 | } BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'botside': BUILDSTDERR: display.c:209:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 209 | } BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'draws': BUILDSTDERR: display.c:265:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 265 | } BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'drawscreen': BUILDSTDERR: display.c:378:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 378 | } BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'showcell': BUILDSTDERR: display.c:464:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 464 | } BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'showplayer': BUILDSTDERR: display.c:525:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 525 | } BUILDSTDERR: | ^ BUILDSTDERR: display.c: In function 'seepage': BUILDSTDERR: display.c:711:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 711 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from fortune.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from player.c:23: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from help.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: player.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 39 | raiselevel () BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: player.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 53 | loselevel () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: player.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 67 | raiseexperience (x) BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: player.c:135:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 135 | loseexperience (x) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: player.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 170 | losehp (x) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 183 | losemhp (x) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: player.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 203 | raisehp (x) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: player.c:210:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 210 | raisemhp (x) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: player.c:226:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 226 | raisespells (x) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: player.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 233 | raisemspells (x) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: player.c:249:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 249 | losespells (x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: player.c:256:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 256 | losemspells (x) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: player.c:271:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 271 | positionplayer () BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: player.c: In function 'positionplayer': BUILDSTDERR: player.c:276:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) BUILDSTDERR: | ^ BUILDSTDERR: player.c:276:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) BUILDSTDERR: | ^ BUILDSTDERR: player.c:276:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) BUILDSTDERR: | ^ BUILDSTDERR: player.c:276:50: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | while ((item[playerx][playery] || mitem[playerx][playery].mon) && (try)) BUILDSTDERR: | ^ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 291 | recalc () BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 423 | quit () BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c: In function 'quit': BUILDSTDERR: player.c:436:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 436 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:423:1: note: declared here BUILDSTDERR: 423 | quit () BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c:441:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 441 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:423:1: note: declared here BUILDSTDERR: 423 | quit () BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:472:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 472 | more() BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c:487:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 487 | take (itm, arg) BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c:583:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 583 | drop_object (k) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: player.c: In function 'drop_object': BUILDSTDERR: player.c:596:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 596 | if (item[playerx][playery] == OPIT) BUILDSTDERR: | ^ BUILDSTDERR: player.c:596:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 596 | if (item[playerx][playery] == OPIT) BUILDSTDERR: | ^ BUILDSTDERR: player.c:598:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 598 | else if (item[playerx][playery]) { BUILDSTDERR: | ^ BUILDSTDERR: player.c:598:24: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 598 | else if (item[playerx][playery]) { BUILDSTDERR: | ^ BUILDSTDERR: player.c:607:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 607 | item[playerx][playery] = itm; BUILDSTDERR: | ^ BUILDSTDERR: player.c:607:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 607 | item[playerx][playery] = itm; BUILDSTDERR: | ^ BUILDSTDERR: player.c:608:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 608 | iarg[playerx][playery] = ivenarg[k]; BUILDSTDERR: | ^ BUILDSTDERR: player.c:608:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 608 | iarg[playerx][playery] = ivenarg[k]; BUILDSTDERR: | ^ BUILDSTDERR: player.c:624:6: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 624 | know[playerx][playery] = 0; BUILDSTDERR: | ^ BUILDSTDERR: player.c:624:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 624 | know[playerx][playery] = 0; BUILDSTDERR: | ^ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:634:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 634 | enchantarmor (how) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: player.c: In function 'enchantarmor': BUILDSTDERR: player.c:647:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 647 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:634:1: note: declared here BUILDSTDERR: 634 | enchantarmor (how) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: player.c:664:55: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 664 | lprintf("\nYour %s glows briefly.", objectname[iven[c[which]]]); BUILDSTDERR: | ~~~~^~~~~~~~~~ BUILDSTDERR: player.c:665:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 665 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:634:1: note: declared here BUILDSTDERR: 634 | enchantarmor (how) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: player.c:670:21: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 670 | objectname[iven[c[which]]]); BUILDSTDERR: | ~~~~^~~~~~~~~~ BUILDSTDERR: player.c:674:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 674 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:634:1: note: declared here BUILDSTDERR: 634 | enchantarmor (how) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: player.c:678:58: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 678 | lprintf("\nYour %s glows for a moment.", objectname[iven[c[which]]]); BUILDSTDERR: | ~~~~^~~~~~~~~~ BUILDSTDERR: player.c:638:6: warning: unused variable 'tmp' [-Wunused-variable] BUILDSTDERR: 638 | int tmp; BUILDSTDERR: | ^~~ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:685:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 685 | enchweapon (how) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: player.c: In function 'enchweapon': BUILDSTDERR: player.c:694:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 694 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:685:1: note: declared here BUILDSTDERR: 685 | enchweapon (how) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:733:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 733 | pocketfull () BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: player.c:747:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 747 | nearbymonst () BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: player.c:762:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 762 | stealsomething (x,y) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: player.c: In function 'stealsomething': BUILDSTDERR: player.c:782:12: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 782 | beenhere[level]++; BUILDSTDERR: | ^ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:792:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 792 | emptyhanded () BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: player.c:806:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 806 | creategem () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: player.c:835:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c: In function 'adjustcvalues': BUILDSTDERR: player.c:877:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 877 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c:880:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 880 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c:883:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 883 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c:886:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 886 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c:889:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 889 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c:900:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 900 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c:903:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 903 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: player.c:835:1: note: declared here BUILDSTDERR: 835 | adjustcvalues (itm, arg) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: player.c: At top level: BUILDSTDERR: player.c:919:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 919 | gettokstr (str) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: player.c:946:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 946 | getpassword () BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: player.c:971:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 971 | getyn () BUILDSTDERR: | ^~~~~ BUILDSTDERR: player.c:987:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 987 | packweight () BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: player.c: In function 'raiselevel': BUILDSTDERR: player.c:43:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 43 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'loselevel': BUILDSTDERR: player.c:57:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 57 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'raiseexperience': BUILDSTDERR: player.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 125 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'loseexperience': BUILDSTDERR: player.c:158:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 158 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'losehp': BUILDSTDERR: player.c:181:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 181 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'losemhp': BUILDSTDERR: player.c:192:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 192 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'raisehp': BUILDSTDERR: player.c:208:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 208 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'raisemhp': BUILDSTDERR: player.c:215:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 215 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'raisespells': BUILDSTDERR: player.c:231:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 231 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'raisemspells': BUILDSTDERR: player.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 238 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'losespells': BUILDSTDERR: player.c:254:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 254 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'losemspells': BUILDSTDERR: player.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 263 | } BUILDSTDERR: | ^ BUILDSTDERR: help.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 17 | help () BUILDSTDERR: | ^~~~ BUILDSTDERR: help.c: In function 'help': BUILDSTDERR: help.c:23:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 23 | return; /* open the help file and get # pages */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: help.c:17:1: note: declared here BUILDSTDERR: 17 | help () BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c: In function 'positionplayer': BUILDSTDERR: player.c:286:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 286 | } BUILDSTDERR: | ^ BUILDSTDERR: help.c:46:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 46 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: help.c:17:1: note: declared here BUILDSTDERR: 17 | help () BUILDSTDERR: | ^~~~ BUILDSTDERR: help.c: At top level: BUILDSTDERR: help.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 58 | welcome () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: help.c: In function 'welcome': BUILDSTDERR: help.c:64:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 64 | return; /* open the help file */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: help.c:58:1: note: declared here BUILDSTDERR: 58 | welcome () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: help.c: At top level: BUILDSTDERR: help.c:77:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 77 | retcont () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: help.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 91 | openhelp () BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: player.c: In function 'recalc': BUILDSTDERR: player.c:415:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 415 | } BUILDSTDERR: | ^ BUILDSTDERR: help.c: In function 'retcont': BUILDSTDERR: help.c:86:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 86 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'more': BUILDSTDERR: player.c:481:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 481 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'creategem': BUILDSTDERR: player.c:829:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 829 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'gettokstr': BUILDSTDERR: player.c:939:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 939 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'getpassword': BUILDSTDERR: player.c:955:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 955 | fgets(gpwbuf,BUFSIZ-1,stdin); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from io.c:50: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: io.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 64 | getcharacter () BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: io.c: In function 'getcharacter': BUILDSTDERR: io.c:68:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 68 | /* byt=getchar(); /* get character from terminal */ BUILDSTDERR: | BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 78 | newgame () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: io.c: In function 'newgame': BUILDSTDERR: io.c:84:2: warning: implicit declaration of function 'time'; did you mean 'ftime'? [-Wimplicit-function-declaration] BUILDSTDERR: 84 | time(&initialtime); BUILDSTDERR: | ^~~~ BUILDSTDERR: | ftime BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 104 | lprintf(char *fmt, ...) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: io.c: In function 'lprintf': BUILDSTDERR: io.c:120:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 120 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:104:1: note: declared here BUILDSTDERR: 104 | lprintf(char *fmt, ...) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: io.c:163:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 163 | while (*outb++ = *tmpb++); BUILDSTDERR: | ^ BUILDSTDERR: io.c:171:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 171 | while (*outb++ = *tmpb++) BUILDSTDERR: | ^ BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 229 | lprint (x) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 250 | lwrite (buf, len) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:338:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 338 | lrfill (adr, num) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:436:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 436 | lcreat(str) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:460:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 460 | lopen (str) BUILDSTDERR: | ^~~~~ BUILDSTDERR: io.c:483:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 483 | lappend (str) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: io.c:506:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 506 | lrclose() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: io.c:517:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 517 | lwclose () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: io.c:528:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 528 | lprcat (str) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c: In function 'lprcat': BUILDSTDERR: io.c:536:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 536 | while (*str2++ = *str++) BUILDSTDERR: | ^ BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:557:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 557 | init_term () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: io.c: In function 'init_term': BUILDSTDERR: io.c:563:10: warning: implicit declaration of function 'tgetent'; did you mean 'getenv'? [-Wimplicit-function-declaration] BUILDSTDERR: 563 | switch (tgetent(termbuf, term = getenv("TERM"))) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | getenv BUILDSTDERR: io.c:583:37: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 583 | /* if (pc = tgetstr("pc", &capptr)) /* padding character */ BUILDSTDERR: | BUILDSTDERR: io.c:585:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 585 | /* BUILDSTDERR: | BUILDSTDERR: io.c:592:9: warning: implicit declaration of function 'tgetflag' [-Wimplicit-function-declaration] BUILDSTDERR: 592 | if (!tgetflag("bs")) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: io.c:560:8: warning: unused variable 'pc' [-Wunused-variable] BUILDSTDERR: 560 | char *pc, *capptr = cap+10; BUILDSTDERR: | ^~ BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:631:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 631 | cl_up (x,y) BUILDSTDERR: | ^~~~~ BUILDSTDERR: io.c:647:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 647 | cl_dn (x,y) BUILDSTDERR: | ^~~~~ BUILDSTDERR: io.c:670:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 670 | standout (str) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: io.c: In function 'standout': BUILDSTDERR: io.c:675:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 675 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:670:1: note: declared here BUILDSTDERR: 670 | standout (str) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:686:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 686 | set_score_output() { BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: io.c:699:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 699 | lflush () BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c: In function 'lflush': BUILDSTDERR: io.c:713:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 713 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:699:1: note: declared here BUILDSTDERR: 699 | lflush () BUILDSTDERR: | ^~~~~~ BUILDSTDERR: io.c:722:5: warning: implicit declaration of function 'tputs'; did you mean 'puts'? [-Wimplicit-function-declaration] BUILDSTDERR: 722 | tputs (CL, 0, putcharacter); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | puts BUILDSTDERR: io.c:745:12: warning: implicit declaration of function 'tgoto' [-Wimplicit-function-declaration] BUILDSTDERR: 745 | tputs (tgoto (CM, curx, cury), 0, putcharacter); BUILDSTDERR: | ^~~~~ BUILDSTDERR: io.c: At top level: BUILDSTDERR: io.c:795:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 795 | putcharacter(c) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: io.c:806:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 806 | flush_buf() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: io.c:824:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 824 | tmcapcnv(sd,ss) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: io.c: In function 'newgame': BUILDSTDERR: io.c:87:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 87 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'lprint': BUILDSTDERR: io.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 238 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from main.c:3: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: io.c: In function 'lwrite': BUILDSTDERR: io.c:262:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 262 | write(lfd,buf,len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: io.c:278:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 278 | } BUILDSTDERR: | ^ BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: io.c: In function 'lrfill': BUILDSTDERR: io.c:371:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 371 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'lrclose': BUILDSTDERR: io.c:510:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 510 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'lwclose': BUILDSTDERR: io.c:522:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 522 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'lprcat': BUILDSTDERR: io.c:539:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 539 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'init_term': BUILDSTDERR: io.c:626:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 626 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'cl_up': BUILDSTDERR: io.c:642:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 642 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'cl_dn': BUILDSTDERR: io.c:665:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 665 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'set_score_output': BUILDSTDERR: io.c:688:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 688 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'putcharacter': BUILDSTDERR: io.c:801:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 801 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'flush_buf': BUILDSTDERR: io.c:809:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 809 | write(lfd, outbuf, ind); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: io.c:811:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 811 | } BUILDSTDERR: | ^ BUILDSTDERR: io.c: In function 'tmcapcnv': BUILDSTDERR: io.c:886:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 886 | } BUILDSTDERR: | ^ BUILDSTDERR: main.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 43 | main (argc, argv) BUILDSTDERR: | ^~~~ BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:64:13: warning: implicit declaration of function 'setresgid'; did you mean 'setregid'? [-Wimplicit-function-declaration] BUILDSTDERR: 64 | if (setresgid(-1, realgid, realgid) != 0) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: | setregid BUILDSTDERR: main.c:73:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 73 | if (pwe=getpwuid(geteuid())) BUILDSTDERR: | ^~~ BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c: In function 'parse': BUILDSTDERR: main.c:319:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 319 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:321:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 321 | return; /* west */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:323:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 323 | return; /* west */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:325:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 325 | return; /* east */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:327:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 327 | return; /* east */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:329:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 329 | return; /* south */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:331:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 331 | return; /* south */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:333:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 333 | return; /* north */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:335:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 335 | return; /* north */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:337:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 337 | return; /* northeast */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:339:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 339 | return; /* northeast */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:341:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 341 | return; /* northwest */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:343:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 343 | return; /* northwest */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:345:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 345 | return; /* southeast */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:347:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 347 | return; /* southeast */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:349:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 349 | return; /* southwest */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:351:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 351 | return; /* southwest */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:355:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 355 | return; /* do nothing, stay here */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:359:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 359 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:363:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 363 | return; /* wield a weapon */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:367:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 367 | return; /* wear armor */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:375:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 375 | return; /* to read a scroll */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:380:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 380 | return; /* quaff a potion */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:385:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 385 | return; /* to drop an object */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:389:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 389 | return; /* cast a spell */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:393:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 393 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:398:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 398 | return; /* status */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:403:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 403 | return; /* to eat a fortune cookie */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:408:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 408 | return; /*list spells and scrolls */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:413:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 413 | return; /*give the help screen*/ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:439:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 439 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:447:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 447 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:451:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 451 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:455:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 455 | return; /* teleport yourself */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:475:33: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 475 | lprcat(objectname[item[i][j]]); BUILDSTDERR: | ~~~~~~~^~~ BUILDSTDERR: main.c:482:11: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 482 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:491:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 491 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:498:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 498 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:505:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 505 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:515:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 515 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:522:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 522 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:530:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 530 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:586:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 586 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:601:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 601 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:608:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 608 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:618:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 618 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:623:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 623 | return; /* quit */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:630:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 630 | return; /* look */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c:638:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 638 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c:307:1: note: declared here BUILDSTDERR: 307 | parse () BUILDSTDERR: | ^~~~~ BUILDSTDERR: main.c: At top level: BUILDSTDERR: main.c:643:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 643 | parse2 () BUILDSTDERR: | ^~~~~~ BUILDSTDERR: main.c: In function 'parse2': BUILDSTDERR: main.c:650:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 650 | } BUILDSTDERR: | ^ BUILDSTDERR: player.c: In function 'enchantarmor': BUILDSTDERR: player.c:673:22: warning: array subscript -1 is below array bounds of 'char[]' [-Warray-bounds] BUILDSTDERR: 673 | adjustcvalues(iven[c[which]], ivenarg[c[which]]); /* Surely not? */ BUILDSTDERR: | ~~~~^~~~~~~~~~ BUILDSTDERR: In file included from player.c:27: BUILDSTDERR: extern.h:729:65: note: while referencing 'iven' BUILDSTDERR: 729 | extern char *objectname[], *spelname[],*spelmes[],char_class[], iven[]; BUILDSTDERR: | ^~~~ BUILDSTDERR: player.c:673:41: warning: array subscript -1 is below array bounds of 'short int[]' [-Warray-bounds] BUILDSTDERR: 673 | adjustcvalues(iven[c[which]], ivenarg[c[which]]); /* Surely not? */ BUILDSTDERR: | ~~~~~~~^~~~~~~~~~ BUILDSTDERR: In file included from player.c:27: BUILDSTDERR: extern.h:741:32: note: while referencing 'ivenarg' BUILDSTDERR: 741 | extern short hitp[MAXX][MAXY], ivenarg[], screen[MAXX][MAXY]; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from monster.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: monster.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 91 | createmonster(mon) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: monster.c: In function 'createmonster': BUILDSTDERR: monster.c:100:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 100 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:91:1: note: declared here BUILDSTDERR: 91 | createmonster(mon) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: monster.c:121:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 121 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:91:1: note: declared here BUILDSTDERR: 91 | createmonster(mon) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 136 | cgood(x, y, itm, monst) BUILDSTDERR: | ^~~~~ BUILDSTDERR: monster.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: In function 'createitem': BUILDSTDERR: monster.c:165:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 165 | return; /* no such object */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:178:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 178 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:186:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 186 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:193:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 193 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:200:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 200 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:207:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 207 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:210:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 210 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:219:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 219 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:159:1: note: declared here BUILDSTDERR: 159 | createitem(x, y, it, arg) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 233 | cast() BUILDSTDERR: | ^~~~ BUILDSTDERR: monster.c: In function 'cast': BUILDSTDERR: monster.c:240:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 240 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:233:1: note: declared here BUILDSTDERR: 233 | cast() BUILDSTDERR: | ^~~~ BUILDSTDERR: monster.c:252:3: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 252 | lflush; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:256:3: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 256 | lflush; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:260:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 260 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:233:1: note: declared here BUILDSTDERR: 233 | cast() BUILDSTDERR: | ^~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:284:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: In function 'speldamage': BUILDSTDERR: monster.c:293:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 293 | return; /* no such spell */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:297:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 297 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:301:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 301 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:306:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 306 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:315:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 315 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:322:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 322 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:328:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 328 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:335:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 335 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:339:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 339 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:344:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 344 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:356:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 356 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:369:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 369 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:373:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 373 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:377:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 377 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:384:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 384 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:388:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 388 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:395:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 395 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:404:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 404 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:410:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 410 | return; /* fireball */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:415:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 415 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:419:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 419 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:423:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 423 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:427:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 427 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:431:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 431 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:481:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 481 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:486:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 486 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:491:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 491 | return; BUILDSTDERR: | ^~~~~~ Extracting config.h (with variable substitutions) Extracting Makefile.u (with variable substitutions) gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c action.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c bill.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c create.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c data.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c diag.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c display.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c fortune.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c player.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c help.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c io.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c main.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c monster.c BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cmonster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:497:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 497 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:504:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 504 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:509:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 509 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:517:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 517 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:524:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 524 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:537:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 537 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:541:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 541 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:545:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 545 | return; /* time stop */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:549:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 549 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:553:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 553 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:558:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 558 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:567:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 567 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:574:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 574 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:580:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 580 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:585:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 585 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:589:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 589 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:596:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 596 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:600:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 600 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:671:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 671 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:678:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 678 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:683:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 683 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:284:1: note: declared here BUILDSTDERR: 284 | speldamage(x) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:692:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 692 | loseint() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:704:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 704 | isconfuse() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:721:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 721 | nospell(x, monst) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:745:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 745 | fullhit(xx) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:768:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c: In function 'direct': BUILDSTDERR: monster.c:776:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 776 | return; /* bad arguments */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:768:1: note: declared here BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:778:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 778 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:768:1: note: declared here BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:791:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 791 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:768:1: note: declared here BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:803:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 803 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:768:1: note: declared here BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:808:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 808 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:768:1: note: declared here BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:814:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 814 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:768:1: note: declared here BUILDSTDERR: 768 | direct(spnum, dam, str, arg) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:830:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 830 | godirect(spnum, dam, str, delay, cshow) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c: In function 'godirect': BUILDSTDERR: monster.c:839:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 839 | return; /* bad args */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:830:1: note: declared here BUILDSTDERR: 830 | godirect(spnum, dam, str, delay, cshow) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:842:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 842 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:830:1: note: declared here BUILDSTDERR: 830 | godirect(spnum, dam, str, delay, cshow) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:866:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 866 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:830:1: note: declared here BUILDSTDERR: 830 | godirect(spnum, dam, str, delay, cshow) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:890:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 890 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:830:1: note: declared here BUILDSTDERR: 830 | godirect(spnum, dam, str, delay, cshow) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:975:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 975 | ifblind(x, y) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 997 | tdirect(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c: In function 'tdirect': BUILDSTDERR: monster.c:1004:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1004 | return; /* bad args */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:997:1: note: declared here BUILDSTDERR: 997 | tdirect(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:1006:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1006 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:997:1: note: declared here BUILDSTDERR: 997 | tdirect(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:1010:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1010 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:997:1: note: declared here BUILDSTDERR: 997 | tdirect(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:1016:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1016 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:997:1: note: declared here BUILDSTDERR: 997 | tdirect(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1022:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1022 | makewall(spnum) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c: In function 'makewall': BUILDSTDERR: monster.c:1028:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1028 | return; /* bad args */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1022:1: note: declared here BUILDSTDERR: 1022 | makewall(spnum) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:1030:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1030 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1022:1: note: declared here BUILDSTDERR: 1022 | makewall(spnum) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:1033:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1033 | if ((y >= 0) && (y <= MAXY - 1) && (x >= 0) && (x <= MAXX - 1)) /* within bounds? */ BUILDSTDERR: | ^ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1062:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1062 | omnidirect(spnum, dam, str) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: In function 'omnidirect': BUILDSTDERR: monster.c:1069:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1069 | return; /* bad args */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1062:1: note: declared here BUILDSTDERR: 1062 | omnidirect(spnum, dam, str) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:1072:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1072 | if ((m = mitem[x][y].mon) != 0) BUILDSTDERR: | ^ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1095:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1095 | dirsub(x, y) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1138:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1138 | verifyxy(x, y) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:1170:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1170 | dirpoly(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c: In function 'dirpoly': BUILDSTDERR: monster.c:1176:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1176 | return; /* bad args */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1170:1: note: declared here BUILDSTDERR: 1170 | dirpoly(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:1178:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1178 | return; /* if he is confused, he can't aim his magic */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1170:1: note: declared here BUILDSTDERR: 1170 | dirpoly(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:1182:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1182 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1170:1: note: declared here BUILDSTDERR: 1170 | dirpoly(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c:1188:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1188 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1170:1: note: declared here BUILDSTDERR: 1170 | dirpoly(spnum) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1204:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1204 | hitmonster(x, y) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: In function 'hitmonster': BUILDSTDERR: monster.c:1210:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1210 | return; /* not if time stopped */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1204:1: note: declared here BUILDSTDERR: 1204 | hitmonster(x, y) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:1215:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1215 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1204:1: note: declared here BUILDSTDERR: 1204 | hitmonster(x, y) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c:1240:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1240 | if (flag && (monst==RUSTMONSTER || monst==DISENCHANTRESS || monst==CUBE) BUILDSTDERR: | ^ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1290:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1290 | hitm(x, y, amt) BUILDSTDERR: | ^~~~ BUILDSTDERR: monster.c: In function 'hitm': BUILDSTDERR: monster.c:1357:12: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1357 | beenhere[level] -= mitem[x][y].n; BUILDSTDERR: | ^ BUILDSTDERR: monster.c:1358:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1358 | if (beenhere[level] < 1) beenhere[level]=1; BUILDSTDERR: | ^ BUILDSTDERR: monster.c:1358:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1358 | if (beenhere[level] < 1) beenhere[level]=1; BUILDSTDERR: | ^ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1385:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1385 | hitplayer (x, y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c: In function 'hitplayer': BUILDSTDERR: monster.c:1406:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1406 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1385:1: note: declared here BUILDSTDERR: 1385 | hitplayer (x, y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:1411:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1411 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1385:1: note: declared here BUILDSTDERR: 1385 | hitplayer (x, y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:1418:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1418 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1385:1: note: declared here BUILDSTDERR: 1385 | hitplayer (x, y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:1447:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1447 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1385:1: note: declared here BUILDSTDERR: 1385 | hitplayer (x, y) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from moreobj.c:10: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1481:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1481 | dropsomething (x,y,monst) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: monster.c: In function 'dropsomething': BUILDSTDERR: monster.c:1497:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1497 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1481:1: note: declared here BUILDSTDERR: 1481 | dropsomething (x,y,monst) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: monster.c:1502:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1502 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1481:1: note: declared here BUILDSTDERR: 1481 | dropsomething (x,y,monst) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1511:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1511 | dropgold(amount) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c:1528:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1528 | something(x,y,lev) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c: In function 'something': BUILDSTDERR: monster.c:1534:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1534 | return; /* correct level? */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1528:1: note: declared here BUILDSTDERR: 1528 | something(x,y,lev) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1560:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1560 | newobject(lev, i) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:1687:42: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 1687 | static short rustarm[ARMORTYPES][2] = { BUILDSTDERR: | ^ BUILDSTDERR: monster.c:1698:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1698 | spattack(x, xx, yy) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c: In function 'spattack': BUILDSTDERR: monster.c:1709:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1709 | if (c[CANCELLATION]) BUILDSTDERR: | ^ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1937:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1937 | checkloss(x) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:1953:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1953 | annihilate() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: monster.c: In function 'annihilate': BUILDSTDERR: monster.c:1964:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1964 | k += monster[*p].experience; BUILDSTDERR: | ^~ BUILDSTDERR: monster.c:1968:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1968 | monster[*p].name); BUILDSTDERR: | ^~ BUILDSTDERR: monster.c:1962:10: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 1962 | if (*(p = &mitem[i][j].mon)) /* if a monster there */ BUILDSTDERR: | ^ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:1983:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1983 | genmonst() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c: In function 'genmonst': BUILDSTDERR: monster.c:2001:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 2001 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:1983:1: note: declared here BUILDSTDERR: 1983 | genmonst() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: monster.c: At top level: BUILDSTDERR: monster.c:2012:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 2012 | makemonst(lev) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c:2044:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 2044 | randmonst () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c: In function 'randmonst': BUILDSTDERR: monster.c:2047:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 2047 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: monster.c:2044:1: note: declared here BUILDSTDERR: 2044 | randmonst () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: monster.c: In function 'loseint': BUILDSTDERR: monster.c:696:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 696 | } BUILDSTDERR: | ^ BUILDSTDERR: monster.c: In function 'ifblind': BUILDSTDERR: monster.c:989:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 989 | } BUILDSTDERR: | ^ BUILDSTDERR: monster.c: In function 'dropgold': BUILDSTDERR: monster.c:1518:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1518 | } BUILDSTDERR: | ^ BUILDSTDERR: monster.c: In function 'checkloss': BUILDSTDERR: monster.c:1944:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1944 | } BUILDSTDERR: | ^ BUILDSTDERR: monster.c: In function 'annihilate': BUILDSTDERR: monster.c:1976:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1976 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from movem.c:13: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: moreobj.c:22:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c: In function 'oaltar': BUILDSTDERR: moreobj.c:43:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 43 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:22:1: note: declared here BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from moreobj.c:10: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:61:6: note: in expansion of macro 'forget' BUILDSTDERR: 61 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:61:6: note: in expansion of macro 'forget' BUILDSTDERR: 61 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:61:6: note: in expansion of macro 'forget' BUILDSTDERR: 61 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:61:6: note: in expansion of macro 'forget' BUILDSTDERR: 61 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:64:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 64 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:22:1: note: declared here BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:68:43: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 68 | if (k < (c[GOLD]+k)/10 || k < rnd(50) && !wizard) { BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: moreobj.c:72:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 72 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:22:1: note: declared here BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:90:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 90 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:22:1: note: declared here BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from moreobj.c:10: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:102:5: note: in expansion of macro 'forget' BUILDSTDERR: 102 | forget(); /*remember to destroy the altar*/ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:102:5: note: in expansion of macro 'forget' BUILDSTDERR: 102 | forget(); /*remember to destroy the altar*/ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:102:5: note: in expansion of macro 'forget' BUILDSTDERR: 102 | forget(); /*remember to destroy the altar*/ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:102:5: note: in expansion of macro 'forget' BUILDSTDERR: 102 | forget(); /*remember to destroy the altar*/ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:105:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 105 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:22:1: note: declared here BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:116:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 116 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:22:1: note: declared here BUILDSTDERR: 22 | oaltar() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c: At top level: BUILDSTDERR: moreobj.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 124 | ohear() BUILDSTDERR: | ^~~~~ BUILDSTDERR: moreobj.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 139 | othrone(arg) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: moreobj.c: In function 'othrone': BUILDSTDERR: moreobj.c:154:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 154 | item[playerx][playery]=ODEADTHRONE; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:154:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 154 | item[playerx][playery]=ODEADTHRONE; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:155:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 155 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:155:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 155 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:159:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 159 | item[playerx][playery]=OTHRONE2; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:159:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 159 | item[playerx][playery]=OTHRONE2; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:160:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 160 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:160:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 160 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:163:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 163 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:139:1: note: declared here BUILDSTDERR: 139 | othrone(arg) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: moreobj.c:170:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 170 | item[playerx][playery]=OTHRONE2; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:170:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 170 | item[playerx][playery]=OTHRONE2; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:171:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 171 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:171:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 171 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:179:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 179 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:139:1: note: declared here BUILDSTDERR: 139 | othrone(arg) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: moreobj.c:184:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 184 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:139:1: note: declared here BUILDSTDERR: 139 | othrone(arg) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: moreobj.c: At top level: BUILDSTDERR: moreobj.c:189:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 189 | odeadthrone() BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: moreobj.c: In function 'odeadthrone': BUILDSTDERR: moreobj.c:207:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 207 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:189:1: note: declared here BUILDSTDERR: 189 | odeadthrone() BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: moreobj.c:212:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 212 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:189:1: note: declared here BUILDSTDERR: 189 | odeadthrone() BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: moreobj.c: At top level: BUILDSTDERR: moreobj.c:223:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 223 | ochest() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c: In function 'ochest': BUILDSTDERR: moreobj.c:263:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 263 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:263:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 263 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:263:32: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 263 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:263:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 263 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: In file included from moreobj.c:10: BUILDSTDERR: moreobj.c:266:26: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 266 | dropgold(rnd(110*iarg[playerx][playery]+200)); BUILDSTDERR: | ^ BUILDSTDERR: header.h:202:34: note: in definition of macro 'rnd' BUILDSTDERR: 202 | #define rnd(x) ((int)(rand() % (x)) + 1) BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:266:35: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 266 | dropgold(rnd(110*iarg[playerx][playery]+200)); BUILDSTDERR: | ^ BUILDSTDERR: header.h:202:34: note: in definition of macro 'rnd' BUILDSTDERR: 202 | #define rnd(x) ((int)(rand() % (x)) + 1) BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:268:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 268 | something(playerx, playery, iarg[playerx][playery]+2); BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:268:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 268 | something(playerx, playery, iarg[playerx][playery]+2); BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:271:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 271 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:223:1: note: declared here BUILDSTDERR: 223 | ochest() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:275:24: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 275 | if (take(OCHEST,iarg[playerx][playery])==0) BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:275:33: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 275 | if (take(OCHEST,iarg[playerx][playery])==0) BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:276:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:276:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:276:32: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:276:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 276 | item[playerx][playery]=know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:277:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 277 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:223:1: note: declared here BUILDSTDERR: 223 | ochest() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:282:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 282 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:223:1: note: declared here BUILDSTDERR: 223 | ochest() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c: At top level: BUILDSTDERR: moreobj.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 292 | ofountain() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: moreobj.c: In function 'ofountain': BUILDSTDERR: moreobj.c:308:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 308 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:292:1: note: declared here BUILDSTDERR: 292 | ofountain() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: moreobj.c:336:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 336 | item[playerx][playery]=ODEADFOUNTAIN; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:336:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 336 | item[playerx][playery]=ODEADFOUNTAIN; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:337:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 337 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:337:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 337 | know[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c:339:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 339 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:292:1: note: declared here BUILDSTDERR: 292 | ofountain() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: moreobj.c:344:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 344 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:292:1: note: declared here BUILDSTDERR: 292 | ofountain() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: moreobj.c:363:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 363 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: moreobj.c:292:1: note: declared here BUILDSTDERR: 292 | ofountain() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: moreobj.c: At top level: BUILDSTDERR: moreobj.c:371:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 371 | fntchange(how) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: moreobj.c:450:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 450 | fch(how,x) BUILDSTDERR: | ^~~ BUILDSTDERR: moreobj.c: In function 'ohear': BUILDSTDERR: moreobj.c:131:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 131 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from object.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: moreobj.c: In function 'fntchange': BUILDSTDERR: moreobj.c:441:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 441 | } BUILDSTDERR: | ^ BUILDSTDERR: moreobj.c: In function 'fch': BUILDSTDERR: moreobj.c:466:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 466 | } BUILDSTDERR: | ^ BUILDSTDERR: movem.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 29 | movemonst() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: movem.c: In function 'movemonst': BUILDSTDERR: movem.c:34:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 34 | return; /* no action if time is stopped */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:29:1: note: declared here BUILDSTDERR: 29 | movemonst() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: movem.c:36:29: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 36 | if ((c[HASTESELF]&1)==0) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:29:1: note: declared here BUILDSTDERR: 29 | movemonst() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: movem.c:40:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 40 | return; /* no action if monsters are held */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:29:1: note: declared here BUILDSTDERR: 29 | movemonst() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: movem.c:76:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 76 | moved[lasthx][lasthy]=0; BUILDSTDERR: | ^ BUILDSTDERR: movem.c:76:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 76 | moved[lasthx][lasthy]=0; BUILDSTDERR: | ^ BUILDSTDERR: movem.c:96:11: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 96 | if (mitem[lasthx][lasthy].mon) /* now move monster last hit by player if not already moved */ BUILDSTDERR: | ^ BUILDSTDERR: movem.c:96:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 96 | if (mitem[lasthx][lasthy].mon) /* now move monster last hit by player if not already moved */ BUILDSTDERR: | ^ BUILDSTDERR: movem.c:98:12: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 98 | if (moved[lasthx][lasthy]==0) /* if it has not already been moved */ BUILDSTDERR: | ^ BUILDSTDERR: movem.c:98:20: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 98 | if (moved[lasthx][lasthy]==0) /* if it has not already been moved */ BUILDSTDERR: | ^ BUILDSTDERR: movem.c: At top level: BUILDSTDERR: movem.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 118 | movemt(i,j) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c: In function 'movemt': BUILDSTDERR: movem.c:133:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 133 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:118:1: note: declared here BUILDSTDERR: 118 | movemt(i,j) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:166:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 166 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:118:1: note: declared here BUILDSTDERR: 118 | movemt(i,j) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:206:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 206 | screen[playerx][playery]=1; BUILDSTDERR: | ^ BUILDSTDERR: movem.c:206:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 206 | screen[playerx][playery]=1; BUILDSTDERR: | ^ BUILDSTDERR: movem.c:234:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 234 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:118:1: note: declared here BUILDSTDERR: 118 | movemt(i,j) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c: At top level: BUILDSTDERR: movem.c:297:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 297 | mmove(aa,bb,cc,dd) BUILDSTDERR: | ^~~~~ BUILDSTDERR: movem.c: In function 'mmove': BUILDSTDERR: movem.c:308:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 308 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:297:1: note: declared here BUILDSTDERR: 297 | mmove(aa,bb,cc,dd) BUILDSTDERR: | ^~~~~ BUILDSTDERR: movem.c:335:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 335 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:297:1: note: declared here BUILDSTDERR: 297 | mmove(aa,bb,cc,dd) BUILDSTDERR: | ^~~~~ BUILDSTDERR: movem.c:402:25: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 402 | mitem[cc][dd].it[n].item = item[cc][dd]; BUILDSTDERR: | ^ BUILDSTDERR: movem.c:403:25: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 403 | mitem[cc][dd].it[n].itemarg = iarg[cc][dd]; BUILDSTDERR: | ^ BUILDSTDERR: movem.c:446:21: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 446 | if (c[BLINDCOUNT]) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:297:1: note: declared here BUILDSTDERR: 297 | mmove(aa,bb,cc,dd) BUILDSTDERR: | ^~~~~ BUILDSTDERR: movem.c:476:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 476 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:297:1: note: declared here BUILDSTDERR: 297 | mmove(aa,bb,cc,dd) BUILDSTDERR: | ^~~~~ BUILDSTDERR: movem.c: At top level: BUILDSTDERR: movem.c:484:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 484 | teleportmonst (xx, yy, monst) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: movem.c: In function 'teleportmonst': BUILDSTDERR: movem.c:514:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 514 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: movem.c:484:1: note: declared here BUILDSTDERR: 484 | teleportmonst (xx, yy, monst) BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c: In function 'lookforobject': BUILDSTDERR: object.c:21:20: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 21 | if (c[TIMESTOP]) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:23:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 23 | i=item[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:23:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 23 | i=item[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:24:12: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 24 | if (i==0) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:40:11: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 40 | i = iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:40:20: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 40 | i = iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:48:11: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 48 | i = iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:48:20: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 48 | i = iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:55:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 55 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:71:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 71 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:77:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 77 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:88:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 88 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:124:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 124 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:136:7: note: in expansion of macro 'forget' BUILDSTDERR: 136 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:136:7: note: in expansion of macro 'forget' BUILDSTDERR: 136 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:136:7: note: in expansion of macro 'forget' BUILDSTDERR: 136 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:136:7: note: in expansion of macro 'forget' BUILDSTDERR: 136 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:138:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 138 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:142:5: note: in expansion of macro 'forget' BUILDSTDERR: 142 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:142:5: note: in expansion of macro 'forget' BUILDSTDERR: 142 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:142:5: note: in expansion of macro 'forget' BUILDSTDERR: 142 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:142:5: note: in expansion of macro 'forget' BUILDSTDERR: 142 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:144:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 144 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:149:5: note: in expansion of macro 'forget' BUILDSTDERR: 149 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:149:5: note: in expansion of macro 'forget' BUILDSTDERR: 149 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:149:5: note: in expansion of macro 'forget' BUILDSTDERR: 149 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:149:5: note: in expansion of macro 'forget' BUILDSTDERR: 149 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:157:5: note: in expansion of macro 'forget' BUILDSTDERR: 157 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:157:5: note: in expansion of macro 'forget' BUILDSTDERR: 157 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:157:5: note: in expansion of macro 'forget' BUILDSTDERR: 157 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:157:5: note: in expansion of macro 'forget' BUILDSTDERR: 157 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:160:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 160 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:163:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 163 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:168:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 168 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:193:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 193 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:199:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 199 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:210:18: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 210 | if (rnd(11)<6) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:211:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 211 | item[playerx][playery] = OTELEPORTER; BUILDSTDERR: | ^ BUILDSTDERR: object.c:211:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 211 | item[playerx][playery] = OTELEPORTER; BUILDSTDERR: | ^ BUILDSTDERR: object.c:212:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 212 | know[playerx][playery] = 1; BUILDSTDERR: | ^ BUILDSTDERR: object.c:212:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 212 | know[playerx][playery] = 1; BUILDSTDERR: | ^ BUILDSTDERR: object.c:222:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 222 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:234:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 234 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:241:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 241 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:262:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 262 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:268:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 268 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:291:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 291 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:306:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 306 | switch(iarg[playerx][playery]) { BUILDSTDERR: | ^ BUILDSTDERR: object.c:306:25: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 306 | switch(iarg[playerx][playery]) { BUILDSTDERR: | ^ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:337:5: note: in expansion of macro 'forget' BUILDSTDERR: 337 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:337:5: note: in expansion of macro 'forget' BUILDSTDERR: 337 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:337:5: note: in expansion of macro 'forget' BUILDSTDERR: 337 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:337:5: note: in expansion of macro 'forget' BUILDSTDERR: 337 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:338:9: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 338 | item[playerx][playery]=OOPENDOOR; BUILDSTDERR: | ^ BUILDSTDERR: object.c:338:18: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 338 | item[playerx][playery]=OOPENDOOR; BUILDSTDERR: | ^ BUILDSTDERR: object.c:358:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 358 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:377:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 377 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:394:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 394 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:413:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 413 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:429:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 429 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:432:19: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 432 | if (rnd(17)<13) return; /* for an arrow trap */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:433:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 433 | item[playerx][playery] = OTRAPARROW; BUILDSTDERR: | ^ BUILDSTDERR: object.c:433:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 433 | item[playerx][playery] = OTRAPARROW; BUILDSTDERR: | ^ BUILDSTDERR: object.c:434:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 434 | know[playerx][playery] = 0; BUILDSTDERR: | ^ BUILDSTDERR: object.c:434:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 434 | know[playerx][playery] = 0; BUILDSTDERR: | ^ BUILDSTDERR: object.c:441:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 441 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:445:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 445 | return; /* for a dart trap */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:446:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 446 | item[playerx][playery] = ODARTRAP; BUILDSTDERR: | ^ BUILDSTDERR: object.c:446:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 446 | item[playerx][playery] = ODARTRAP; BUILDSTDERR: | ^ BUILDSTDERR: object.c:447:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 447 | know[playerx][playery] = 0; BUILDSTDERR: | ^ BUILDSTDERR: object.c:447:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 447 | know[playerx][playery] = 0; BUILDSTDERR: | ^ BUILDSTDERR: object.c:455:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 455 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:459:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 459 | return; /* for a trap door */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:460:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 460 | item[playerx][playery] = OTRAPDOOR; BUILDSTDERR: | ^ BUILDSTDERR: object.c:460:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 460 | item[playerx][playery] = OTRAPDOOR; BUILDSTDERR: | ^ BUILDSTDERR: object.c:461:7: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 461 | know[playerx][playery] = 1; BUILDSTDERR: | ^ BUILDSTDERR: object.c:461:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 461 | know[playerx][playery] = 1; BUILDSTDERR: | ^ BUILDSTDERR: object.c:467:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 467 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:484:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 484 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:487:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 487 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:494:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 494 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:497:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 497 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:506:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 506 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:508:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 508 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:517:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 517 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:540:4: note: in expansion of macro 'forget' BUILDSTDERR: 540 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:540:4: note: in expansion of macro 'forget' BUILDSTDERR: 540 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:540:4: note: in expansion of macro 'forget' BUILDSTDERR: 540 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:540:4: note: in expansion of macro 'forget' BUILDSTDERR: 540 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:545:27: note: in expansion of macro 'forget' BUILDSTDERR: 545 | if (take(OSPEED,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:545:27: note: in expansion of macro 'forget' BUILDSTDERR: 545 | if (take(OSPEED,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:545:27: note: in expansion of macro 'forget' BUILDSTDERR: 545 | if (take(OSPEED,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:545:27: note: in expansion of macro 'forget' BUILDSTDERR: 545 | if (take(OSPEED,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:564:4: note: in expansion of macro 'forget' BUILDSTDERR: 564 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:564:4: note: in expansion of macro 'forget' BUILDSTDERR: 564 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:564:4: note: in expansion of macro 'forget' BUILDSTDERR: 564 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:564:4: note: in expansion of macro 'forget' BUILDSTDERR: 564 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:569:29: note: in expansion of macro 'forget' BUILDSTDERR: 569 | if (take(OSHROOMS,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:569:29: note: in expansion of macro 'forget' BUILDSTDERR: 569 | if (take(OSHROOMS,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:569:29: note: in expansion of macro 'forget' BUILDSTDERR: 569 | if (take(OSHROOMS,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:569:29: note: in expansion of macro 'forget' BUILDSTDERR: 569 | if (take(OSHROOMS,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:594:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 594 | hitp[k][j]=monster[mitem[k][j].mon].hitpoints; BUILDSTDERR: | ~~~~~~~~~~~^~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:596:4: note: in expansion of macro 'forget' BUILDSTDERR: 596 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:596:4: note: in expansion of macro 'forget' BUILDSTDERR: 596 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:596:4: note: in expansion of macro 'forget' BUILDSTDERR: 596 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:596:4: note: in expansion of macro 'forget' BUILDSTDERR: 596 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:601:26: note: in expansion of macro 'forget' BUILDSTDERR: 601 | if (take(OACID,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:601:26: note: in expansion of macro 'forget' BUILDSTDERR: 601 | if (take(OACID,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:601:26: note: in expansion of macro 'forget' BUILDSTDERR: 601 | if (take(OACID,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:601:26: note: in expansion of macro 'forget' BUILDSTDERR: 601 | if (take(OACID,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:624:4: note: in expansion of macro 'forget' BUILDSTDERR: 624 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:624:4: note: in expansion of macro 'forget' BUILDSTDERR: 624 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:624:4: note: in expansion of macro 'forget' BUILDSTDERR: 624 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:624:4: note: in expansion of macro 'forget' BUILDSTDERR: 624 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:629:26: note: in expansion of macro 'forget' BUILDSTDERR: 629 | if (take(OHASH,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:629:26: note: in expansion of macro 'forget' BUILDSTDERR: 629 | if (take(OHASH,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:629:26: note: in expansion of macro 'forget' BUILDSTDERR: 629 | if (take(OHASH,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:629:26: note: in expansion of macro 'forget' BUILDSTDERR: 629 | if (take(OHASH,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:651:4: note: in expansion of macro 'forget' BUILDSTDERR: 651 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:651:4: note: in expansion of macro 'forget' BUILDSTDERR: 651 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:651:4: note: in expansion of macro 'forget' BUILDSTDERR: 651 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:651:4: note: in expansion of macro 'forget' BUILDSTDERR: 651 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:656:26: note: in expansion of macro 'forget' BUILDSTDERR: 656 | if (take(OCOKE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:656:26: note: in expansion of macro 'forget' BUILDSTDERR: 656 | if (take(OCOKE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:656:26: note: in expansion of macro 'forget' BUILDSTDERR: 656 | if (take(OCOKE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:656:26: note: in expansion of macro 'forget' BUILDSTDERR: 656 | if (take(OCOKE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:669:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 669 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:673:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 673 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c:676:22: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 676 | if (nearbymonst()) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:16:1: note: declared here BUILDSTDERR: 16 | lookforobject() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:694:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 694 | finditem(itm) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: object.c: In function 'finditem': BUILDSTDERR: object.c:699:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 699 | tmp=iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:699:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 699 | tmp=iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:728:4: note: in expansion of macro 'forget' BUILDSTDERR: 728 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:728:4: note: in expansion of macro 'forget' BUILDSTDERR: 728 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:728:4: note: in expansion of macro 'forget' BUILDSTDERR: 728 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:728:4: note: in expansion of macro 'forget' BUILDSTDERR: 728 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:729:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 729 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:694:1: note: declared here BUILDSTDERR: 694 | finditem(itm) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:743:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 743 | ostairs(dir) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: In function 'ostairs': BUILDSTDERR: object.c:760:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 760 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:743:1: note: declared here BUILDSTDERR: 743 | ostairs(dir) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c:782:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 782 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:743:1: note: declared here BUILDSTDERR: 743 | ostairs(dir) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c:805:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 805 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:743:1: note: declared here BUILDSTDERR: 743 | ostairs(dir) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:817:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 817 | oteleport(err) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: object.c:866:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 866 | /* BUILDSTDERR: | BUILDSTDERR: object.c:873:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 873 | opotion(pot) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: In function 'opotion': BUILDSTDERR: object.c:883:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 883 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:873:1: note: declared here BUILDSTDERR: 873 | opotion(pot) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:887:3: note: in expansion of macro 'forget' BUILDSTDERR: 887 | forget(); /* destroy potion */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:887:3: note: in expansion of macro 'forget' BUILDSTDERR: 887 | forget(); /* destroy potion */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:887:3: note: in expansion of macro 'forget' BUILDSTDERR: 887 | forget(); /* destroy potion */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:887:3: note: in expansion of macro 'forget' BUILDSTDERR: 887 | forget(); /* destroy potion */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:889:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 889 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:873:1: note: declared here BUILDSTDERR: 873 | opotion(pot) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:893:30: note: in expansion of macro 'forget' BUILDSTDERR: 893 | if (take(OPOTION,pot)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:893:30: note: in expansion of macro 'forget' BUILDSTDERR: 893 | if (take(OPOTION,pot)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:893:30: note: in expansion of macro 'forget' BUILDSTDERR: 893 | if (take(OPOTION,pot)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:893:30: note: in expansion of macro 'forget' BUILDSTDERR: 893 | if (take(OPOTION,pot)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:894:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 894 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:873:1: note: declared here BUILDSTDERR: 873 | opotion(pot) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:901:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c: In function 'quaffpotion': BUILDSTDERR: object.c:908:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 908 | return; /* check for within bounds */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:930:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 930 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:944:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 944 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:987:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 987 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:995:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 995 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1004:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1004 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1007:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1007 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1016:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1016 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1021:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1021 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1059:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1059 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1068:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1068 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1073:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1073 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1079:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1079 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1083:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1083 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:901:1: note: declared here BUILDSTDERR: 901 | quaffpotion(pot) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1093:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1093 | oscroll(typ) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: In function 'oscroll': BUILDSTDERR: object.c:1105:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1105 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1093:1: note: declared here BUILDSTDERR: 1093 | oscroll(typ) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1110:3: note: in expansion of macro 'forget' BUILDSTDERR: 1110 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1110:3: note: in expansion of macro 'forget' BUILDSTDERR: 1110 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1110:3: note: in expansion of macro 'forget' BUILDSTDERR: 1110 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1110:3: note: in expansion of macro 'forget' BUILDSTDERR: 1110 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1117:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1117 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1093:1: note: declared here BUILDSTDERR: 1093 | oscroll(typ) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1122:4: note: in expansion of macro 'forget' BUILDSTDERR: 1122 | forget(); /* destroy it */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1122:4: note: in expansion of macro 'forget' BUILDSTDERR: 1122 | forget(); /* destroy it */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1122:4: note: in expansion of macro 'forget' BUILDSTDERR: 1122 | forget(); /* destroy it */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1122:4: note: in expansion of macro 'forget' BUILDSTDERR: 1122 | forget(); /* destroy it */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1123:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1123 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1093:1: note: declared here BUILDSTDERR: 1093 | oscroll(typ) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1146:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1146 | adjusttime(tim) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: object.c: In function 'adjusttime': BUILDSTDERR: object.c:1152:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1152 | if (c[time_change[j]]) { BUILDSTDERR: | ~~~~~~~~~~~^~~ BUILDSTDERR: object.c:1153:43: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1153 | if (c[time_change[j]] < tim+1) BUILDSTDERR: | ~~~~~~~~~~~^~~ BUILDSTDERR: object.c:1154:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1154 | c[time_change[j]] = 1; BUILDSTDERR: | ~~~~~~~~~~~^~~ BUILDSTDERR: object.c:1156:41: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1156 | c[time_change[j]] -= tim; BUILDSTDERR: | ~~~~~~~~~~~^~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1164:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c: In function 'read_scroll': BUILDSTDERR: object.c:1169:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1169 | return; /* be sure we are within bounds */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1177:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1177 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1181:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1181 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1194:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1194 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1197:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1197 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1201:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1201 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1205:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1205 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1209:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1209 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1228:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1228 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1232:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1232 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1236:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1236 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1241:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1241 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1247:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1247 | hitp[j][i] = monster[mitem[j][i].mon].hitpoints; BUILDSTDERR: | ~~~~~~~~~~~^~~~ BUILDSTDERR: object.c:1249:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1249 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1254:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1254 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1259:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1259 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1264:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1264 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1273:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1273 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1278:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1278 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1164:1: note: declared here BUILDSTDERR: 1164 | read_scroll(typ) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1298:11: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1298 | c[exten[i]] <<= 1; BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: object.c: In function 'removecurse': BUILDSTDERR: object.c:1337:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1337 | if (c[curse[i]]) c[curse[i]] = 1; BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: object.c:1337:27: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1337 | if (c[curse[i]]) c[curse[i]] = 1; BUILDSTDERR: | ~~~~~^~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1340:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1340 | opit() BUILDSTDERR: | ^~~~ BUILDSTDERR: object.c: In function 'opit': BUILDSTDERR: object.c:1344:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1344 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1340:1: note: declared here BUILDSTDERR: 1340 | opit() BUILDSTDERR: | ^~~~ BUILDSTDERR: object.c:1349:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1349 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1340:1: note: declared here BUILDSTDERR: 1340 | opit() BUILDSTDERR: | ^~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1376:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1376 | obottomless() BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: object.c:1385:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1385 | oelevator(dir) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: object.c: In function 'oelevator': BUILDSTDERR: object.c:1391:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1391 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1385:1: note: declared here BUILDSTDERR: 1385 | oelevator(dir) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1417:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1417 | ostatue() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c:1421:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1421 | omirror() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c:1424:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1424 | obook() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c: In function 'obook': BUILDSTDERR: object.c:1435:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1435 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1424:1: note: declared here BUILDSTDERR: 1424 | obook() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c:1440:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1440 | readbook(iarg[playerx][playery]); BUILDSTDERR: | ^ BUILDSTDERR: object.c:1440:26: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1440 | readbook(iarg[playerx][playery]); BUILDSTDERR: | ^ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1442:4: note: in expansion of macro 'forget' BUILDSTDERR: 1442 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1442:4: note: in expansion of macro 'forget' BUILDSTDERR: 1442 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1442:4: note: in expansion of macro 'forget' BUILDSTDERR: 1442 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1442:4: note: in expansion of macro 'forget' BUILDSTDERR: 1442 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1443:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1443 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1424:1: note: declared here BUILDSTDERR: 1424 | obook() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c:1447:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1447 | if (take(OBOOK,iarg[playerx][playery])==0) BUILDSTDERR: | ^ BUILDSTDERR: object.c:1447:32: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1447 | if (take(OBOOK,iarg[playerx][playery])==0) BUILDSTDERR: | ^ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1448:5: note: in expansion of macro 'forget' BUILDSTDERR: 1448 | forget(); /* no more book */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1448:5: note: in expansion of macro 'forget' BUILDSTDERR: 1448 | forget(); /* no more book */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1448:5: note: in expansion of macro 'forget' BUILDSTDERR: 1448 | forget(); /* no more book */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1448:5: note: in expansion of macro 'forget' BUILDSTDERR: 1448 | forget(); /* no more book */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1449:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1449 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1424:1: note: declared here BUILDSTDERR: 1424 | obook() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1456:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1456 | readbook(arg) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: object.c:1478:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1478 | ocookie() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: In function 'ocookie': BUILDSTDERR: object.c:1489:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1489 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1478:1: note: declared here BUILDSTDERR: 1478 | ocookie() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1493:4: note: in expansion of macro 'forget' BUILDSTDERR: 1493 | forget(); /* no more cookie */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1493:4: note: in expansion of macro 'forget' BUILDSTDERR: 1493 | forget(); /* no more cookie */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1493:4: note: in expansion of macro 'forget' BUILDSTDERR: 1493 | forget(); /* no more cookie */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1493:4: note: in expansion of macro 'forget' BUILDSTDERR: 1493 | forget(); /* no more cookie */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1494:23: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1494 | if (c[BLINDCOUNT]) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1478:1: note: declared here BUILDSTDERR: 1478 | ocookie() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c:1495:45: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1495 | if ((p=fortune(fortfile))==(char *)NULL) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1478:1: note: declared here BUILDSTDERR: 1478 | ocookie() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c:1498:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1498 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1478:1: note: declared here BUILDSTDERR: 1478 | ocookie() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1502:28: note: in expansion of macro 'forget' BUILDSTDERR: 1502 | if (take(OCOOKIE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1502:28: note: in expansion of macro 'forget' BUILDSTDERR: 1502 | if (take(OCOOKIE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1502:28: note: in expansion of macro 'forget' BUILDSTDERR: 1502 | if (take(OCOOKIE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1502:28: note: in expansion of macro 'forget' BUILDSTDERR: 1502 | if (take(OCOOKIE,0)==0) forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1503:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1503 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1478:1: note: declared here BUILDSTDERR: 1478 | ocookie() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1509:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1509 | ogold(arg) BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c: In function 'ogold': BUILDSTDERR: object.c:1514:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1514 | i = iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1514:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1514 | i = iarg[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1523:6: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1523:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1523:31: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1523:40: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1523 | item[playerx][playery] = know[playerx][playery] = 0;/*destroy gold*/ BUILDSTDERR: | ^ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1526:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1526 | ohome() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c: In function 'ohome': BUILDSTDERR: object.c:1616:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1616 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1526:1: note: declared here BUILDSTDERR: 1526 | ohome() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c: At top level: BUILDSTDERR: object.c:1622:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1622 | iopts() BUILDSTDERR: | ^~~~~ BUILDSTDERR: object.c:1626:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1626 | ignore() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1631:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1631 | closedoor() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: object.c: In function 'closedoor': BUILDSTDERR: object.c:1636:20: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1636 | if (c[TIMESTOP]) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1631:1: note: declared here BUILDSTDERR: 1631 | closedoor() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: object.c:1642:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1642 | i=item[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1642:17: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1642 | i=item[playerx][playery]; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1645:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 1645 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1631:1: note: declared here BUILDSTDERR: 1631 | closedoor() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: In file included from object.c:2: BUILDSTDERR: header.h:174:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1648:2: note: in expansion of macro 'forget' BUILDSTDERR: 1648 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:22: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1648:2: note: in expansion of macro 'forget' BUILDSTDERR: 1648 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:38: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1648:2: note: in expansion of macro 'forget' BUILDSTDERR: 1648 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: header.h:174:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 174 | item[playerx][playery] = know[playerx][playery] = 0; \ BUILDSTDERR: | ^ BUILDSTDERR: object.c:1648:2: note: in expansion of macro 'forget' BUILDSTDERR: 1648 | forget(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: object.c:1649:6: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1649 | item[playerx][playery]=OCLOSEDDOOR; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1649:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1649 | item[playerx][playery]=OCLOSEDDOOR; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1650:6: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1650 | iarg[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: object.c:1650:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 1650 | iarg[playerx][playery]=0; BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'oteleport': BUILDSTDERR: object.c:850:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 850 | } BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'adjusttime': BUILDSTDERR: object.c:1159:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1159 | } BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'obottomless': BUILDSTDERR: object.c:1383:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1383 | } BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'ostatue': BUILDSTDERR: object.c:1418:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1418 | { } /* nothing happens when you move on a statue */ BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'omirror': BUILDSTDERR: object.c:1422:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1422 | { } /* nothing happens when you move on a mirror */ BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'readbook': BUILDSTDERR: object.c:1476:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1476 | } BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'ogold': BUILDSTDERR: object.c:1524:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1524 | } BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'iopts': BUILDSTDERR: object.c:1625:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1625 | } BUILDSTDERR: | ^ BUILDSTDERR: object.c: In function 'ignore': BUILDSTDERR: object.c:1629:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1629 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from regen.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: regen.c:15:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 15 | regen() BUILDSTDERR: | ^~~~~ BUILDSTDERR: regen.c: In function 'regen': BUILDSTDERR: regen.c:24:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 24 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: regen.c:15:1: note: declared here BUILDSTDERR: 15 | regen() BUILDSTDERR: | ^~~~~ BUILDSTDERR: regen.c:178:14: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 178 | if (item[playerx][playery]==0)/* if nothing there */ BUILDSTDERR: | ^ BUILDSTDERR: regen.c:178:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 178 | if (item[playerx][playery]==0)/* if nothing there */ BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from savelev.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from scores.c:36: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: scores.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 112 | readboard() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: scores.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 145 | writeboard() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: scores.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 187 | makeboard() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: scores.c:212:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 212 | hashewon() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c: In function 'paytaxes': BUILDSTDERR: scores.c:256:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 256 | if (winr[i].score > 0) BUILDSTDERR: | ^~ BUILDSTDERR: scores.c:258:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 258 | if (x < amt) BUILDSTDERR: | ^~ BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:275:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 275 | winshou() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: scores.c:324:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 324 | shou(x) BUILDSTDERR: | ^~~~ BUILDSTDERR: scores.c:397:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 397 | showscores() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: scores.c: In function 'showscores': BUILDSTDERR: scores.c:402:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 402 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:397:1: note: declared here BUILDSTDERR: 397 | showscores() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:420:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 420 | showallscores() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: scores.c: In function 'showallscores': BUILDSTDERR: scores.c:426:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 426 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:420:1: note: declared here BUILDSTDERR: 420 | showallscores() BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:453:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 453 | sortboard() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: scores.c:494:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 494 | newscore(score, whoo, whyded, winner) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c: In function 'newscore': BUILDSTDERR: scores.c:503:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 503 | return; /* do the scoreboard */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:494:1: note: declared here BUILDSTDERR: 494 | newscore(score, whoo, whyded, winner) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c:521:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 521 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:494:1: note: declared here BUILDSTDERR: 494 | newscore(score, whoo, whyded, winner) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c:528:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 528 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:494:1: note: declared here BUILDSTDERR: 494 | newscore(score, whoo, whyded, winner) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c:535:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 535 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:494:1: note: declared here BUILDSTDERR: 494 | newscore(score, whoo, whyded, winner) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c:542:5: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 542 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:494:1: note: declared here BUILDSTDERR: 494 | newscore(score, whoo, whyded, winner) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:558:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 558 | new1sub(score, i, whoo, taxes) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: scores.c:590:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 590 | new2sub(score, i, whoo, whyded) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: scores.c:663:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 663 | died(x) BUILDSTDERR: | ^~~~ BUILDSTDERR: scores.c: In function 'died': BUILDSTDERR: scores.c:693:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 693 | return; /* only case where died() returns */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c:663:1: note: declared here BUILDSTDERR: 663 | died(x) BUILDSTDERR: | ^~~~ BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:757:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 757 | diedsub(x) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: savelev.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 37 | savelevel() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: savelev.c: In function 'savelevel': BUILDSTDERR: savelev.c:39:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 39 | Saved_Level *storage = saved_levels[level]; BUILDSTDERR: | ^ BUILDSTDERR: savelev.c:46:12: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 46 | level_sums[level] = sum((unsigned char *)storage, sizeof(Saved_Level)); BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:53:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 53 | getlevel() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: savelev.c: In function 'getlevel': BUILDSTDERR: savelev.c:57:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 57 | Saved_Level *storage = saved_levels[level]; BUILDSTDERR: | ^ BUILDSTDERR: scores.c: In function 'diedsub': BUILDSTDERR: savelev.c:65:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 65 | if (level_sums[level] > 0) { BUILDSTDERR: | ^ BUILDSTDERR: scores.c:767:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] BUILDSTDERR: 767 | printf("Score: %ld Diff: %d ", c[GOLD], c[HARDGAME]); BUILDSTDERR: | ~^ ~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: savelev.c:67:20: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 67 | != level_sums[level]) { BUILDSTDERR: | ^ BUILDSTDERR: savelev.c:70:24: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 70 | i, level, level_sums[level]); BUILDSTDERR: | ^ BUILDSTDERR: scores.c:795:31: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 795 | printf(" on %s\n", levelname[level]); BUILDSTDERR: | ^ BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:802:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 802 | showscore3(index) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: savelev.c:77:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 77 | level_sums[level] = sum((unsigned char *)storage, BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:86:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 86 | savegame(fname) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: scores.c: In function 'showscore3': BUILDSTDERR: scores.c:832:53: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 832 | printf("\n%c) %s", index + 'a' , objectname[iven[index]]); BUILDSTDERR: | ~~~~^~~~~~~ BUILDSTDERR: scores.c:834:16: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: 834 | printf(" + %d", (long)ivenarg[index]); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: scores.c:836:14: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] BUILDSTDERR: 836 | printf(" %d", (long)ivenarg[index]); BUILDSTDERR: | ~^ ~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: scores.c: At top level: BUILDSTDERR: scores.c:846:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 846 | showscore1(idx, str2) BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: scores.c: In function 'showscore1': BUILDSTDERR: scores.c:851:51: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 851 | printf("\n%c) %s", idx + 'a' , objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: scores.c:853:51: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 853 | printf("\n%c) %s", idx + 'a' , objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: savelev.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 204 | restoregame(fname) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: scores.c:856:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 856 | objectname[iven[idx]], str2[ivenarg[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: savelev.c: In function 'restoregame': BUILDSTDERR: savelev.c:216:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 216 | if (fd = (mkstemp(tempfilename)) == -1) { BUILDSTDERR: | ^~ BUILDSTDERR: savelev.c:223:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 223 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:204:1: note: declared here BUILDSTDERR: 204 | restoregame(fname) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: savelev.c:235:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 235 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:204:1: note: declared here BUILDSTDERR: 204 | restoregame(fname) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: savelev.c:254:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 254 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:204:1: note: declared here BUILDSTDERR: 204 | restoregame(fname) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: savelev.c:274:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 274 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:204:1: note: declared here BUILDSTDERR: 204 | restoregame(fname) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: savelev.c:369:10: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 369 | if (item[playerx][playery] == OCLOSEDDOOR) BUILDSTDERR: | ^ BUILDSTDERR: savelev.c:369:19: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 369 | if (item[playerx][playery] == OCLOSEDDOOR) BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 376 | greedy() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: In function 'greedy': BUILDSTDERR: savelev.c:379:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 379 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:376:1: note: declared here BUILDSTDERR: 376 | greedy() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:388:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 388 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:376:1: note: declared here BUILDSTDERR: 376 | greedy() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 396 | fsorry() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: In function 'fsorry': BUILDSTDERR: savelev.c:399:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 399 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:396:1: note: declared here BUILDSTDERR: 396 | fsorry() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:411:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 411 | fcheat() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: In function 'fcheat': BUILDSTDERR: savelev.c:414:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 414 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:411:1: note: declared here BUILDSTDERR: 411 | fcheat() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:416:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 416 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: scores.c: In function 'new1sub': BUILDSTDERR: scores.c:575:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 575 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c:411:1: note: declared here BUILDSTDERR: 411 | fcheat() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:425:2: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 425 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c:411:1: note: declared here BUILDSTDERR: 411 | fcheat() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:429:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 429 | init_cells() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: scores.c: In function 'new2sub': BUILDSTDERR: scores.c:612:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 612 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c:441:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 441 | bwrite(fd, buf, num) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: savelev.c: In function 'bwrite': BUILDSTDERR: savelev.c:463:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: 463 | fprintf(stderr, "wrote %d, wanted %d\n", nwrote, num); BUILDSTDERR: | ~^ ~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: savelev.c: At top level: BUILDSTDERR: savelev.c:472:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 472 | bread(fd, buf, num) BUILDSTDERR: | ^~~~~ BUILDSTDERR: savelev.c: In function 'bread': BUILDSTDERR: scores.c: In function 'diedsub': BUILDSTDERR: scores.c:800:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 800 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c:493:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=] BUILDSTDERR: 493 | fprintf(stderr, " Got %d, wanted %d bytes\n", nread, num); BUILDSTDERR: | ~^ ~~~ BUILDSTDERR: | | | BUILDSTDERR: | int long int BUILDSTDERR: | %ld BUILDSTDERR: scores.c: In function 'showscore3': BUILDSTDERR: scores.c:844:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 844 | } BUILDSTDERR: | ^ BUILDSTDERR: scores.c: In function 'showscore1': BUILDSTDERR: scores.c:857:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 857 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: In function 'savelevel': BUILDSTDERR: savelev.c:47:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 47 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: In function 'getlevel': BUILDSTDERR: savelev.c:80:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 80 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: In function 'init_cells': BUILDSTDERR: savelev.c:438:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 438 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: In function 'bwrite': BUILDSTDERR: savelev.c:470:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 470 | } BUILDSTDERR: | ^ BUILDSTDERR: savelev.c: In function 'bread': BUILDSTDERR: savelev.c:500:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 500 | } BUILDSTDERR: | ^ BUILDSTDERR: scores.c: In function 'paytaxes': BUILDSTDERR: scores.c:242:7: warning: 'amt' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 242 | long amt; BUILDSTDERR: | ^~~ BUILDSTDERR: scores.c: In function 'sortboard': BUILDSTDERR: scores.c:468:16: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 468 | sco[j].order = pos++; BUILDSTDERR: | ~~~~~~~~~~~~~^~~~~~~ BUILDSTDERR: savelev.c: In function 'savegame': BUILDSTDERR: savelev.c:187:7: warning: 'fp' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 187 | if (pclose(fp) != 0) { /* if compress failed */ BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from show.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from signal.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: show.c:12:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 12 | showstr() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: show.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 23 | qshowstr() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: show.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 49 | t_setup (count) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: show.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 65 | t_endup (count) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: show.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 79 | showwear() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: show.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 129 | showwield() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: show.c:187:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 187 | showread () BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: show.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 218 | showeat () BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: show.c:247:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 247 | showquaff () BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: show.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 273 | show1 (idx, str2, known) BUILDSTDERR: | ^~~~~ BUILDSTDERR: show.c: In function 'show1': BUILDSTDERR: show.c:281:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 281 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c:283:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 283 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c:286:27: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 286 | idx+'a',objectname[iven[idx]],str2[ivenarg[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c:290:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 290 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c:292:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 292 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c:294:47: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 294 | lprintf("\n%c) %s",idx+'a',objectname[iven[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c:297:27: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 297 | idx+'a',objectname[iven[idx]],str2[ivenarg[idx]]); BUILDSTDERR: | ~~~~^~~~~ BUILDSTDERR: show.c: At top level: BUILDSTDERR: show.c:303:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 303 | show3 (index) BUILDSTDERR: | ^~~~~ BUILDSTDERR: show.c: In function 'show3': BUILDSTDERR: show.c:328:50: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 328 | lprintf("\n%c) %s",index+'a',objectname[iven[index]]); BUILDSTDERR: | ~~~~^~~~~~~ BUILDSTDERR: show.c: In function 'showstr': BUILDSTDERR: show.c:21:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 21 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'qshowstr': BUILDSTDERR: show.c:44:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 44 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 't_setup': BUILDSTDERR: show.c:60:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 60 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 't_endup': BUILDSTDERR: show.c:74:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 74 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'showwear': BUILDSTDERR: show.c:124:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 124 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'showwield': BUILDSTDERR: show.c:182:2: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 182 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'showread': BUILDSTDERR: show.c:213:2: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 213 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'showeat': BUILDSTDERR: show.c:242:2: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 242 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'showquaff': BUILDSTDERR: show.c:271:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 271 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'show1': BUILDSTDERR: show.c:301:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 301 | } BUILDSTDERR: | ^ BUILDSTDERR: show.c: In function 'show3': BUILDSTDERR: show.c:344:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 344 | } BUILDSTDERR: | ^ BUILDSTDERR: signal.c:5:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 5 | s2choose() /* text to be displayed if ^C during intro screen */ BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: signal.c: In function 's2choose': BUILDSTDERR: signal.c:14:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 14 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from sphere.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from store.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from tok.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: sphere.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 33 | newsphere (x, y, dir, life) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: sphere.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 136 | rmsphere (x, y) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: sphere.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 170 | sphboom (x, y) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sphere.c: In function 'sphboom': BUILDSTDERR: sphere.c:183:6: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 183 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sphere.c:170:1: note: declared here BUILDSTDERR: 170 | sphboom (x, y) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sphere.c: At top level: BUILDSTDERR: sphere.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 205 | movsphere() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: sphere.c: In function 'movsphere': BUILDSTDERR: sphere.c:223:7: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 223 | else return; /* no spheres */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sphere.c:205:1: note: declared here BUILDSTDERR: 205 | movsphere() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: sphere.c: In function 'newsphere': BUILDSTDERR: sphere.c:127:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 127 | } BUILDSTDERR: | ^ BUILDSTDERR: sphere.c: In function 'rmsphere': BUILDSTDERR: sphere.c:162:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 162 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 139 | dnd_2hed() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 146 | dnd_hed() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: store.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 156 | dndstore() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c: In function 'dndstore': BUILDSTDERR: store.c:178:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 178 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:156:1: note: declared here BUILDSTDERR: 156 | dndstore() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: tok.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 21 | yylex () BUILDSTDERR: | ^~~~~ BUILDSTDERR: store.c:203:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 203 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:156:1: note: declared here BUILDSTDERR: 156 | dndstore() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c:225:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 225 | itm[i].mem[itm[i].arg] = 1 ; BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: tok.c: In function 'yylex': BUILDSTDERR: tok.c:52:9: warning: implicit declaration of function 'wait' [-Wimplicit-function-declaration] BUILDSTDERR: 52 | wait((int *)0); BUILDSTDERR: | ^~~~ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:241:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 241 | handsfull() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: store.c:247:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 247 | outofstock() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: store.c:253:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 253 | nogold() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 266 | dnditem(i) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: store.c: In function 'dnditem': BUILDSTDERR: store.c:273:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 273 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:266:1: note: declared here BUILDSTDERR: 266 | dnditem(i) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: store.c:279:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 279 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:266:1: note: declared here BUILDSTDERR: 266 | dnditem(i) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: store.c:284:34: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 284 | lprintf("%s",&potionname[itm[i].arg][1]); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: store.c:288:34: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 288 | lprintf("%s",&scrollname[itm[i].arg][1]); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: store.c:290:37: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 290 | else lprintf("%s",objectname[itm[i].obj]); BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:305:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 305 | sch_hed() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: store.c:342:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 342 | oschool() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tok.c: At top level: BUILDSTDERR: tok.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 124 | flushall() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: tok.c:151:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 151 | sethard (hard) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: store.c: In function 'oschool': BUILDSTDERR: store.c:368:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 368 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:342:1: note: declared here BUILDSTDERR: 342 | oschool() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tok.c: In function 'sethard': BUILDSTDERR: tok.c:165:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 165 | if (k=c[HARDGAME]) BUILDSTDERR: | ^ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:473:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 473 | obank() BUILDSTDERR: | ^~~~~ BUILDSTDERR: store.c:477:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 477 | obank2() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:482:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 482 | banktitle(str) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: tok.c: At top level: BUILDSTDERR: tok.c:183:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 183 | readopts () BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: tok.c: In function 'readopts': BUILDSTDERR: tok.c:193:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 193 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tok.c:183:1: note: declared here BUILDSTDERR: 183 | readopts () BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c: In function 'banktitle': BUILDSTDERR: store.c:506:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 506 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:482:1: note: declared here BUILDSTDERR: 482 | banktitle(str) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:520:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 520 | ointerest() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: store.c:540:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 540 | obanksub() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c: In function 'obanksub': BUILDSTDERR: store.c:565:42: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 565 | lprintf("%c) %s",i+'a',objectname[iven[i]]); BUILDSTDERR: | ~~~~^~~ BUILDSTDERR: tok.c:234:23: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 234 | strcpy(usermonster[usermpoint],str); BUILDSTDERR: | ^ BUILDSTDERR: In file included from header.h:28, BUILDSTDERR: from tok.c:2: BUILDSTDERR: tok.c:239:30: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 239 | if (isalpha(j=usermonster[usermpoint][0])) { BUILDSTDERR: | ^ BUILDSTDERR: tok.c:242:45: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 242 | monster[k].name= &usermonster[usermpoint++][0]; BUILDSTDERR: | ~~~~~~~~~~^~ BUILDSTDERR: store.c:661:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 661 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:540:1: note: declared here BUILDSTDERR: 540 | obanksub() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:670:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 670 | appraise(eye, order) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: store.c:706:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 706 | otradhead() BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: store.c:716:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 716 | otradepost() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: store.c: In function 'otradepost': BUILDSTDERR: store.c:739:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 739 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:716:1: note: declared here BUILDSTDERR: 716 | otradepost() BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: tok.c: In function 'yylex': BUILDSTDERR: tok.c:81:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 81 | setuid(geteuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tok.c:82:5: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 82 | setgid(getegid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tok.c: In function 'flushall': BUILDSTDERR: tok.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 145 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c:757:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 757 | if (!j) BUILDSTDERR: | ^ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:813:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 813 | cnsitm() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:821:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 821 | olrs() BUILDSTDERR: | ^~~~ BUILDSTDERR: tok.c: In function 'sethard': BUILDSTDERR: tok.c:178:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 178 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'olrs': BUILDSTDERR: store.c:841:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 841 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:821:1: note: declared here BUILDSTDERR: 821 | olrs() BUILDSTDERR: | ^~~~ BUILDSTDERR: store.c:873:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 873 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:821:1: note: declared here BUILDSTDERR: 821 | olrs() BUILDSTDERR: | ^~~~ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:891:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 891 | nomore() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:897:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 897 | nocash() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:911:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 911 | pad_hd() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:934:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 934 | opad() BUILDSTDERR: | ^~~~ BUILDSTDERR: store.c: In function 'opad': BUILDSTDERR: store.c:964:4: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 964 | return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: store.c:934:1: note: declared here BUILDSTDERR: 934 | opad() BUILDSTDERR: | ^~~~ BUILDSTDERR: store.c: At top level: BUILDSTDERR: store.c:1054:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1054 | snag(itm) BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from nap.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: store.c:1075:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 1075 | pick_char(foo) BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: store.c: In function 'dnd_2hed': BUILDSTDERR: store.c:144:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 144 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'dnd_hed': BUILDSTDERR: store.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 154 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'handsfull': BUILDSTDERR: store.c:246:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 246 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'outofstock': BUILDSTDERR: store.c:252:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 252 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'nogold': BUILDSTDERR: store.c:258:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 258 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'sch_hed': BUILDSTDERR: store.c:340:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 340 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'obank': BUILDSTDERR: store.c:476:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 476 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'obank2': BUILDSTDERR: store.c:480:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 480 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'ointerest': BUILDSTDERR: store.c:535:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 535 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'appraise': BUILDSTDERR: store.c:701:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 701 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'otradhead': BUILDSTDERR: store.c:714:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 714 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'cnsitm': BUILDSTDERR: store.c:816:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 816 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'nomore': BUILDSTDERR: store.c:896:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 896 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'nocash': BUILDSTDERR: store.c:902:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 902 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'pad_hd': BUILDSTDERR: store.c:932:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 932 | } BUILDSTDERR: | ^ BUILDSTDERR: store.c: In function 'pick_char': BUILDSTDERR: store.c:1258:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 1258 | } /* end pick_char */ BUILDSTDERR: | ^ BUILDSTDERR: nap.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 9 | nap(x) BUILDSTDERR: | ^~~ BUILDSTDERR: nap.c: In function 'nap': BUILDSTDERR: nap.c:13:3: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 13 | return; /* eliminate chance for infinite loop */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nap.c:9:1: note: declared here BUILDSTDERR: 9 | nap(x) BUILDSTDERR: | ^~~ BUILDSTDERR: nap.c:14:2: warning: implicit declaration of function 'lflush'; did you mean 'fflush'? [-Wimplicit-function-declaration] BUILDSTDERR: 14 | lflush(); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | fflush BUILDSTDERR: nap.c:17:7: warning: implicit declaration of function 'napms'; did you mean 'nap'? [-Wimplicit-function-declaration] BUILDSTDERR: 17 | else napms(x); BUILDSTDERR: | ^~~~~ BUILDSTDERR: | nap BUILDSTDERR: nap.c: At top level: BUILDSTDERR: nap.c:26:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 26 | napms(time) BUILDSTDERR: | ^~~~~ BUILDSTDERR: nap.c: In function 'napms': BUILDSTDERR: nap.c:33:17: warning: 'return' with no value, in function returning non-void [-Wreturn-type] BUILDSTDERR: 33 | if (time <= 0) return; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nap.c:26:1: note: declared here BUILDSTDERR: 26 | napms(time) BUILDSTDERR: | ^~~~~ BUILDSTDERR: nap.c:42:2: warning: implicit declaration of function 'sigpause'; did you mean 'pause'? [-Wimplicit-function-declaration] BUILDSTDERR: 42 | sigpause(oldsig); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: | pause BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from header.h:38, BUILDSTDERR: from tok.c:2: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'readopts' at tok.c:205:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tok.c: In function 'readopts': BUILDSTDERR: tok.c:205:24: note: length computed here BUILDSTDERR: 205 | strncpy (str, s2buf, strlen(s2buf)-1); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: In file included from header.h:2, BUILDSTDERR: from tty.c:2: BUILDSTDERR: config.h:23:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 23 | /*#undef EUNICE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:24:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 24 | /*#undef VMS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:107:21: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 107 | /*#undef RANDOM /**/ BUILDSTDERR: | BUILDSTDERR: config.h:113:27: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 113 | /*#undef DEF_COMPRESS /**/ BUILDSTDERR: | BUILDSTDERR: config.h:145:22: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 145 | /*#undef BSDCOMPILE /**/ BUILDSTDERR: | BUILDSTDERR: config.h:150:18: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 150 | /*#undef HPUX /**/ BUILDSTDERR: | BUILDSTDERR: config.h:158:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 158 | /* SYSERRLISTDEFINED BUILDSTDERR: | BUILDSTDERR: tty.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 58 | setctty() BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: tty.c:71:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 71 | gettty() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tty.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 91 | settty() BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tty.c:101:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 101 | setuptty() BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: tty.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 121 | scbr () BUILDSTDERR: | ^~~~ BUILDSTDERR: tty.c:136:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 136 | sncbr () BUILDSTDERR: | ^~~~~ BUILDSTDERR: tty.c:152:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 152 | setupvt100 () BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: tty.c:164:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 164 | clearvt100 () BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: tty.c: In function 'setctty': BUILDSTDERR: tty.c:64:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 64 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'gettty': BUILDSTDERR: tty.c:88:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 88 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'settty': BUILDSTDERR: tty.c:99:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 99 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'setuptty': BUILDSTDERR: tty.c:114:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 114 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'scbr': BUILDSTDERR: tty.c:130:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 130 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'sncbr': BUILDSTDERR: tty.c:145:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 145 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'setupvt100': BUILDSTDERR: tty.c:157:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 157 | } BUILDSTDERR: | ^ BUILDSTDERR: tty.c: In function 'clearvt100': BUILDSTDERR: tty.c:168:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 168 | } BUILDSTDERR: | ^ c1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c moreobj.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c movem.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c object.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c regen.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c savelev.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c scores.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c show.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c signal.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c sphere.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c store.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tok.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c nap.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c tty.c BUILDSTDERR: gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redh+ RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 at-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -o Ularn action.o bill.o create.o data.o diag.o display.o fortune.o player.o help.o io.o main.o monster.o moreobj.o movem.o object.o regen.o savelev.o scores.o show.o signal.o sphere.o store.o tok.o nap.o tty.o -lcurses Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FnrUpJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 + cd Ularn + rm -rf /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 + make install DESTDIR=/builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64//var/games + touch /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64//var/games/Ularn-scoreboard + desktop-file-install --dir /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/applications /builddir/build/SOURCES/ularn.desktop + mkdir -p /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64//usr/share/icons/hicolor/32x32/apps/ + install -p -m 644 /builddir/build/SOURCES/ularn.png /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64//usr/share/icons/hicolor/32x32/apps/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5p4-31.fc31 --unique-debug-suffix -1.5p4-31.fc31.riscv64 --unique-debug-src-base ularn-1.5p4-31.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/Ularn BUILDSTDERR: 726 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs if test ! -d /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/ularn ; then mkdir -p /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/ularn ; fi cp Umaps Ufortune Uhelp /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/ularn chmod 644 /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/ularn/Umaps /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/ularn/Ufortune \ /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/ularn/Uhelp if test ! -d /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/bin ; then mkdir -p /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/bin ; fi cp Ularn /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/applications/ularn.desktop: error: (will be fatal in the future): value "ularn.png" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/bin/Ularn extracting debug info from /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/bin/Ularn original debug info size: 616kB, size after compression: 536kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: ularn-1.5p4-31.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.vmUhzG + umask 022 + cd /builddir/build/BUILD + cd Ularn + DOCDIR=/builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + cp -pr README /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + cp -pr README.spoilers /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + cp -pr GPL /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + cp -pr CHANGES.text /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + cp -pr Ularnopts /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64/usr/share/doc/ularn + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: application() application(ularn.desktop) config(ularn) = 1.5p4-31.fc31 ularn = 1.5p4-31.fc31 ularn(riscv-64) = 1.5p4-31.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): coreutils Requires(postun): coreutils Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libncurses.so.6()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: ularn-debugsource-1.5p4-31.fc31.riscv64 Provides: ularn-debugsource = 1.5p4-31.fc31 ularn-debugsource(riscv-64) = 1.5p4-31.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ularn-debuginfo-1.5p4-31.fc31.riscv64 Provides: debuginfo(build-id) = 67be6ed9998004ea675080f7c5f39d806cab16a5 ularn-debuginfo = 1.5p4-31.fc31 ularn-debuginfo(riscv-64) = 1.5p4-31.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: ularn-debugsource(riscv-64) = 1.5p4-31.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 Wrote: /builddir/build/RPMS/ularn-1.5p4-31.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ularn-debugsource-1.5p4-31.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/ularn-debuginfo-1.5p4-31.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8o5HvG + umask 022 + cd /builddir/build/BUILD + cd Ularn + /usr/bin/rm -rf /builddir/build/BUILDROOT/ularn-1.5p4-31.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0