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/sjasm.spec'], chrootPath='/var/lib/mock/f31-build-52478-27658/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/sjasm.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=1549065600 Wrote: /builddir/build/SRPMS/sjasm-0.39-0.25.g1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sjasm.spec'], chrootPath='/var/lib/mock/f31-build-52478-27658/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/sjasm.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=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.niXAP2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sjasm-0.39 + /usr/bin/mkdir -p sjasm-0.39 + cd sjasm-0.39 + /usr/bin/unzip -qq /builddir/build/SOURCES/sjasm39g1.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (sjasm-0.39-fixmakefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + echo 'Patch #1 (sjasm-0.39-64bitfix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 + sed -i 's/\r//' sjasm.txt + iconv -f iso8859-1 sjasm.txt -t utf8 + /bin/mv -f sjasm.txt.conv sjasm.txt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (sjasm-0.39-fixmakefile.patch): patching file sjasmsrc039g1/Makefile Patch #1 (sjasm-0.39-64bitfix.patch): patching file sjasmsrc039g1/loose.cpp Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.elUZw2 + umask 022 + cd /builddir/build/BUILD + cd sjasm-0.39 + make -C sjasmsrc039g1 -j4 'CXXFLAGS=-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 -DMAX_PATH=MAXPATHLEN' BUILDSTDERR: parser.cpp: In function 'int ParseExpPrim(char*&, long int&)': BUILDSTDERR: parser.cpp:37:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 37 | if (*p=='(') { ++p; res=ParseExpression(p,nval); if (!need(p,')')) { error("')' expected",0); return 0; } } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:41:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 41 | else if (!(res=getCharConst(p,nval))) { if(synerr) error("Syntax error",p,CATCHALL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpUnair(char*&, long int&)': BUILDSTDERR: parser.cpp:48:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 48 | if ((oper=need(p,"! ~ + - ")) || (oper=needa(p,"not",'!',"low",'l',"high",'h'))) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: parser.cpp:48:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 48 | if ((oper=need(p,"! ~ + - ")) || (oper=needa(p,"not",'!',"low",'l',"high",'h'))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp:48:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 48 | if ((oper=need(p,"! ~ + - ")) || (oper=needa(p,"not",'!',"low",'l',"high",'h'))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp:48:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 48 | if ((oper=need(p,"! ~ + - ")) || (oper=needa(p,"not",'!',"low",'l',"high",'h'))) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: parser.cpp:56:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 56 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpMul(char*&, long int&)': BUILDSTDERR: parser.cpp:66:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 66 | while ((oper=need(p,"* / % ")) || (oper=needa(p,"mod",'%'))) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: parser.cpp:66:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 66 | while ((oper=need(p,"* / % ")) || (oper=needa(p,"mod",'%'))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp:70:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 70 | case '/': if (right) left/=right; else { error("Division by zero",0); left=0; } break; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:71:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 71 | case '%': if (right) left%=right; else { error("Division by zero",0); left=0; } break; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:72:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 72 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpAdd(char*&, long int&)': BUILDSTDERR: parser.cpp:82:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 82 | while (oper=need(p,"+ - ")) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: parser.cpp:82:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 82 | while (oper=need(p,"+ - ")) { BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:87:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 87 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpShift(char*&, long int&)': BUILDSTDERR: parser.cpp:98:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 98 | while ((oper=need(p,"<<>>")) || (oper=needa(p,"shl",'<'+'<',"shr",'>'))) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: parser.cpp:98:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 98 | while ((oper=need(p,"<<>>")) || (oper=needa(p,"shl",'<'+'<',"shr",'>'))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp:98:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 98 | while ((oper=need(p,"<<>>")) || (oper=needa(p,"shl",'<'+'<',"shr",'>'))) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp:106:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 106 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpMinMax(char*&, long int&)': BUILDSTDERR: parser.cpp:116:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 116 | while (oper=need(p,"?")) { BUILDSTDERR: | ^~~~~~ BUILDSTDERR: parser.cpp:116:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 116 | while (oper=need(p,"?")) { BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:121:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 121 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpCmp(char*&, long int&)': BUILDSTDERR: parser.cpp:131:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 131 | while (oper=need(p,"<=>=< > ")) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: parser.cpp:131:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 131 | while (oper=need(p,"<=>=< > ")) { BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:138:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 138 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpEqu(char*&, long int&)': BUILDSTDERR: parser.cpp:148:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 148 | while (oper=need(p,"=_==!=")) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: parser.cpp:148:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 148 | while (oper=need(p,"=_==!=")) { BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:154:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 154 | default: error("Parser error",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpBitAnd(char*&, long int&)': BUILDSTDERR: parser.cpp:163:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 163 | while (need(p,"&_") || needa(p,"and",'&')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: parser.cpp:163:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 163 | while (need(p,"&_") || needa(p,"and",'&')) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpBitXor(char*&, long int&)': BUILDSTDERR: parser.cpp:173:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 173 | while (need(p,"^ ") || needa(p,"xor",'^')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: parser.cpp:173:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 173 | while (need(p,"^ ") || needa(p,"xor",'^')) { BUILDSTDERR: | ^~~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpBitOr(char*&, long int&)': BUILDSTDERR: parser.cpp:183:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 183 | while (need(p,"|_") || needa(p,"or",'|')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: parser.cpp:183:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 183 | while (need(p,"|_") || needa(p,"or",'|')) { BUILDSTDERR: | ^~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpLogAnd(char*&, long int&)': BUILDSTDERR: parser.cpp:193:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 193 | while (need(p,"&&")) { BUILDSTDERR: | ^~~~ BUILDSTDERR: parser.cpp: In function 'int ParseExpLogOr(char*&, long int&)': BUILDSTDERR: parser.cpp:203:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 203 | while (need(p,"||")) { BUILDSTDERR: | ^~~~ BUILDSTDERR: parser.cpp: In function 'char* ReplaceDefine(char*)': BUILDSTDERR: parser.cpp:220:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 220 | if (++replacedefineteller>20) error("Over 20 defines nested",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:234:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 234 | if (a!='\'' || (*(lp-2)!='f' || *(lp-3)!='a') && (*(lp-2)!='F' && *(lp-3)!='A')) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:240:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 240 | if (!comlin && !comnxtlin) ++rp; ++lp; BUILDSTDERR: | ^~ BUILDSTDERR: parser.cpp:240:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 240 | if (!comlin && !comnxtlin) ++rp; ++lp; BUILDSTDERR: | ^~ BUILDSTDERR: parser.cpp:250:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 250 | while (*rp=*ver) { ++rp; ++ver; } BUILDSTDERR: | ~~~^~~~~ BUILDSTDERR: parser.cpp:252:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 252 | if (strlen(nl)>LINEMAX-1) error("line too long after macro expansion",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'void ParseLabel()': BUILDSTDERR: parser.cpp:272:13: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 272 | error("Numberlabels only allowed as adresslabels",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:282:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 282 | if (!ParseExpression(lp,val)) { error("Expression error",lp); val=0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:283:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 283 | if (labelnotfound) { error("Forward reference",0,PASS1); } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:288:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 288 | if (labelnotfound) error("Forward reference",0,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:305:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 305 | if (!getLabelValue(ttp,oval)) error("Internal error. ParseLabel()",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:306:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 306 | if (val!=oval) error("Label has different value in pass 2",temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:308:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 308 | if (!labtab.insert(tp,val)) error("Duplicate label",tp,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'void ParseMacro()': BUILDSTDERR: parser.cpp:331:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: 331 | if (structtab.emit(n,0,p,gl) || !gl && macrotab.emit(n,p)) *lp=0; BUILDSTDERR: | ~~~~^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'void ParseLine()': BUILDSTDERR: parser.cpp:355:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 355 | if (*lp) error("Unexpected",lp); ListFile(); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: parser.cpp:355:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 355 | if (*lp) error("Unexpected",lp); ListFile(); BUILDSTDERR: | ^~ BUILDSTDERR: parser.cpp:355:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 355 | if (*lp) error("Unexpected",lp); ListFile(); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: parser.cpp: In function 'void ParseStructLabel(structcls*)': BUILDSTDERR: parser.cpp:366:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 366 | if (isdigit(*tp)) { error("Numberlabels not allowed within structs",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp: In function 'void ParseInSTRUCTion(structcls*)': BUILDSTDERR: parser.cpp:376:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 376 | if (!ParseExpression(lp,len)) { len=1; error("Expression expected",0,PASS1); } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:378:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 378 | if (!ParseExpression(lp,val)) { val=0; error("Expression expected",0,PASS1); } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: parser.cpp:385:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 385 | if (!ParseExpression(lp,val)) val=0; check8(val); BUILDSTDERR: | ^~ BUILDSTDERR: parser.cpp:385:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 385 | if (!ParseExpression(lp,val)) val=0; check8(val); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: parser.cpp:390:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 390 | if (!ParseExpression(lp,val)) val=0; check16(val); BUILDSTDERR: | ^~ BUILDSTDERR: parser.cpp:390:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 390 | if (!ParseExpression(lp,val)) val=0; check16(val); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: parser.cpp:395:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 395 | if (!ParseExpression(lp,val)) val=0; check24(val); BUILDSTDERR: | ^~ BUILDSTDERR: parser.cpp:395:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 395 | if (!ParseExpression(lp,val)) val=0; check24(val); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: parser.cpp: In function 'void ParseStructLine(structcls*)': BUILDSTDERR: parser.cpp:425:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 425 | if (*lp) error("Unexpected",lp); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void piZ80()': BUILDSTDERR: piz80.cpp:50:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 50 | error ("Unrecognized instruction",lp); return; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:42:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 42 | if (!(n=getinstr(lp))) BUILDSTDERR: | ^ BUILDSTDERR: piz80.cpp:52:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 52 | if (!z80funtab.zoek(n)) { error ("Unrecognized instruction",bp); *lp=0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'int z80getbyte(char*&)': BUILDSTDERR: piz80.cpp:57:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 57 | if (!ParseExpression(p,val)) { error("Operand expected",NULL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'int z80getword(char*&)': BUILDSTDERR: piz80.cpp:64:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 64 | if (!ParseExpression(p,val)) { error("Operand expected",NULL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'int z80getidxoffset(char*&)': BUILDSTDERR: piz80.cpp:75:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 75 | if (!ParseExpression(p,val)) { error("Operand expected",NULL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'int z80getadres(char*&, long int&)': BUILDSTDERR: piz80.cpp:83:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 83 | error("Operand expected",0,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizADC()': BUILDSTDERR: piz80.cpp:242:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 242 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizADD()': BUILDSTDERR: piz80.cpp:294:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 294 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:304:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 304 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:314:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 314 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizCALL()': BUILDSTDERR: piz80.cpp:447:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 447 | if (b>65535) error("Bytes lost",0); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizDEC()': BUILDSTDERR: piz80.cpp:563:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 563 | if (cparen(lp)) e[0]=0x35; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:563:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 563 | if (cparen(lp)) e[0]=0x35; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizEX()': BUILDSTDERR: piz80.cpp:612:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 612 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:620:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 620 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizINC()': BUILDSTDERR: piz80.cpp:716:7: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 716 | if (cparen(lp)) e[0]=0x34; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:716:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 716 | if (cparen(lp)) e[0]=0x34; break; BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp: In function 'int ParseDirective()': BUILDSTDERR: direct.cpp:37:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 37 | if (!(n=getinstr(lp))) BUILDSTDERR: | ^ BUILDSTDERR: piz80.cpp: In function 'void pizJP()': BUILDSTDERR: piz80.cpp:793:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 793 | if (b>65535) error("Bytes lost",0); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirBYTE()': BUILDSTDERR: direct.cpp:71:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 71 | if (!teller) { error(".byte with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirDC()': BUILDSTDERR: direct.cpp:86:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 86 | if (!teller) { error(".byte with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirDZ()': BUILDSTDERR: direct.cpp:101:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 101 | if (!teller) { error(".byte with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizJR()': BUILDSTDERR: piz80.cpp:807:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 807 | case Z80C_M: case Z80C_P: case Z80C_PE: case Z80C_PO: error("Illegal condition",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirABYTE()': BUILDSTDERR: direct.cpp:120:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 120 | if (!teller) { error(".abyte with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:130:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 130 | } else error("Expression expected",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirABYTEC()': BUILDSTDERR: direct.cpp:139:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 139 | if (!teller) { error(".abyte with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:149:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 149 | } else error("Expression expected",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirABYTEZ()': BUILDSTDERR: direct.cpp:158:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 158 | if (!teller) { error(".abyte with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:169:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 169 | } else error("Expression expected",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirWORD()': BUILDSTDERR: direct.cpp:179:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 179 | if (teller>127) error("Over 128 values in .word",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:181:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 181 | } else { error("Syntax error",lp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:187:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 187 | if (!teller) { error(".word with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirDWORD()': BUILDSTDERR: direct.cpp:205:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 205 | if (teller>127) error("Over 128 values in .dword",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:207:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 207 | } else { error("Syntax error",lp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:213:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 213 | if (!teller) { error(".dword with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirD24()': BUILDSTDERR: direct.cpp:232:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 232 | if (teller>127) error("Over 128 values in .d24",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:234:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 234 | } else { error("Syntax error",lp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:240:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 240 | if (!teller) { error(".d24 with no arguments",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirBLOCK()': BUILDSTDERR: direct.cpp:255:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 255 | if ((signed)teller<0) error("Negative .block?",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:266:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 266 | } else error("Syntax Error",lp,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirORG()': BUILDSTDERR: direct.cpp:274:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 274 | if (ParseExpression(lp,val)) adres=val; else error("Syntax error",0,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirMAP()': BUILDSTDERR: direct.cpp:284:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 284 | if (ParseExpression(lp,val)) mapadr=val; else error("Syntax error",0,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:285:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 285 | if (labelnotfound) error("Forward reference",0,ALL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirENDMAP()': BUILDSTDERR: direct.cpp:293:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 293 | else error(".endmodule without module",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirALIGN()': BUILDSTDERR: direct.cpp:308:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 308 | error("Illegal align",0); break; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirMODULE()': BUILDSTDERR: direct.cpp:319:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 319 | if (n=getid(lp)) modlabp=n; else error("Syntax error",0,CATCHALL); BUILDSTDERR: | ~^~~~~~~~~~ BUILDSTDERR: direct.cpp:319:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 319 | if (n=getid(lp)) modlabp=n; else error("Syntax error",0,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirENDMODULE()': BUILDSTDERR: direct.cpp:327:14: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 327 | else error(".endmodule without module",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirARM()': BUILDSTDERR: direct.cpp:349:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 349 | error("No ARM support in this version",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirTHUMB()': BUILDSTDERR: direct.cpp:361:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 361 | error("No ARM support in this version",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirSIZE()': BUILDSTDERR: direct.cpp:377:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 377 | if (!ParseExpression(lp,val)) { error("Syntax error",bp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:379:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 379 | if (size!=(aint)-1) { error("Multiple sizes?",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirINCBIN()': BUILDSTDERR: direct.cpp:393:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 393 | if (!ParseExpression(lp,val)) { error("Syntax error",bp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:394:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 394 | if (val<0) { error("Negative values are not allowed",bp); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:398:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 398 | if (!ParseExpression(lp,val)) { error("Syntax error",bp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:399:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 399 | if (val<0) { error("Negative values are not allowed",bp); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirTEXTAREA()': BUILDSTDERR: direct.cpp:412:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 412 | if (!ParseExpression(lp,val)) { error("No adress given",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:413:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 413 | if (labelnotfound) error("Forward reference",0,ALL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:415:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 415 | adres=val; if (ReadFile()!=ENDTEXTAREA) error("No end of textarea",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirIF()': BUILDSTDERR: direct.cpp:425:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 425 | if (!ParseExpression(lp,val)) { error("Syntax error",0,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:426:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 426 | if (labelnotfound) error("Forward reference",0,ALL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:430:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 430 | case ELSE: if (SkipFile()!=ENDIF) error("No endif",0); break; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:432:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 432 | default: error("No endif!",0); break; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp:438:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 438 | case ELSE: if (ReadFile()!=ENDIF) error("No endif",0); break; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:440:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 440 | default: error("No endif!",0); break; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirELSE()': BUILDSTDERR: direct.cpp:447:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 447 | error("Else without if",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirENDIF()': BUILDSTDERR: direct.cpp:451:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 451 | error("Endif without if",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirENDTEXTAREA()': BUILDSTDERR: direct.cpp:455:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 455 | error("Endt without textarea",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirOUTPUT()': BUILDSTDERR: direct.cpp:481:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 481 | else error("Syntax error",bp,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirDEFINE()': BUILDSTDERR: direct.cpp:493:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 493 | if (!*p) error("define error",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:498:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 498 | if (!cmphstr(p,"define")) error("define error",0,FATAL); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:498:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 498 | if (!cmphstr(p,"define")) error("define error",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:499:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 499 | if (!(id=getid(p))) { error("illegal define",0); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirIFDEF()': BUILDSTDERR: direct.cpp:507:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 507 | if (!*p) error("ifdef error",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:512:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 512 | if (!cmphstr(p,"ifdef")) error("ifdef error",0,FATAL); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizLD()': BUILDSTDERR: piz80.cpp:1112:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1112 | if ((b=z80getidxoffset(lp))==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:1113:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1113 | if (cparen(lp)) e[0]=e[3]=reg; e[1]=0x4e; e[4]=0x46; e[2]=b; e[5]=b+1; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:1113:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1113 | if (cparen(lp)) e[0]=e[3]=reg; e[1]=0x4e; e[4]=0x46; e[2]=b; e[5]=b+1; break; BUILDSTDERR: | ^ BUILDSTDERR: direct.cpp:512:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 512 | if (!cmphstr(p,"ifdef")) error("ifdef error",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:514:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 514 | if (!(id=getid(p))) { error("Illegal identifier",0,PASS1); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:518:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 518 | case ELSE: if (SkipFile()!=ENDIF) error("No endif",0); break; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:520:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 520 | default: error("No endif!",0); break; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp:526:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 526 | case ELSE: if (ReadFile()!=ENDIF) error("No endif",0); break; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:528:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 528 | default: error("No endif!",0); break; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirIFNDEF()': BUILDSTDERR: direct.cpp:537:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 537 | if (!*p) error("ifndef error",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:542:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 542 | if (!cmphstr(p,"ifndef")) error("ifndef error",0,FATAL); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: piz80.cpp:1145:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1145 | if ((b=z80getidxoffset(lp))==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:542:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 542 | if (!cmphstr(p,"ifndef")) error("ifndef error",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:1146:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1146 | if (cparen(lp)) e[0]=e[3]=reg; e[1]=0x5e; e[4]=0x56; e[2]=b; e[5]=b+1; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:1146:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1146 | if (cparen(lp)) e[0]=e[3]=reg; e[1]=0x5e; e[4]=0x56; e[2]=b; e[5]=b+1; break; BUILDSTDERR: | ^ BUILDSTDERR: direct.cpp:544:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 544 | if (!(id=getid(p))) { error("Illegal identifier",0,PASS1); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:548:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 548 | case ELSE: if (SkipFile()!=ENDIF) error("No endif",0); break; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:550:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 550 | default: error("No endif!",0); break; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp:556:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 556 | case ELSE: if (ReadFile()!=ENDIF) error("No endif",0); break; BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:558:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 558 | default: error("No endif!",0); break; BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirEXPORT()': BUILDSTDERR: direct.cpp:568:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 568 | if (!(n=p=getid(lp))) { error("Syntax error",lp,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:570:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 570 | getLabelValue(n,val); if (labelnotfound) { error("Label not found",p,SUPPRES); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirMACRO()': BUILDSTDERR: direct.cpp:579:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 579 | if (lijst) error("No macro definitions allowed here",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:581:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 581 | if (!(n=getid(lp))) { error("Illegal macroname",0,PASS1); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirENDM()': BUILDSTDERR: direct.cpp:586:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 586 | error("End macro without macro",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirENDS()': BUILDSTDERR: direct.cpp:590:9: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 590 | error("End structre without structure",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirASSERT()': BUILDSTDERR: direct.cpp:596:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 596 | if (!ParseExpression(lp,val)) { error("Syntax error",0,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:597:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 597 | if (pass==2 && !val) error("Assertion failed",p); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:1177:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1177 | if ((b=z80getidxoffset(lp))==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirSTRUCT()': BUILDSTDERR: direct.cpp:611:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 611 | if (!(naam=getid(lp))) { error("Illegal structurename",0,PASS1); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:1178:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1178 | if (cparen(lp)) e[0]=e[3]=reg; e[1]=0x6e; e[4]=0x66; e[2]=b; e[5]=b+1; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:1178:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1178 | if (cparen(lp)) e[0]=e[3]=reg; e[1]=0x6e; e[4]=0x66; e[2]=b; e[5]=b+1; break; BUILDSTDERR: | ^ BUILDSTDERR: direct.cpp:614:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 614 | if (!ParseExpression(lp,offset)) { error("Syntax error",0,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:615:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 615 | if (labelnotfound) error("Forward reference",0,ALL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:620:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 620 | if (!ReadLine()) { error("Unexpected end of structure",0,PASS1); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:621:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 621 | lp=line; if (white()) { skipblanks(lp); if (*lp=='.') ++lp; if (cmphstr(lp,"ends")) break; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirFORG()': BUILDSTDERR: direct.cpp:633:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 633 | if (!ParseExpression(lp,val)) error("Syntax error",0,CATCHALL); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void dirREPT()': BUILDSTDERR: direct.cpp:648:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 648 | if (!ParseExpression(lp,val)) { error("Syntax error",0,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:649:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 649 | if (labelnotfound) error("Forward reference",0,ALL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:650:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 650 | if ((int)val<0) { error("Illegal repeat value",0,CATCHALL); return; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:652:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 652 | if (!ReadFileToStringLst(f,"endm")) error("Unexpected end of repeat",0,PASS1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:652:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 652 | if (!ReadFileToStringLst(f,"endm")) error("Unexpected end of repeat",0,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp: In function 'void InsertDirectives()': BUILDSTDERR: direct.cpp:660:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 660 | dirtab.insertd("assert",dirASSERT); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:661:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 661 | dirtab.insertd("byte",dirBYTE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:662:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 662 | dirtab.insertd("abyte",dirABYTE); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:663:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 663 | dirtab.insertd("abytec",dirABYTEC); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:664:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 664 | dirtab.insertd("abytez",dirABYTEZ); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:665:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 665 | dirtab.insertd("word",dirWORD); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:666:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 666 | dirtab.insertd("block",dirBLOCK); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: piz80.cpp:1208:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1208 | if (beginhaakje=oparen(lp,'(')) olp=--lp; BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:667:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 667 | dirtab.insertd("dword",dirDWORD); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:668:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 668 | dirtab.insertd("d24",dirD24); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:669:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 669 | dirtab.insertd("org",dirORG); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:670:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 670 | dirtab.insertd("map",dirMAP); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:671:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 671 | dirtab.insertd("align",dirALIGN); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:672:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 672 | dirtab.insertd("module",dirMODULE); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:673:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 673 | dirtab.insertd("z80",dirZ80); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:674:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 674 | dirtab.insertd("arm",dirARM); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:675:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 675 | dirtab.insertd("thumb",dirTHUMB); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:676:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 676 | dirtab.insertd("size",dirSIZE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:677:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 677 | dirtab.insertd("textarea",dirTEXTAREA); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: direct.cpp:678:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 678 | dirtab.insertd("phase",dirTEXTAREA); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:679:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 679 | dirtab.insertd("msx",dirZ80); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:680:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 680 | dirtab.insertd("else",dirELSE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:1228:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1228 | if (beginhaakje=oparen(lp,'(')) olp=--lp; BUILDSTDERR: | ~~~~~~~~~~~^~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:681:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 681 | dirtab.insertd("export",dirEXPORT); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:682:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 682 | dirtab.insertd("end",dirEND); BUILDSTDERR: | ^~~~~ BUILDSTDERR: direct.cpp:683:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 683 | dirtab.insertd("include",dirINCLUDE); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: direct.cpp:684:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 684 | dirtab.insertd("incbin",dirINCBIN); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:685:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 685 | dirtab.insertd("if",dirIF); BUILDSTDERR: | ^~~~ BUILDSTDERR: direct.cpp:686:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 686 | dirtab.insertd("output",dirOUTPUT); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:687:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 687 | dirtab.insertd("define",dirDEFINE); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:688:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 688 | dirtab.insertd("ifdef",dirIFDEF); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:689:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 689 | dirtab.insertd("ifndef",dirIFNDEF); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:690:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 690 | dirtab.insertd("macro",dirMACRO); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: direct.cpp:691:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 691 | dirtab.insertd("struct",dirSTRUCT); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:692:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 692 | dirtab.insertd("dc",dirDC); BUILDSTDERR: | ^~~~ BUILDSTDERR: direct.cpp:693:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 693 | dirtab.insertd("dz",dirDZ); BUILDSTDERR: | ^~~~ BUILDSTDERR: direct.cpp:694:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 694 | dirtab.insertd("db",dirBYTE); BUILDSTDERR: | ^~~~ BUILDSTDERR: direct.cpp:695:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 695 | dirtab.insertd("dw",dirWORD); BUILDSTDERR: | ^~~~ BUILDSTDERR: direct.cpp:696:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 696 | dirtab.insertd("ds",dirBLOCK); BUILDSTDERR: | ^~~~ BUILDSTDERR: direct.cpp:697:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 697 | dirtab.insertd("dd",dirDWORD); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:1277:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1277 | if (e[2]==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:698:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 698 | dirtab.insertd("dm",dirBYTE); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:1280:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1280 | if (e[2]==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp:1283:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1283 | if (e[2]==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:699:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 699 | dirtab.insertd("defb",dirBYTE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:700:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 700 | dirtab.insertd("defw",dirWORD); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:701:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 701 | dirtab.insertd("defs",dirBLOCK); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:702:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 702 | dirtab.insertd("defd",dirDWORD); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:703:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 703 | dirtab.insertd("defm",dirBYTE); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:704:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 704 | dirtab.insertd("endmod",dirENDMODULE); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: direct.cpp:705:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 705 | dirtab.insertd("endmodule",dirENDMODULE); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: direct.cpp:706:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 706 | dirtab.insertd("endmap",dirENDMAP); BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: piz80.cpp:1302:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1302 | if (e[2]==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:707:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 707 | dirtab.insertd("rept",dirREPT); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:708:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 708 | dirtab.insertd("fpos",dirFORG); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:710:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 710 | dirtab.insertd("endif",dirENDIF); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: piz80.cpp:1305:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1305 | if (e[2]==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: direct.cpp:711:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 711 | dirtab.insertd("endt",dirENDTEXTAREA); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:712:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 712 | dirtab.insertd("dephase",dirENDTEXTAREA); BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: direct.cpp:713:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 713 | dirtab.insertd("endm",dirENDM); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: direct.cpp:714:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 714 | dirtab.insertd("ends",dirENDS); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:1308:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1308 | if (e[2]==127) error("Offset out of range",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizLDD()': BUILDSTDERR: piz80.cpp:1370:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1370 | if (getz80reg(lp)==Z80_A) e[0]=reg-14; e[1]=reg-5; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:1370:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1370 | if (getz80reg(lp)==Z80_A) e[0]=reg-14; e[1]=reg-5; BUILDSTDERR: | ^ BUILDSTDERR: piz80.cpp: In function 'void pizLDI()': BUILDSTDERR: piz80.cpp:1473:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1473 | if (getz80reg(lp)==Z80_A) e[0]=reg-14; e[1]=reg-13; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:1473:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1473 | if (getz80reg(lp)==Z80_A) e[0]=reg-14; e[1]=reg-13; BUILDSTDERR: | ^ BUILDSTDERR: piz80.cpp: In function 'void pizOUT()': BUILDSTDERR: piz80.cpp:1630:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 1630 | if (!z80getbyte(lp)) e[0]=0xed; e[1]=0x71; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp:1630:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 1630 | if (!z80getbyte(lp)) e[0]=0xed; e[1]=0x71; break; BUILDSTDERR: | ^ BUILDSTDERR: piz80.cpp: In function 'void pizRES()': BUILDSTDERR: piz80.cpp:1720:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1720 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizRL()': BUILDSTDERR: piz80.cpp:1792:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1792 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizRLC()': BUILDSTDERR: piz80.cpp:1829:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1829 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizRR()': BUILDSTDERR: piz80.cpp:1880:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1880 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizRRC()': BUILDSTDERR: piz80.cpp:1917:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1917 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizRST()': BUILDSTDERR: piz80.cpp:1950:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1950 | default: error("Illegal operand",line); *lp=0; return; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSBC()': BUILDSTDERR: piz80.cpp:1961:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 1961 | if (!comma(lp)) { error("Comma expected",0); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSET()': BUILDSTDERR: piz80.cpp:2036:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2036 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSLA()': BUILDSTDERR: piz80.cpp:2076:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2076 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSLL()': BUILDSTDERR: piz80.cpp:2115:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2115 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSRA()': BUILDSTDERR: piz80.cpp:2154:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2154 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSRL()': BUILDSTDERR: piz80.cpp:2193:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2193 | default: error("Illegal operand",lp,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizSUB()': BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_B' not handled in switch [-Wswitch] BUILDSTDERR: 2210 | switch (getz80reg(lp)) { BUILDSTDERR: | ^ BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_C' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_D' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_E' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_H' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_L' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_A' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_I' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_R' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_F' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_IXH' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_IXL' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_IYH' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_IYL' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_AF' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_IX' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_IY' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp:2210:12: warning: enumeration value 'Z80_UNK' not handled in switch [-Wswitch] BUILDSTDERR: piz80.cpp: In function 'void InitpiZ80()': BUILDSTDERR: piz80.cpp:2297:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2297 | z80funtab.insert("adc",pizADC); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2298:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2298 | z80funtab.insert("add",pizADD); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2299:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2299 | z80funtab.insert("and",pizAND); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2300:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2300 | z80funtab.insert("bit",pizBIT); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2301:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2301 | z80funtab.insert("call",pizCALL); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2302:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2302 | z80funtab.insert("ccf",pizCCF); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2303:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2303 | z80funtab.insert("cp",pizCP); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2304:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2304 | z80funtab.insert("cpd",pizCPD); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2305:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2305 | z80funtab.insert("cpdr",pizCPDR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2306:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2306 | z80funtab.insert("cpi",pizCPI); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2307:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2307 | z80funtab.insert("cpir",pizCPIR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2308:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2308 | z80funtab.insert("cpl",pizCPL); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2309:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2309 | z80funtab.insert("daa",pizDAA); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2310:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2310 | z80funtab.insert("dec",pizDEC); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2311:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2311 | z80funtab.insert("di",pizDI); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2312:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2312 | z80funtab.insert("djnz",pizDJNZ); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2313:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2313 | z80funtab.insert("ei",pizEI); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2314:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2314 | z80funtab.insert("ex",pizEX); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2315:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2315 | z80funtab.insert("exx",pizEXX); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2316:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2316 | z80funtab.insert("halt",pizHALT); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2317:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2317 | z80funtab.insert("im",pizIM); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2318:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2318 | z80funtab.insert("in",pizIN); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2319:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2319 | z80funtab.insert("inc",pizINC); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2320:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2320 | z80funtab.insert("ind",pizIND); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2321:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2321 | z80funtab.insert("indr",pizINDR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2322:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2322 | z80funtab.insert("ini",pizINI); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2323:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2323 | z80funtab.insert("inir",pizINIR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2324:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2324 | z80funtab.insert("jp",pizJP); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2325:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2325 | z80funtab.insert("jr",pizJR); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2326:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2326 | z80funtab.insert("ld",pizLD); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2327:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2327 | z80funtab.insert("ldd",pizLDD); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2328:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2328 | z80funtab.insert("lddr",pizLDDR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2329:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2329 | z80funtab.insert("ldi",pizLDI); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2330:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2330 | z80funtab.insert("ldir",pizLDIR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2331:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2331 | z80funtab.insert("mulub",pizMULUB); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: piz80.cpp:2332:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2332 | z80funtab.insert("muluw",pizMULUW); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: piz80.cpp:2333:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2333 | z80funtab.insert("neg",pizNEG); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2334:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2334 | z80funtab.insert("nop",pizNOP); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2335:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2335 | z80funtab.insert("or",pizOR); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2336:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2336 | z80funtab.insert("otdr",pizOTDR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2337:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2337 | z80funtab.insert("otir",pizOTIR); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2338:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2338 | z80funtab.insert("out",pizOUT); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2339:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2339 | z80funtab.insert("outd",pizOUTD); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2340:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2340 | z80funtab.insert("outi",pizOUTI); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2341:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2341 | z80funtab.insert("pop",pizPOP); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2342:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2342 | z80funtab.insert("push",pizPUSH); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2343:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2343 | z80funtab.insert("res",pizRES); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2344:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2344 | z80funtab.insert("ret",pizRET); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2345:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2345 | z80funtab.insert("reti",pizRETI); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2346:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2346 | z80funtab.insert("retn",pizRETN); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2347:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2347 | z80funtab.insert("rl",pizRL); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2348:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2348 | z80funtab.insert("rla",pizRLA); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2349:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2349 | z80funtab.insert("rlc",pizRLC); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2350:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2350 | z80funtab.insert("rlca",pizRLCA); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2351:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2351 | z80funtab.insert("rld",pizRLD); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2352:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2352 | z80funtab.insert("rr",pizRR); BUILDSTDERR: | ^~~~ BUILDSTDERR: piz80.cpp:2353:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2353 | z80funtab.insert("rra",pizRRA); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2354:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2354 | z80funtab.insert("rrc",pizRRC); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2355:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2355 | z80funtab.insert("rrca",pizRRCA); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: piz80.cpp:2356:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2356 | z80funtab.insert("rrd",pizRRD); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2357:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2357 | z80funtab.insert("rst",pizRST); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2358:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2358 | z80funtab.insert("sbc",pizSBC); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2359:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2359 | z80funtab.insert("scf",pizSCF); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2360:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2360 | z80funtab.insert("set",pizSET); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2361:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2361 | z80funtab.insert("sla",pizSLA); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2362:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2362 | z80funtab.insert("sli",pizSLL); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2363:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2363 | z80funtab.insert("sll",pizSLL); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2364:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2364 | z80funtab.insert("sra",pizSRA); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2365:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2365 | z80funtab.insert("srl",pizSRL); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2366:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2366 | z80funtab.insert("sub",pizSUB); BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp:2367:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 2367 | z80funtab.insert("xor",pizXOR); BUILDSTDERR: | ^~~~~ BUILDSTDERR: reader.cpp: In function 'int needequ()': BUILDSTDERR: reader.cpp:66:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 66 | if (cmphstr(lp,"equ")) return 1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: reader.cpp: In function 'int needfield()': BUILDSTDERR: reader.cpp:76:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 76 | if (cmphstr(lp,"field")) return 1; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: reader.cpp: In function 'char* getparen(char*)': BUILDSTDERR: reader.cpp:109:13: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 109 | else if (*p==')') BUILDSTDERR: | ^ BUILDSTDERR: reader.cpp: In function 'int check8(long unsigned int)': BUILDSTDERR: reader.cpp:143:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 143 | if (val!=(val&255) && ~val>127) { error("Bytes lost",0); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int check8o(long int)': BUILDSTDERR: reader.cpp:148:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 148 | if (val<-128 || val>127) { error("Offset out of range",0); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int check16(long unsigned int)': BUILDSTDERR: reader.cpp:153:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 153 | if (val!=(val&65535) && ~val>32767) { error("Bytes lost",0); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int check24(long unsigned int)': BUILDSTDERR: reader.cpp:158:52: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 158 | if (val!=(val&16777215) && ~val>8388607) { error("Bytes lost",0); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int getConstant(char*&, long int&)': BUILDSTDERR: reader.cpp:212:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 212 | if ((v=getval(*p))>=16) { error("Digit not in base",op); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:213:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 213 | oval=val; val=val*16+v; ++p; if (oval>val) error("Overflow",0,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: reader.cpp:215:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 215 | if (p-p3<2) { error("Syntax error",op,CATCHALL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:220:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 220 | if ((v=getval(*p))>=2) { error("Digit not in base",op); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:221:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 221 | oval=val; val=val*2+v; ++p; if (oval>val) error("Overflow",0,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: reader.cpp:223:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 223 | if (p-p3<2) { error("Syntax error",op,CATCHALL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:230:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 230 | if ((v=getval(*p))>=16) { error("Digit not in base",op); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:231:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 231 | oval=val; val=val*16+v; ++p; if (oval>val) error("Overflow",0,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: reader.cpp:233:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 233 | if (p-p3<3) { error("Syntax error",op,CATCHALL); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:252:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 252 | if ((v=getval(*p))>=base) { error("Digit not in base",op); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:253:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 253 | oval=val; val+=v*pb; if (oval>val) error("Overflow",0,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int getCharConstChar(char*&, long int&)': BUILDSTDERR: reader.cpp:275:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 275 | default: --op; val='\\'; error("Unknown escape",op); return 1; BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int getCharConst(char*&, long int&)': BUILDSTDERR: reader.cpp:290:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 290 | if (t>4) error("Overflow",0,SUPPRES); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int getBytes(char*&, int*, int, int)': BUILDSTDERR: reader.cpp:301:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 301 | if (!*p) { error("Expression expected",0,SUPPRES); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:302:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 302 | if (t==128) { error("Too many arguments",p,SUPPRES); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:306:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 306 | if (!*p || *p=='"') { error("Syntax error",p,SUPPRES); e[t]=-1; return t; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:307:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 307 | if (t==128) { error("Too many arguments",p,SUPPRES); e[t]=-1; return t; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:313:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 313 | else { error("Syntax error",p,SUPPRES); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'char* getfilename(char*&)': BUILDSTDERR: reader.cpp:330:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 330 | if (*p=='"') ++p; else error("No closing '\"'",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:334:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 334 | if (*p=='>') ++p; else error("No closing '>'",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp:321:7: warning: unused variable 'o' [-Wunused-variable] BUILDSTDERR: 321 | int o=0; BUILDSTDERR: | ^ BUILDSTDERR: reader.cpp: In function 'int needcomma(char*&)': BUILDSTDERR: reader.cpp:379:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 379 | if (*p!=',') error("Comma expected",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'int needbparen(char*&)': BUILDSTDERR: reader.cpp:385:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 385 | if (*p!=']') error("']' expected",0); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: reader.cpp: In function 'structmembs GetStructMemberId(char*&)': BUILDSTDERR: reader.cpp:398:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 398 | case 'b'*2+'y': case 'B'*2+'Y': if (cmphstr(p,"byte")) return SMEMBBYTE; break; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: reader.cpp:399:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 399 | case 'w'*2+'o': case 'W'*2+'O': if (cmphstr(p,"word")) return SMEMBWORD; break; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: reader.cpp:400:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 400 | case 'b'*2+'l': case 'B'*2+'L': if (cmphstr(p,"block")) return SMEMBBLOCK; break; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: reader.cpp:401:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 401 | case 'd'*2+'b': case 'D'*2+'B': if (cmphstr(p,"db")) return SMEMBBYTE; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: reader.cpp:403:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 403 | if (cmphstr(p,"dw")) return SMEMBWORD; BUILDSTDERR: | ^~~~ BUILDSTDERR: reader.cpp:404:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 404 | if (cmphstr(p,"dword")) return SMEMBDWORD; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: reader.cpp:406:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 406 | case 'd'*2+'s': case 'D'*2+'S': if (cmphstr(p,"ds")) return SMEMBBLOCK; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: reader.cpp:407:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 407 | case 'd'*2+'d': case 'D'*2+'D': if (cmphstr(p,"dd")) return SMEMBDWORD; break; BUILDSTDERR: | ^~~~ BUILDSTDERR: reader.cpp:408:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 408 | case 'a'*2+'l': case 'A'*2+'L': if (cmphstr(p,"align")) return SMEMBALIGN; break; BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: reader.cpp:410:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 410 | if (cmphstr(p,"defs")) return SMEMBBLOCK; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: reader.cpp:411:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 411 | if (cmphstr(p,"defb")) return SMEMBBYTE; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: reader.cpp:412:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 412 | if (cmphstr(p,"defw")) return SMEMBWORD; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: reader.cpp:413:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 413 | if (cmphstr(p,"defd")) return SMEMBDWORD; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: reader.cpp:416:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 416 | if (cmphstr(p,"d24")) return SMEMBD24; BUILDSTDERR: | ^~~~~ BUILDSTDERR: piz80.cpp: In function 'void pizLDD()': BUILDSTDERR: piz80.cpp:1386:41: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1386 | e[0]=e[4]=reg; e[1]=0x36; e[2]=b; e[3]=z80getbyte(lp); e[5]=0x2b; break; BUILDSTDERR: | ~~~~^~ BUILDSTDERR: sjasm.cpp: In function 'void InitPass(int)': BUILDSTDERR: sjasm.cpp:76:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 76 | modlabp=0; vorlabp="_"; macrolabp=0; listmacro=0; BUILDSTDERR: | ^~~ BUILDSTDERR: sjasm.cpp: In function 'void getOptions(char**&, int&)': BUILDSTDERR: sjasm.cpp:99:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 99 | case 'i': dirlstp=new stringlst(p,dirlstp); p=""; break; BUILDSTDERR: | ^~ BUILDSTDERR: piz80.cpp: In function 'void pizLDI()': BUILDSTDERR: piz80.cpp:1489:30: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 1489 | e[0]=e[3]=reg; e[2]=b; e[1]=0x70+reg2; e[4]=0x23; break; BUILDSTDERR: | ~~~~^~ BUILDSTDERR: sjio.cpp: In function 'void WriteDest()': BUILDSTDERR: sjio.cpp:64:38: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'long int' [-Wsign-compare] BUILDSTDERR: 64 | if(fwrite(destbuf,1,desttel,output)"); strcat(pp,line); fputs(pline,listfp); BUILDSTDERR: | ^~ BUILDSTDERR: sjio.cpp:216:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 216 | if (listmacro) strcat(pp,">"); strcat(pp,line); fputs(pline,listfp); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sjio.cpp: In function 'void EmitBytes(int*)': BUILDSTDERR: sjio.cpp:236:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 236 | if (*bytes==-1) { error("Illegal instruction",line,CATCHALL); *lp=0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'void BinIncFile(char*, int, int)': BUILDSTDERR: sjio.cpp:291:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 291 | if (res==-1) error("Read error",fname,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:292:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 292 | if (res!=offset) error("Offset beyond filelength",fname,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:297:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 297 | if (res==-1) error("Read error",fname,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:298:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 298 | if (res!=len) error("Unexpected end of file",fname,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:307:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 307 | if (res==-1) error("Read error",fname,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'void OpenFile(char*)': BUILDSTDERR: sjio.cpp:324:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 324 | if (++include>20) error("Over 20 files nested",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:332:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 332 | if (strlen(line)==LINEMAX-1) error("Line too long",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'void CloseDest()': BUILDSTDERR: sjio.cpp:354:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 354 | if (destlen>size) error("File exceeds 'size'",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'void SeekDest(long int, int)': BUILDSTDERR: sjio.cpp:370:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 370 | if(fseek(output,offset,method)) error("File seek error (FORG)",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'void OpenDest(int)': BUILDSTDERR: sjio.cpp:396:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 396 | if(fseek(output,0,mode==OUTPUT_REWIND ? SEEK_SET : SEEK_END)) error("File seek error (OUTPUT)",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'Ending ReadFile()': BUILDSTDERR: sjio.cpp:428:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 428 | if (!fgets(p=line,LINEMAX,input)) error("Unexpected end of file",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:430:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 430 | if (strlen(line)==LINEMAX-1) error("Line too long",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:434:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 434 | if (cmphstr(p,"endif")) { return ENDIF; } BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sjio.cpp:435:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 435 | if (cmphstr(p,"else")) { ListFile(); return ELSE; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sjio.cpp:436:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 436 | if (cmphstr(p,"endt")) { return ENDTEXTAREA; } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sjio.cpp:437:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 437 | if (cmphstr(p,"dephase")) { return ENDTEXTAREA; } BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: sjio.cpp:420:14: warning: variable 'ol' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 420 | stringlst *ol; BUILDSTDERR: | ^~ BUILDSTDERR: sjio.cpp: In function 'Ending SkipFile()': BUILDSTDERR: sjio.cpp:452:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 452 | if (!fgets(p=line,LINEMAX,input)) error("Unexpected end of file",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:454:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 454 | if (strlen(line)==LINEMAX-1) error("Line too long",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:458:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 458 | if (cmphstr(p,"if")) { ++iflevel; } BUILDSTDERR: | ^~~~ BUILDSTDERR: sjio.cpp:459:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 459 | if (cmphstr(p,"ifexist")) { ++iflevel; } BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: sjio.cpp:460:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 460 | if (cmphstr(p,"ifnexist")) { ++iflevel; } BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: sjio.cpp:461:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 461 | if (cmphstr(p,"ifdef")) { ++iflevel; } BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sjio.cpp:462:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 462 | if (cmphstr(p,"ifndef")) { ++iflevel; } BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: sjio.cpp:463:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 463 | if (cmphstr(p,"endif")) { if (iflevel) --iflevel; else return ENDIF; } BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: sjio.cpp:464:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 464 | if (cmphstr(p,"else")) { if (!iflevel) { ListFile(); return ELSE; } } BUILDSTDERR: | ^~~~~~ BUILDSTDERR: sjio.cpp:443:14: warning: variable 'ol' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 443 | stringlst *ol; BUILDSTDERR: | ^~ BUILDSTDERR: sjio.cpp: In function 'int ReadLine()': BUILDSTDERR: sjio.cpp:471:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 471 | if (!fgets(line,LINEMAX,input)) error("Unexpected end of file",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:473:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 473 | if (strlen(line)==LINEMAX-1) error("Line too long",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp: In function 'int ReadFileToStringLst(stringlst*&, char*)': BUILDSTDERR: sjio.cpp:482:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 482 | if (!fgets(p=line,LINEMAX,input)) error("Unexpected end of file",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sjio.cpp:484:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 484 | if (strlen(line)==LINEMAX-1) error("Line too long",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In function 'char* MaakLabNaam(char*)': BUILDSTDERR: tables.cpp:46:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 46 | if (!isalpha(*np) && *np!='_') { error("Invalid labelname",naam); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:49:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 49 | else { error("Invalid labelname",naam); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:52:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 52 | error("1Label too long",naam,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:59:11: warning: unused variable 'len1' [-Wunused-variable] BUILDSTDERR: 59 | int len1=strlen(lp); BUILDSTDERR: | ^~~~ BUILDSTDERR: tables.cpp:60:11: warning: unused variable 'len2' [-Wunused-variable] BUILDSTDERR: 60 | int len2=strlen(modlabp); BUILDSTDERR: | ^~~~ BUILDSTDERR: tables.cpp: In function 'int getLabelValue(char*&, long int&)': BUILDSTDERR: tables.cpp:88:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 88 | if (!isalpha(*p) && *p!='_') { error("Invalid labelname",temp); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:93:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 93 | if (strlen(temp)>LABMAX+len) { BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: tables.cpp:94:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 94 | error("2Label too long",temp+len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:120:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 120 | if (!isalpha(*p) && *p!='_') { error("Invalid labelname",temp); return 0; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:125:19: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare] BUILDSTDERR: 125 | if (strlen(temp)>LABMAX+len) { BUILDSTDERR: | ~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: tables.cpp:126:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 126 | error("3Label too long",temp+len); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:132:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 132 | if (pass==2) { error("Label not found",temp); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:75:48: warning: variable 'plen' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 75 | int g=0,l=0,len,olabelnotfound=labelnotfound,plen; BUILDSTDERR: | ^~~~ BUILDSTDERR: tables.cpp: In function 'int getLocaleLabelValue(char*&, long int&)': BUILDSTDERR: tables.cpp:157:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 157 | if (pass==2) { error("Label not found",naam,SUPPRES); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:156:6: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: 156 | if (nval==(aint)-1) BUILDSTDERR: | ^ BUILDSTDERR: tables.cpp: In member function 'int labtabcls::insert(char*, long int)': BUILDSTDERR: tables.cpp:172:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 172 | if (nextlocation>=LABTABSIZE*2/3) error("Label table full",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:175:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 175 | while(htr=hashtable[tr]) { BUILDSTDERR: | ~~~^~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'int labtabcls::zoek(char*, long int&)': BUILDSTDERR: tables.cpp:189:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 189 | while(htr=hashtable[tr]) { BUILDSTDERR: | ~~~^~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'int labtabcls::hash(char*)': BUILDSTDERR: tables.cpp:206:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 206 | if (g=h & 0xf0000000) { h^=g>>24; h^=g; } BUILDSTDERR: | ~^~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'int funtabcls::insert(char*, void (*)())': BUILDSTDERR: tables.cpp:248:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 248 | while(htr=hashtable[tr]) { BUILDSTDERR: | ~~~^~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:257:33: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 257 | strcpy(p=temp,nname); while(*p=(char)toupper(*p)) ++p; BUILDSTDERR: | ~~^~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:261:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 261 | while(htr=hashtable[tr]) { BUILDSTDERR: | ~~~^~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'int funtabcls::zoek(char*)': BUILDSTDERR: tables.cpp:282:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 282 | while(htr=hashtable[tr]) { BUILDSTDERR: | ~~~^~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'void definetabcls::add(char*, char*)': BUILDSTDERR: tables.cpp:343:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 343 | if (bestaat(naam)) error("Duplicate define",naam); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:344:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 344 | defs[*naam]=new definetabentrycls(naam,vervanger,defs[*naam]); BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp:344:57: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 344 | defs[*naam]=new definetabentrycls(naam,vervanger,defs[*naam]); BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'char* definetabcls::getverv(char*)': BUILDSTDERR: tables.cpp:348:29: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 348 | definetabentrycls *p=defs[*naam]; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'int definetabcls::bestaat(char*)': BUILDSTDERR: tables.cpp:357:29: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 357 | definetabentrycls *p=defs[*naam]; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'void macdefinetabcls::macroadd(char*, char*)': BUILDSTDERR: tables.cpp:372:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 372 | used[*naam]=1; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'char* macdefinetabcls::getverv(char*)': BUILDSTDERR: tables.cpp:385:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 385 | if (!used[*naam]) return NULL; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'int macdefinetabcls::bestaat(char*)': BUILDSTDERR: tables.cpp:395:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 395 | if (!used[*naam]) return 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'int macrotabcls::bestaat(char*)': BUILDSTDERR: tables.cpp:419:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 419 | if (!used[*naam]) return 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp: In member function 'void macrotabcls::add(char*, char*&)': BUILDSTDERR: tables.cpp:430:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 430 | if (bestaat(nnaam)) error("Duplicate macroname",0,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:432:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 432 | used[*nnaam]=1; BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tables.cpp:435:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 435 | if (!(n=getid(p))) { error("Illegal macro argument",p,PASS1); break; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:440:17: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 440 | if (*p) error("Unexpected",p,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: tables.cpp:442:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 442 | if (!ReadFileToStringLst(macs->body,"endm")) error("Unexpected end of macro",0,PASS1); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: tables.cpp:442:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 442 | if (!ReadFileToStringLst(macs->body,"endm")) error("Unexpected end of macro",0,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'int macrotabcls::emit(char*, char*&)': BUILDSTDERR: tables.cpp:451:13: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 451 | if (!used[*naam]) return 0; BUILDSTDERR: | ^~~~~ BUILDSTDERR: tables.cpp:466:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 466 | if (!*p) { error("Not enough arguments",0); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:470:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 470 | if (!*p) { error("Not enough arguments",0); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:472:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 472 | ++p; if (!*p) { error("Not enough arguments",0); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:479:57: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 479 | skipblanks(p); a=a->next; if (a && *p!=',') { error("Not enough arguments",0); return 1; } BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:482:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 482 | skipblanks(p); if (*p) error("Too many arguments",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'void structcls::addlabel(char*)': BUILDSTDERR: tables.cpp:512:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 512 | if (!mnf) mnf=n; if (mnl) mnl->next=n; mnl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp:512:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 512 | if (!mnf) mnf=n; if (mnl) mnl->next=n; mnl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp: In member function 'void structcls::addmemb(structmembicls*)': BUILDSTDERR: tables.cpp:516:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 516 | if (!mbf) mbf=n; if (mbl) mbl->next=n; mbl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp:516:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 516 | if (!mbf) mbf=n; if (mbl) mbl->next=n; mbl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp: In member function 'void structcls::copylabel(char*, long int)': BUILDSTDERR: tables.cpp:522:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 522 | if (!mnf) mnf=n; if (mnl) mnl->next=n; mnl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp:522:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 522 | if (!mnf) mnf=n; if (mnl) mnl->next=n; mnl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp: In member function 'void structcls::copymemb(structmembicls*, long int)': BUILDSTDERR: tables.cpp:535:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 535 | if (!mbf) mbf=n; if (mbl) mbl->next=n; mbl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp:535:20: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: 535 | if (!mbf) mbf=n; if (mbl) mbl->next=n; mbl=n; BUILDSTDERR: | ^~ BUILDSTDERR: tables.cpp: In member function 'void structcls::cpymembs(structcls*, char*&)': BUILDSTDERR: tables.cpp:556:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 556 | default: error("internalerror structcls::cpymembs",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:560:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 560 | while (haakjes--) if (!need(lp,'}')) error("closing } missing",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'void structcls::deflab()': BUILDSTDERR: tables.cpp:572:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 572 | if (!getLabelValue(op,oval)) error("Internal error. ParseLabel()",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:573:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 573 | if (noffset!=oval) error("Label has different value in pass 2",temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:575:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 575 | if (!labtab.insert(p,noffset)) error("Duplicate label",tp,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:581:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 581 | if (!(p=MaakLabNaam(ln))) error("Illegal labelname",ln,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:583:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 583 | if (!getLabelValue(op,oval)) error("Internal error. ParseLabel()",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:584:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 584 | if (np->offset!=oval) error("Label has different value in pass 2",temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:586:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 586 | if (!labtab.insert(p,np->offset)) error("Duplicate label",tp,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'void structcls::emitlab(char*)': BUILDSTDERR: tables.cpp:600:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 600 | if (!getLabelValue(op,oval)) error("Internal error. ParseLabel()",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:601:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 601 | if (adres!=oval) error("Label has different value in pass 2",temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:603:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 603 | if (!labtab.insert(p,adres)) error("Duplicate label",tp,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:609:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 609 | if (!(p=MaakLabNaam(ln))) error("Illegal labelname",ln,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:611:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 611 | if (!getLabelValue(op,oval)) error("Internal error. ParseLabel()",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:612:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 612 | if (np->offset+adres!=oval) error("Label has different value in pass 2",temp); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:614:53: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 614 | if (!labtab.insert(p,np->offset+adres)) error("Duplicate label",tp,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'void structcls::emitmembs(char*&)': BUILDSTDERR: tables.cpp:652:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 652 | default: error("internalerror structcls::emitmembs",0,FATAL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:656:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 656 | while (haakjes--) if (!need(p,'}')) error("closing } missing",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:657:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 657 | skipblanks(p); if (*p) error("Syntax error - too many arguments?",0); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp: In member function 'structcls* structtabcls::add(char*, int, int, int)': BUILDSTDERR: tables.cpp:669:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 669 | if (bestaat(sp)) error("Duplicate structurename",naam,PASS1); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: tables.cpp:670:8: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 670 | strs[*sp]=new structcls(naam,sp,idx,0,gl,strs[*sp]); BUILDSTDERR: | ^~~ BUILDSTDERR: tables.cpp:670:49: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 670 | strs[*sp]=new structcls(naam,sp,idx,0,gl,strs[*sp]); BUILDSTDERR: | ^~~ BUILDSTDERR: tables.cpp:671:16: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 671 | if (no) strs[*sp]->addmemb(new structmembicls(0,no,0,SMEMBBLOCK)); BUILDSTDERR: | ^~~ BUILDSTDERR: tables.cpp:672:15: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 672 | return strs[*sp]; BUILDSTDERR: | ^~~ BUILDSTDERR: tables.cpp: In member function 'structcls* structtabcls::zoek(char*, int)': BUILDSTDERR: tables.cpp:679:21: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 679 | structcls *p=strs[*sp]; BUILDSTDERR: | ^~~ BUILDSTDERR: tables.cpp:682:35: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 682 | sp+=1+strlen(modlabp); p=strs[*sp]; BUILDSTDERR: | ^~~ BUILDSTDERR: tables.cpp: In member function 'int structtabcls::bestaat(char*)': BUILDSTDERR: tables.cpp:689:21: warning: array subscript has type 'char' [-Wchar-subscripts] BUILDSTDERR: 689 | structcls *p=strs[*naam]; BUILDSTDERR: | ^~~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 make: Entering directory '/builddir/build/BUILD/sjasm-0.39/sjasmsrc039g1' g++ -Wp,-MD,.deps/direct.d -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 -DMAX_PATH=MAXPATHLEN -c -o direct.o direct.cpp g++ -Wp,-MD,.deps/loose.d -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 -DMAX_PATH=MAXPATHLEN -c -o loose.o loose.cpp g++ -Wp,-MD,.deps/parser.d -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 -DMAX_PATH=MAXPATHLEN -c -o parser.o parser.cpp g++ -Wp,-MD,.deps/piz80.d -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 -DMAX_PATH=MAXPATHLEN -c -o piz80.o piz80.cpp g++ -Wp,-MD,.deps/reader.d -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 -DMAX_PATH=MAXPATHLEN -c -o reader.o reader.cpp g++ -Wp,-MD,.deps/sjasm.d -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 -DMAX_PATH=MAXPATHLEN -c -o sjasm.o sjasm.cpp g++ -Wp,-MD,.deps/sjio.d -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 -DMAX_PATH=MAXPATHLEN -c -o sjio.o sjio.cpp g++ -Wp,-MD,.deps/tables.d -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 -DMAX_PATH=MAXPATHLEN -c -o tables.o tables.cpp g++ -o sjasm direct.o loose.o parser.o piz80.o reader.o sjasm.o sjio.o tables.o make: Leaving directory '/builddir/build/BUILD/sjasm-0.39/sjasmsrc039g1' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ctUFQ0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 + cd sjasm-0.39 + rm -rf /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 + make -C sjasmsrc039g1 install DESTDIR=/builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.39-0.25.g1.fc31 --unique-debug-suffix -0.39-0.25.g1.fc31.riscv64 --unique-debug-src-base sjasm-0.39-0.25.g1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/sjasm-0.39 BUILDSTDERR: 341 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 make: Entering directory '/builddir/build/BUILD/sjasm-0.39/sjasmsrc039g1' mkdir -p /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/bin cp -f sjasm /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/bin make: Leaving directory '/builddir/build/BUILD/sjasm-0.39/sjasmsrc039g1' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/bin/sjasm extracting debug info from /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/bin/sjasm original debug info size: 560kB, size after compression: 436kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: sjasm-0.39-0.25.g1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9JoYF0 + umask 022 + cd /builddir/build/BUILD + cd sjasm-0.39 + DOCDIR=/builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/share/doc/sjasm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/share/doc/sjasm + cp -pr sjasm.txt /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64/usr/share/doc/sjasm + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: sjasm = 0.39-0.25.g1.fc31 sjasm(riscv-64) = 0.39-0.25.g1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Processing files: sjasm-debugsource-0.39-0.25.g1.fc31.riscv64 Provides: sjasm-debugsource = 0.39-0.25.g1.fc31 sjasm-debugsource(riscv-64) = 0.39-0.25.g1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: sjasm-debuginfo-0.39-0.25.g1.fc31.riscv64 Provides: debuginfo(build-id) = 6829b4bce82990562ce596a692415cd9735ac2e1 sjasm-debuginfo = 0.39-0.25.g1.fc31 sjasm-debuginfo(riscv-64) = 0.39-0.25.g1.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: sjasm-debugsource(riscv-64) = 0.39-0.25.g1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 Wrote: /builddir/build/RPMS/sjasm-0.39-0.25.g1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sjasm-debugsource-0.39-0.25.g1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/sjasm-debuginfo-0.39-0.25.g1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.49LNCZ + umask 022 + cd /builddir/build/BUILD + cd sjasm-0.39 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sjasm-0.39-0.25.g1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0