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